Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved ArtifactSyncWorker to vospace pkg #562

Merged
merged 2 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
************************************************************************
*/

package org.opencadc;
package org.opencadc.vospace.db;

import ca.nrc.cadc.db.ConnectionConfig;
import ca.nrc.cadc.db.DBConfig;
Expand All @@ -84,7 +84,7 @@
import org.junit.Before;
import org.junit.Test;
import org.opencadc.inventory.Artifact;
import org.opencadc.inventory.ArtifactSyncWorker;
import org.opencadc.vospace.db.ArtifactSyncWorker;
import org.opencadc.inventory.Namespace;
import org.opencadc.inventory.db.ArtifactDAO;
import org.opencadc.inventory.db.HarvestState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,14 @@
************************************************************************
*/

package org.opencadc.inventory;
package org.opencadc.vospace.db;

import ca.nrc.cadc.db.TransactionManager;
import ca.nrc.cadc.io.ResourceIterator;
import java.io.IOException;
import org.apache.log4j.Logger;
import org.opencadc.inventory.Artifact;
import org.opencadc.inventory.Namespace;
import org.opencadc.inventory.db.ArtifactDAO;
import org.opencadc.inventory.db.HarvestState;
import org.opencadc.inventory.db.HarvestStateDAO;
Expand Down
6 changes: 3 additions & 3 deletions cadc-inventory-db/src/main/resources/vospace.Node.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ create table <schema>.Node (
ownerID varchar(256) not null,
isPublic boolean,
isLocked boolean,
readOnlyGroups text,
readWriteGroups text,
readOnlyGroups text[],
readWriteGroups text[],

-- store all props in a 2D array
-- store misc props in a 2D array
properties text[][],

-- ContainerNode
Expand Down
Loading