+
+
+Provide-Capability: cms.datamodel;name=slc;cnd=/org/argeo/slc/slc.cnd
--- /dev/null
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.argeo.slc;
+
+/** JCR names used by SLC */
+public interface SlcNames {
+ public final static String SLC_ = "slc:";
+
+ /*
+ * GENERAL
+ */
+ public final static String SLC_UUID = "slc:uuid";
+ public final static String SLC_STATUS = "slc:status";
+ // generic name for result parts of a given test result (slc:testResult)
+ // note that corresponding nodes can be retrieved using
+ // myTestResultNode.getNodes(SLC_RESULT_PART+"*") method
+ public final static String SLC_RESULT_PART = "slc:resultPart";
+ // Fixed name of the child node of a slc:testResult of type
+ // slc:check that aggregate status of all result parts of a given test
+ // result
+ public final static String SLC_AGGREGATED_STATUS = "slc:aggregatedStatus";
+
+ public final static String SLC_TYPE = "slc:type";
+ public final static String SLC_NAME = "slc:name";
+ public final static String SLC_VERSION = "slc:version";
+ public final static String SLC_CATEGORY = "slc:category";
+ public final static String SLC_VALUE = "slc:value";
+ public final static String SLC_ADDRESS = "slc:address";
+ public final static String SLC_METADATA = "slc:metadata";
+
+ public final static String SLC_TIMESTAMP = "slc:timestamp";
+ public final static String SLC_STARTED = "slc:started";
+ public final static String SLC_COMPLETED = "slc:completed";
+
+ public final static String SLC_VM = "slc:vm";
+ /*
+ * SLC RUNTIME
+ */
+ // execution
+ public final static String SLC_SPEC = "slc:spec";
+ public final static String SLC_EXECUTION_SPECS = "slc:executionSpecs";
+ public final static String SLC_FLOW = "slc:flow";
+ public final static String SLC_LOG = "slc:log";
+ public final static String SLC_AGENTS = "slc:agents";
+
+ // spec attribute
+ public final static String SLC_IS_IMMUTABLE = "slc:isImmutable";
+ public final static String SLC_IS_CONSTANT = "slc:isConstant";
+ public final static String SLC_IS_HIDDEN = "slc:isHidden";
+
+ // base directories
+ public final static String SLC_SYSTEM = "slc:system";
+ public final static String SLC_RESULTS = "slc:results";
+ public final static String SLC_MY_RESULTS = "slc:myResults";
+ public final static String SLC_PROCESSES = "slc:processes";
+
+ // result
+ public final static String SLC_SUCCESS = "slc:success";
+ public final static String SLC_MESSAGE = "slc:message";
+ public final static String SLC_TAG = "slc:tag";
+ public final static String SLC_ERROR_MESSAGE = "slc:errorMessage";
+ public final static String SLC_TEST_CASE = "slc:testCase";
+ public final static String SLC_TEST_CASE_TYPE = "slc:testCaseType";
+
+ // diff result
+ public final static String SLC_SUMMARY = "slc:summary";
+ public final static String SLC_ISSUES = "slc:issues";
+
+ /*
+ * SLC REPO
+ */
+ // shared
+ public final static String SLC_URL = "slc:url";
+ public final static String SLC_OPTIONAL = "slc:optional";
+ public final static String SLC_AS_STRING = "slc:asString";
+
+ // origin
+ public final static String SLC_ORIGIN = "slc:origin";
+ public final static String SLC_PROXY = "slc:proxy";
+
+ // slc:artifact
+ public final static String SLC_ARTIFACT_ID = "slc:artifactId";
+ public final static String SLC_GROUP_ID = "slc:groupId";
+ public final static String SLC_GROUP_BASE_ID = "slc:groupBaseId";
+ public final static String SLC_ARTIFACT_VERSION = "slc:artifactVersion";
+ public final static String SLC_ARTIFACT_EXTENSION = "slc:artifactExtension";
+ public final static String SLC_ARTIFACT_CLASSIFIER = "slc:artifactClassifier";
+
+ // slc:jarArtifact
+ public final static String SLC_MANIFEST = "slc:manifest";
+
+ // shared OSGi
+ public final static String SLC_SYMBOLIC_NAME = "slc:symbolic-name";
+ public final static String SLC_BUNDLE_VERSION = "slc:bundle-version";
+
+ // slc:osgiBaseVersion
+ public final static String SLC_MAJOR = "slc:major";
+ public final static String SLC_MINOR = "slc:minor";
+ public final static String SLC_MICRO = "slc:micro";
+ // slc:osgiVersion
+ public final static String SLC_QUALIFIER = "slc:qualifier";
+
+ // slc:exportedPackage
+ public final static String SLC_USES = "slc:uses";
+
+ // slc:modularDistribution
+ public final static String SLC_MODULES = "slc:modules";
+
+ // RPM
+ // slc:rpm
+ public final static String SLC_RPM_VERSION = "slc:rpmVersion";
+ public final static String SLC_RPM_RELEASE = "slc:rpmRelease";
+ public final static String SLC_RPM_ARCH = "slc:rpmArch";
+ public final static String SLC_RPM_ARCHIVE_SIZE = "slc:rpmArchiveSize";
+}
--- /dev/null
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.argeo.slc;
+
+/** JCR node types used by SLC */
+public interface SlcTypes {
+
+ public final static String SLC_NAME_VERSION = "slc:nameVersion";
+ public final static String SLC_CATEGORIZED_NAME_VERSION = "slc:categorizedNameVersion";
+
+ public final static String SLC_AGENT_FACTORY = "slc:agentFactory";
+ public final static String SLC_AGENT = "slc:agent";
+ public final static String SLC_MODULE = "slc:module";
+ public final static String SLC_EXECUTION_MODULE = "slc:executionModule";
+ public final static String SLC_EXECUTION_SPEC = "slc:executionSpec";
+ public final static String SLC_EXECUTION_FLOW = "slc:executionFlow";
+ public final static String SLC_PROCESS = "slc:process";
+ public final static String SLC_REALIZED_FLOW = "slc:realizedFlow";
+
+ public final static String SLC_EXECUTION_SPEC_ATTRIBUTE = "slc:executionSpecAttribute";
+ public final static String SLC_PRIMITIVE_SPEC_ATTRIBUTE = "slc:primitiveSpecAttribute";
+ public final static String SLC_REF_SPEC_ATTRIBUTE = "slc:refSpecAttribute";
+
+ public final static String SLC_TEST_RESULT = "slc:testResult";
+ public final static String SLC_CHECK = "slc:check";
+ public final static String SLC_PROPERTY = "slc:property";
+ public final static String SLC_DIFF_RESULT = "slc:diffResult";
+
+ // Node types used for user defined and managed result UI tree
+ public final static String SLC_MY_RESULT_ROOT_FOLDER = "slc:myResultRootFolder";
+ public final static String SLC_RESULT_FOLDER = "slc:resultFolder";
+
+ // Log levels
+ public final static String SLC_LOG_ENTRY = "slc:logEntry";
+ public final static String SLC_LOG_TRACE = "slc:logTrace";
+ public final static String SLC_LOG_DEBUG = "slc:logDebug";
+ public final static String SLC_LOG_INFO = "slc:logInfo";
+ public final static String SLC_LOG_WARNING = "slc:logWarning";
+ public final static String SLC_LOG_ERROR = "slc:logError";
+
+ /*
+ * REPO
+ */
+ public final static String SLC_ARTIFACT = "slc:artifact";
+ public final static String SLC_ARTIFACT_VERSION_BASE = "slc:artifactVersion";
+ public final static String SLC_ARTIFACT_BASE = "slc:artifactBase";
+ public final static String SLC_GROUP_BASE = "slc:groupBase";
+ public final static String SLC_JAR_FILE = "slc:jarFile";
+ public final static String SLC_BUNDLE_ARTIFACT = "slc:bundleArtifact";
+ public final static String SLC_OSGI_VERSION = "slc:osgiVersion";
+ public final static String SLC_JAVA_PACKAGE = "slc:javaPackage";
+ public final static String SLC_EXPORTED_PACKAGE = "slc:exportedPackage";
+ public final static String SLC_IMPORTED_PACKAGE = "slc:importedPackage";
+ public final static String SLC_DYNAMIC_IMPORTED_PACKAGE = "slc:dynamicImportedPackage";
+ public final static String SLC_REQUIRED_BUNDLE = "slc:requiredBundle";
+ public final static String SLC_FRAGMENT_HOST = "slc:fragmentHost";
+
+ // Distribution management
+ // public final static String SLC_CATEGORY = "slc:category";
+ public final static String SLC_MODULAR_DISTRIBUTION_BASE = "slc:modularDistributionBase";
+ public final static String SLC_MODULAR_DISTRIBUTION = "slc:modularDistribution";
+ public final static String SLC_MODULE_COORDINATES = "slc:moduleCoordinates";
+
+ // origin
+ public final static String SLC_KNOWN_ORIGIN = "slc:knownOrigin";
+ public final static String SLC_PROXIED = "slc:proxied";
+
+ // rpm
+ public final static String SLC_RPM = "slc:rpm";
+}
--- /dev/null
+<slc = 'http://www.argeo.org/ns/slc'>
+
+// COMMON
+[slc:nameVersion] > nt:base
+mixin
+- slc:name (STRING) m
+- slc:version (STRING) m
+
+[slc:categorizedNameVersion] > slc:nameVersion
+mixin
+// define as mandatory?
+- slc:category (STRING)
+
+// AGENT
+[slc:agentFactory] > nt:unstructured, mix:title
++ * (slc:agent)
+
+[slc:agent] > nt:unstructured, mix:title
++ * (slc:module)
+
+[slc:module] > slc:nameVersion, mix:title
+mixin
+
+[slc:activableModule] > slc:module
+mixin
+
+[slc:executionModule] > slc:activableModule
+mixin
+
+[slc:executionSpec] > nt:unstructured, mix:referenceable, mix:title
+- slc:name (STRING) m
++ * (slc:executionSpecAttribute) *
+
+[slc:executionSpecAttribute] > nt:base
+mixin abstract
+- slc:isImmutable (BOOLEAN)
+- slc:isConstant (BOOLEAN)
+- slc:isHidden (BOOLEAN)
+
+[slc:primitiveSpecAttribute] > slc:executionSpecAttribute
+mixin
+- slc:type (STRING)
+- slc:value (UNDEFINED)
+
+[slc:refSpecAttribute] > slc:executionSpecAttribute
+orderable
+mixin
+// typically a class name
+- slc:type (STRING)
+- slc:value (UNDEFINED)
++ * (mix:title)
+
+[slc:executionFlow] > nt:unstructured, mix:title
+- slc:name (STRING) ! m
+// if the execution spec is a referenceable node
+- slc:spec (REFERENCE)
+// if the execution spec is internal (without name)
++ * (slc:executionSpecAttribute) *
+
+// PROCESS
+[slc:process] > nt:unstructured, mix:created, mix:lastModified
+orderable
+- slc:uuid (STRING) ! m
+- slc:status (STRING) m
++ slc:flow (slc:realizedFlow)
++ slc:log
+
+// The first part of the relative path is the thread name, rest is location
+[slc:logEntry] > nt:unstructured
+abstract
+- slc:message (STRING) !
+- slc:timestamp (STRING)
+
+// Log levels are set via types.
+// Querying one level also queries the higher levels thanks to the inheritance
+// e.g. 'select * from [slc:logWarn]' also returns errors
+[slc:logTrace] > slc:logEntry
+
+[slc:logDebug] > slc:logTrace
+
+[slc:logInfo] > slc:logDebug
+
+[slc:logWarning] > slc:logInfo
+
+[slc:logError] > slc:logWarning
+
+[slc:realizedFlow] > nt:base
+orderable
+mixin
+// the name of the flow
+// - slc:flow (STRING)
+// the name of the execution spec
+// - slc:spec (STRING)
+- slc:started (DATE)
+- slc:completed (DATE)
+//- slc:status (STRING)
++ slc:address (nt:address)
++ slc:flow (slc:realizedFlow) *
+// the realized execution spec attributes
++ * (slc:executionSpecAttribute) *
+
+// RESULT
+[slc:testResult] > nt:unstructured, mix:created, mix:lastModified
+- slc:uuid (STRING) ! m
+- slc:testCase (STRING)
+- slc:completed (DATE)
+// Helper to keep a centralize place to have testResultStatus
+// when adding more than one result part to a given testResult
++ slc:aggregatedStatus (slc:check)
+// DEPRECATED - FOR COMPATIBILITY - DO NOT USE
++ slc:testStatus (slc:check)
+
+[slc:diffResult] > slc:testResult
++ slc:summary
++ slc:issues
+
+[slc:resultFolder] > nt:unstructured
++ slc:folderStatus (slc:check)
++ * (slc:resultFolder) *
++ * (slc:testResult) *
+
+// base node for user defined and managed result tree
+// simplify UI management
+[slc:myResultRootFolder] > nt:unstructured
++ * (slc:resultFolder) *
++ * (slc:testResult) *
+
+[slc:check] > nt:unstructured
+// true for PASSED, false for FAILED or ERROR
+- slc:success (BOOLEAN) ! m
+- slc:message (STRING)
+// ERROR if set, the check could not be performed because of an unexpected exception
+- slc:errorMessage (STRING)
+// to ease transition with legacy approach
++ * (slc:property) *
+
+[slc:property] > nt:unstructured
+- slc:name (STRING) ! m
+- slc:value (STRING) m
+
+//
+// DISTRIBUTION
+//
+
+// AETHER
+[slc:artifact] > mix:referenceable, mix:created, mix:lastModified
+mixin
+- slc:artifactId (STRING) m
+- slc:groupId (STRING) m
+- slc:artifactVersion (STRING) m
+- slc:artifactExtension (STRING) m
+- slc:artifactClassifier (STRING) ='' m a
+
+[slc:artifactVersion] > mix:referenceable, mix:created, mix:lastModified, mix:title
+mixin
+- slc:artifactId (STRING) m
+- slc:groupId (STRING) m
+- slc:artifactVersion (STRING) m
+
+[slc:artifactBase] > mix:referenceable, mix:created, mix:lastModified
+mixin
+- slc:artifactId (STRING) m
+- slc:groupId (STRING) m
+
+[slc:groupBase] > mix:referenceable, mix:created, mix:lastModified
+mixin
+// it is possible to have groupBase being artifact base (e.g. org.argeo.commons.basic)
+// so using groupId would conflict
+- slc:groupBaseId (STRING) m
+
+[slc:modularDistributionBase]
+mixin
+
+[slc:modularDistribution]
+mixin
++ slc:modules (nt:unstructured) m
+
+[slc:moduleCoordinates] > nt:unstructured
+- slc:category (STRING)
+- slc:name (STRING)
+- slc:version (STRING)
+
+// ORIGINS
+[slc:knownOrigin] > nt:base
+mixin
++ slc:origin (nt:address)
+
+[slc:proxied] > nt:address
+- slc:proxy (REFERENCE)
+
+// JAVA
+[slc:jarFile] > mix:referenceable
+mixin
+- 'slc:manifest' (BINARY) m
+- 'slc:Manifest-Version' (STRING)
+- 'slc:Signature-Version' (STRING)
+- 'slc:Class-Path' (STRING)
+- 'slc:Main-Class' (STRING)
+- 'slc:Extension-Name' (STRING)
+- 'slc:Implementation-Version' (STRING)
+- 'slc:Implementation-Vendor' (STRING)
+- 'slc:Implementation-Vendor-Id' (STRING)
+- 'slc:Implementation-URL' (STRING)
+- 'slc:Specification-Title' (STRING)
+- 'slc:Specification-Version' (STRING)
+- 'slc:Specification-Vendor' (STRING)
+- 'slc:Sealed' (STRING)
+
+// OSGi
+// see http://www.osgi.org/Specifications/Reference
+
+[slc:javaPackage] > mix:referenceable
+- slc:name (STRING) primary m
+
+[slc:osgiBaseVersion] > mix:referenceable
+- slc:asString (STRING) primary m
+- slc:major (LONG) m
+- slc:minor (LONG) m
+- slc:micro (LONG) m
+
+[slc:osgiVersion] > slc:osgiBaseVersion
+- slc:qualifier (STRING)
+
+[slc:exportedPackage] > slc:javaPackage
++ slc:uses (slc:javaPackage) multiple
++ slc:version (slc:osgiVersion)
+
+[slc:importedPackage] > slc:javaPackage
+- slc:version (STRING) ='0.0.0' m a
+- slc:optional (BOOLEAN) ='false' m a
+
+[slc:dynamicImportedPackage] > slc:javaPackage
+- slc:version (STRING) ='0.0.0' m a
+- slc:optional (BOOLEAN) ='false' m a
+
+[slc:requiredBundle] > mix:referenceable
+- 'slc:symbolic-name' (STRING) primary m
+- 'slc:bundle-version' (STRING) ='0.0.0' m a
+- slc:optional (BOOLEAN) ='false' m a
+
+[slc:fragmentHost] > mix:referenceable
+- 'slc:symbolic-name' (STRING) m
+- 'slc:bundle-version' (STRING) ='0.0.0' m a
+
+[slc:bundleNativeCode] > mix:referenceable
+- slc:path (STRING) primary m
+- slc:osname (STRING)
+- slc:processor (STRING)
+
+// see http://www.osgi.org/Specifications/ReferenceHeaders
+[slc:bundle] > mix:referenceable
+mixin
+- 'slc:symbolic-name' (STRING) primary m
+- 'slc:bundle-version' (STRING) m
+- 'slc:Bundle-SymbolicName' (STRING) m
+- 'slc:Bundle-Name' (STRING)
+- 'slc:Bundle-Description' (STRING)
+- 'slc:Bundle-ManifestVersion' (STRING)
+- 'slc:Bundle-Category' (STRING)
+- 'slc:Bundle-ActivationPolicy' (STRING)
+- 'slc:Bundle-Copyright' (STRING)
+- 'slc:Bundle-Vendor' (STRING)
+- 'slc:Bundle-License' (STRING)
+- 'slc:Bundle-DocURL' (STRING)
+- 'slc:Bundle-ContactAddress' (STRING)
+- 'slc:Bundle-Activator' (STRING)
+- 'slc:Bundle-UpdateLocation' (STRING)
+- 'slc:Bundle-Localization' (STRING)
+- 'slc:Bundle-ClassPath' (STRING) *
+// see http://wiki.eclipse.org/EE < 'OSGi/Minimum-1.0','OSGi/Minimum-1.1','CDC-1.0/Foundation-1.0','CDC-1.1/Foundation-1.1','JRE-1.1','J2SE-1.2','J2SE-1.3','J2SE-1.4','J2SE-1.5','JavaSE-1.6','JavaSE-1.7'
+- 'slc:Bundle-RequiredExecutionEnvironment' (STRING) *
++ 'slc:Bundle-Version' (slc:osgiVersion) m
++ 'slc:Fragment-Host' (slc:fragmentHost)
++ 'slc:Import-Package' (slc:importedPackage) multiple
++ 'slc:Export-Package' (slc:exportedPackage) multiple
++ 'slc:Require-Bundle' (slc:requiredBundle) multiple
++ 'slc:Bundle-NativeCode' (slc:bundleNativeCode) multiple
++ 'slc:DynamicImport-Package' (slc:dynamicImportedPackage) multiple
+
+[slc:bundleArtifact] > slc:artifact,slc:jarFile,slc:bundle
+mixin
+
+// RPM
+[slc:rpm] > mix:referenceable, mix:created, mix:lastModified, mix:title
+mixin
+- slc:name (STRING)
+- slc:version (STRING)
+- slc:rpmVersion (STRING)
+- slc:rpmRelease (STRING)
+- slc:rpmArch (STRING)
+- slc:rpmArchiveSize (STRING)
+// TYPO - TO BE REMOVED
+- slc:rpmArchivaeSize (STRING)
+
*/
package org.argeo.slc.client.ui.dist;
-import org.argeo.slc.jcr.SlcNames;
+import org.argeo.slc.SlcNames;
import org.osgi.framework.Constants;
/** Constants used across the application. */
import javax.jcr.RepositoryException;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.argeo.node.security.Keyring;
import org.argeo.slc.NameVersion;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.aether.AetherUtils;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.argeo.slc.repo.ArtifactIndexer;
import org.argeo.slc.repo.JarFileIndexer;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.jcr.JcrUtils;
import org.argeo.node.security.Keyring;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcNames;
import org.argeo.slc.repo.ArtifactIndexer;
import org.argeo.slc.repo.JarFileIndexer;
import org.argeo.slc.repo.ModularDistributionIndexer;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.editors.ArtifactVersionEditor;
import org.argeo.slc.client.ui.dist.editors.ModularDistVersionEditor;
import org.argeo.slc.client.ui.dist.editors.ModuleEditorInput;
-import org.argeo.slc.jcr.SlcTypes;
import org.argeo.slc.repo.RepoService;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.argeo.cms.ArgeoNames;
import org.argeo.node.security.Keyring;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.utils.CommandHelpers;
import org.argeo.slc.client.ui.dist.wizards.RegisterRepoWizard;
-import org.argeo.slc.jcr.SlcNames;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.argeo.eclipse.ui.dialogs.ErrorFeedback;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.core.execution.tasks.JvmProcess;
-import org.argeo.slc.jcr.SlcNames;
import org.argeo.slc.repo.RepoUtils;
import org.argeo.slc.repo.maven.MavenConventionsUtils;
import org.eclipse.aether.artifact.Artifact;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistImages;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.ViewerCell;
import org.eclipse.swt.graphics.Image;
import org.argeo.eclipse.ui.jcr.utils.JcrItemsComparator;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcTypes;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcNames;
import org.argeo.slc.repo.RepoService;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.ui.IEditorInput;
import org.argeo.eclipse.ui.dialogs.ErrorFeedback;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistImages;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.build.License;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.utils.HyperlinkAdapter;
-//import org.argeo.slc.client.ui.specific.OpenJcrFile;
-//import org.argeo.slc.client.ui.specific.OpenJcrFileCmdId;
-import org.argeo.slc.jcr.SlcNames;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.slc.repo.RepoUtils;
import org.eclipse.jface.dialogs.IMessageProvider;
import javax.jcr.nodetype.NodeType;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistImages;
import org.argeo.slc.client.ui.dist.utils.DistUiHelpers;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.TreeViewer;
import org.argeo.cms.ui.workbench.util.CommandUtils;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistImages;
import org.argeo.slc.client.ui.dist.commands.OpenModuleEditor;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.argeo.slc.repo.RepoConstants;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.DoubleClickEvent;
package org.argeo.slc.client.ui.dist.editors;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
+import org.argeo.slc.SlcNames;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;
import org.argeo.jcr.JcrMonitor;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.commands.DeleteArtifacts;
import org.argeo.slc.client.ui.dist.commands.OpenModuleEditor;
import org.argeo.slc.client.ui.dist.utils.DistNodeViewerComparator;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.argeo.jcr.JcrUtils;
import org.argeo.node.security.Keyring;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcNames;
import org.argeo.slc.repo.RepoUtils;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.ui.IEditorInput;
import javax.jcr.RepositoryException;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
+import org.argeo.slc.SlcNames;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.argeo.eclipse.ui.EclipseUiUtils;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistImages;
import org.argeo.slc.client.ui.dist.commands.OpenModuleEditor;
import org.argeo.slc.client.ui.dist.utils.DistNodeViewerComparator;
import org.argeo.slc.client.ui.dist.utils.HyperlinkAdapter;
-//import org.argeo.slc.client.ui.specific.OpenJcrFile;
-//import org.argeo.slc.client.ui.specific.OpenJcrFileCmdId;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.slc.repo.RepoUtils;
import org.argeo.slc.repo.maven.MavenConventionsUtils;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
+import org.argeo.slc.SlcNames;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;
import javax.jcr.Node;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
+import org.argeo.slc.SlcNames;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.argeo.eclipse.ui.jcr.AsyncUiEventListener;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistImages;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.commands.OpenGenerateBinariesWizard;
import org.argeo.slc.client.ui.dist.commands.OpenModuleEditor;
import org.argeo.slc.client.ui.dist.utils.DistNodeViewerComparator;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.argeo.slc.repo.RepoConstants;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import javax.jcr.query.qom.Selector;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
/**
* Abstract the base of a given modular distribution set i.e. the parent of all
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
/** Abstract a workspace that contains a software distribution */
public class WorkspaceElem extends DistParentElem {
import org.argeo.eclipse.ui.GenericTableComparator;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
public class DistUiHelpers implements DistConstants, SlcTypes, SlcNames {
private final static Log log = LogFactory.getLog(DistUiHelpers.class);
import org.apache.commons.logging.LogFactory;
import org.argeo.eclipse.ui.GenericTableComparator;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.utils.ArtifactsTableConfigurer;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.dialogs.ErrorDialog;
package org.argeo.slc.client.ui.dist.views;
import org.argeo.cms.ArgeoNames;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.controllers.DistTreeComparator;
import org.argeo.slc.client.ui.dist.controllers.DistTreeDoubleClickListener;
import org.argeo.slc.client.ui.dist.controllers.DistTreeLabelProvider;
-import org.argeo.slc.jcr.SlcNames;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.TreeViewerColumn;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistConstants;
import org.argeo.slc.client.ui.dist.DistImages;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.controllers.ArtifactsTreeContentProvider;
-import org.argeo.slc.jcr.SlcTypes;
import org.argeo.slc.repo.RepoConstants;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.ISelection;
import org.argeo.cms.ui.workbench.util.CommandUtils;
import org.argeo.eclipse.ui.TreeParent;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.commands.CopyLocalJavaWorkspace;
import org.argeo.slc.client.ui.dist.commands.CopyWorkspace;
import org.argeo.slc.client.ui.dist.model.RepoElem;
import org.argeo.slc.client.ui.dist.model.WkspGroupElem;
import org.argeo.slc.client.ui.dist.model.WorkspaceElem;
-import org.argeo.slc.jcr.SlcNames;
import org.eclipse.jface.action.IContributionItem;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
package org.argeo.slc.client.ui.dist.views;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcNames;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
*/
package org.argeo.slc.client.ui.dist.views;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcNames;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
package org.argeo.slc.client.ui.dist.views;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistPlugin;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.argeo.jcr.JcrMonitor;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.dist.DistPlugin;
import org.argeo.slc.client.ui.dist.utils.ViewerUtils;
-import org.argeo.slc.jcr.SlcTypes;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.slc.repo.RepoService;
import org.argeo.slc.repo.RepoUtils;
import org.argeo.slc.BasicNameVersion;
import org.argeo.slc.NameVersion;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.deploy.ModulesManager;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.argeo.slc.BasicNameVersion;\r
import org.argeo.slc.NameVersion;\r
import org.argeo.slc.SlcException;\r
+import org.argeo.slc.SlcNames;\r
+import org.argeo.slc.SlcTypes;\r
import org.argeo.slc.deploy.ModulesManager;\r
-import org.argeo.slc.jcr.SlcNames;\r
-import org.argeo.slc.jcr.SlcTypes;\r
import org.eclipse.core.commands.AbstractHandler;\r
import org.eclipse.core.commands.ExecutionEvent;\r
import org.eclipse.core.commands.ExecutionException;\r
import javax.jcr.RepositoryException;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.client.ui.ClientUiPlugin;
import org.argeo.slc.client.ui.SlcImages;
import org.argeo.slc.client.ui.SlcUiConstants;
import org.argeo.slc.client.ui.model.ResultFolder;
import org.argeo.slc.client.ui.model.ResultParent;
import org.argeo.slc.client.ui.model.SingleResultNode;
-import org.argeo.slc.jcr.SlcNames;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.DecorationOverlayIcon;
import org.eclipse.jface.viewers.IDecoration;
import org.argeo.eclipse.ui.jcr.AsyncUiEventListener;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.SlcImages;
import org.argeo.slc.core.execution.PrimitiveAccessor;
import org.argeo.slc.core.execution.PrimitiveUtils;
import org.argeo.slc.execution.ExecutionProcess;
import org.argeo.slc.jcr.SlcJcrUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.CellEditor;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.ColumnViewer;
import org.argeo.eclipse.ui.dialogs.ErrorFeedback;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.ClientUiPlugin;
import org.argeo.slc.client.ui.controllers.ProcessController;
import org.argeo.slc.execution.ExecutionModulesManager;
import org.argeo.slc.execution.ExecutionProcess;
import org.argeo.slc.jcr.SlcJcrUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorSite;
import org.argeo.eclipse.ui.jcr.AsyncUiEventListener;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.execution.ExecutionStep;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import javax.jcr.nodetype.NodeType;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
/**
* UI Tree component that wrap a node of type NT_UNSTRUCTURED or base node for
import javax.jcr.RepositoryException;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
+import org.argeo.slc.SlcNames;
/**
* UI Tree component that wrap a node of type ResultFolder. list either other
import org.argeo.eclipse.ui.TreeParent;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerComparator;
import javax.jcr.query.QueryResult;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.jcr.SlcJcrResultUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
public class ResultParentUtils {
// private final static Log log =
import org.argeo.eclipse.ui.TreeParent;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
+import org.argeo.slc.SlcNames;
/**
* UI Tree component. Wraps a result node of a JCR {@link Workspace}. It also
import javax.jcr.RepositoryException;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
/**
* UI Tree component. Virtual folder to list a list of results. Keeps a
import org.argeo.eclipse.ui.specific.EclipseUiSpecificUtils;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.ClientUiPlugin;
import org.argeo.slc.client.ui.SlcImages;
import org.argeo.slc.client.ui.editors.ProcessEditor;
import org.argeo.slc.client.ui.editors.ProcessEditorInput;
import org.argeo.slc.execution.ExecutionModulesManager;
import org.argeo.slc.jcr.SlcJcrConstants;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.IDoubleClickListener;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.argeo.eclipse.ui.jcr.AsyncUiEventListener;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.ClientUiPlugin;
import org.argeo.slc.client.ui.SlcImages;
import org.argeo.slc.client.ui.editors.ProcessEditor;
import org.argeo.slc.client.ui.editors.ProcessEditorInput;
import org.argeo.slc.execution.ExecutionProcess;
import org.argeo.slc.jcr.SlcJcrUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.IDoubleClickListener;
import org.argeo.eclipse.ui.jcr.NodeElementComparer;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.client.ui.ClientUiPlugin;
import org.argeo.slc.client.ui.editors.ProcessEditor;
import org.argeo.slc.client.ui.editors.ProcessEditorInput;
import org.argeo.slc.jcr.SlcJcrResultUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.IBaseLabelProvider;
import org.argeo.eclipse.ui.jcr.AsyncUiEventListener;\r
import org.argeo.jcr.JcrUtils;\r
import org.argeo.slc.SlcException;\r
+import org.argeo.slc.SlcNames;\r
+import org.argeo.slc.SlcTypes;\r
import org.argeo.slc.client.ui.ClientUiPlugin;\r
import org.argeo.slc.client.ui.SlcUiConstants;\r
import org.argeo.slc.client.ui.commands.AddResultFolder;\r
import org.argeo.slc.client.ui.providers.ResultTreeContentProvider;\r
import org.argeo.slc.client.ui.providers.ResultTreeLabelProvider;\r
import org.argeo.slc.jcr.SlcJcrResultUtils;\r
-import org.argeo.slc.jcr.SlcNames;\r
-import org.argeo.slc.jcr.SlcTypes;\r
import org.eclipse.jface.action.IMenuListener;\r
import org.eclipse.jface.action.IMenuManager;\r
import org.eclipse.jface.action.MenuManager;\r
org.apache.tools.ant.*;resolution:="optional",\
junit.framework;resolution:="optional",\
*
-
-Provide-Capability: cms.datamodel;name=slc;cnd=/org/argeo/slc/jcr/slc.cnd
import org.argeo.jcr.JcrUtils;
import org.argeo.node.NodeUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.execution.ExecutionProcess;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
import org.osgi.framework.BundleContext;
import org.osgi.framework.InvalidSyntaxException;
import org.osgi.framework.ServiceReference;
import org.apache.commons.logging.LogFactory;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
/**
* Writes arbitrary metadata into a child node of a given node (or the node
import org.apache.commons.logging.LogFactory;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.core.attachment.Attachment;
import org.argeo.slc.core.attachment.AttachmentsEnabled;
import org.argeo.slc.test.TestResult;
*/
package org.argeo.slc.jcr;
+import org.argeo.slc.SlcNames;
+
/** JCR related constants used across SLC */
public interface SlcJcrConstants {
public final static String PROPERTY_PATH = "argeo.slc.jcr.path";
import org.argeo.jcr.JcrUtils;
import org.argeo.node.NodeUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
/**
* Utilities around the SLC JCR Result model. Note that it relies on fixed base
import org.argeo.slc.DefaultNameVersion;
import org.argeo.slc.NameVersion;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.core.execution.PrimitiveAccessor;
import org.argeo.slc.core.execution.PrimitiveUtils;
import org.argeo.slc.deploy.ModuleDescriptor;
+++ /dev/null
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.slc.jcr;
-
-/** JCR names used by SLC */
-public interface SlcNames {
- public final static String SLC_ = "slc:";
-
- /*
- * GENERAL
- */
- public final static String SLC_UUID = "slc:uuid";
- public final static String SLC_STATUS = "slc:status";
- // generic name for result parts of a given test result (slc:testResult)
- // note that corresponding nodes can be retrieved using
- // myTestResultNode.getNodes(SLC_RESULT_PART+"*") method
- public final static String SLC_RESULT_PART = "slc:resultPart";
- // Fixed name of the child node of a slc:testResult of type
- // slc:check that aggregate status of all result parts of a given test
- // result
- public final static String SLC_AGGREGATED_STATUS = "slc:aggregatedStatus";
-
- public final static String SLC_TYPE = "slc:type";
- public final static String SLC_NAME = "slc:name";
- public final static String SLC_VERSION = "slc:version";
- public final static String SLC_CATEGORY = "slc:category";
- public final static String SLC_VALUE = "slc:value";
- public final static String SLC_ADDRESS = "slc:address";
- public final static String SLC_METADATA = "slc:metadata";
-
- public final static String SLC_TIMESTAMP = "slc:timestamp";
- public final static String SLC_STARTED = "slc:started";
- public final static String SLC_COMPLETED = "slc:completed";
-
- public final static String SLC_VM = "slc:vm";
- /*
- * SLC RUNTIME
- */
- // execution
- public final static String SLC_SPEC = "slc:spec";
- public final static String SLC_EXECUTION_SPECS = "slc:executionSpecs";
- public final static String SLC_FLOW = "slc:flow";
- public final static String SLC_LOG = "slc:log";
- public final static String SLC_AGENTS = "slc:agents";
-
- // spec attribute
- public final static String SLC_IS_IMMUTABLE = "slc:isImmutable";
- public final static String SLC_IS_CONSTANT = "slc:isConstant";
- public final static String SLC_IS_HIDDEN = "slc:isHidden";
-
- // base directories
- public final static String SLC_SYSTEM = "slc:system";
- public final static String SLC_RESULTS = "slc:results";
- public final static String SLC_MY_RESULTS = "slc:myResults";
- public final static String SLC_PROCESSES = "slc:processes";
-
- // result
- public final static String SLC_SUCCESS = "slc:success";
- public final static String SLC_MESSAGE = "slc:message";
- public final static String SLC_TAG = "slc:tag";
- public final static String SLC_ERROR_MESSAGE = "slc:errorMessage";
- public final static String SLC_TEST_CASE = "slc:testCase";
- public final static String SLC_TEST_CASE_TYPE = "slc:testCaseType";
-
- // diff result
- public final static String SLC_SUMMARY = "slc:summary";
- public final static String SLC_ISSUES = "slc:issues";
-
- /*
- * SLC REPO
- */
- // shared
- public final static String SLC_URL = "slc:url";
- public final static String SLC_OPTIONAL = "slc:optional";
- public final static String SLC_AS_STRING = "slc:asString";
-
- // origin
- public final static String SLC_ORIGIN = "slc:origin";
- public final static String SLC_PROXY = "slc:proxy";
-
- // slc:artifact
- public final static String SLC_ARTIFACT_ID = "slc:artifactId";
- public final static String SLC_GROUP_ID = "slc:groupId";
- public final static String SLC_GROUP_BASE_ID = "slc:groupBaseId";
- public final static String SLC_ARTIFACT_VERSION = "slc:artifactVersion";
- public final static String SLC_ARTIFACT_EXTENSION = "slc:artifactExtension";
- public final static String SLC_ARTIFACT_CLASSIFIER = "slc:artifactClassifier";
-
- // slc:jarArtifact
- public final static String SLC_MANIFEST = "slc:manifest";
-
- // shared OSGi
- public final static String SLC_SYMBOLIC_NAME = "slc:symbolic-name";
- public final static String SLC_BUNDLE_VERSION = "slc:bundle-version";
-
- // slc:osgiBaseVersion
- public final static String SLC_MAJOR = "slc:major";
- public final static String SLC_MINOR = "slc:minor";
- public final static String SLC_MICRO = "slc:micro";
- // slc:osgiVersion
- public final static String SLC_QUALIFIER = "slc:qualifier";
-
- // slc:exportedPackage
- public final static String SLC_USES = "slc:uses";
-
- // slc:modularDistribution
- public final static String SLC_MODULES = "slc:modules";
-
- // RPM
- // slc:rpm
- public final static String SLC_RPM_VERSION = "slc:rpmVersion";
- public final static String SLC_RPM_RELEASE = "slc:rpmRelease";
- public final static String SLC_RPM_ARCH = "slc:rpmArch";
- public final static String SLC_RPM_ARCHIVE_SIZE = "slc:rpmArchiveSize";
-}
+++ /dev/null
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.argeo.slc.jcr;
-
-/** JCR node types used by SLC */
-public interface SlcTypes {
-
- public final static String SLC_NAME_VERSION = "slc:nameVersion";
- public final static String SLC_CATEGORIZED_NAME_VERSION = "slc:categorizedNameVersion";
-
- public final static String SLC_AGENT_FACTORY = "slc:agentFactory";
- public final static String SLC_AGENT = "slc:agent";
- public final static String SLC_MODULE = "slc:module";
- public final static String SLC_EXECUTION_MODULE = "slc:executionModule";
- public final static String SLC_EXECUTION_SPEC = "slc:executionSpec";
- public final static String SLC_EXECUTION_FLOW = "slc:executionFlow";
- public final static String SLC_PROCESS = "slc:process";
- public final static String SLC_REALIZED_FLOW = "slc:realizedFlow";
-
- public final static String SLC_EXECUTION_SPEC_ATTRIBUTE = "slc:executionSpecAttribute";
- public final static String SLC_PRIMITIVE_SPEC_ATTRIBUTE = "slc:primitiveSpecAttribute";
- public final static String SLC_REF_SPEC_ATTRIBUTE = "slc:refSpecAttribute";
-
- public final static String SLC_TEST_RESULT = "slc:testResult";
- public final static String SLC_CHECK = "slc:check";
- public final static String SLC_PROPERTY = "slc:property";
- public final static String SLC_DIFF_RESULT = "slc:diffResult";
-
- // Node types used for user defined and managed result UI tree
- public final static String SLC_MY_RESULT_ROOT_FOLDER = "slc:myResultRootFolder";
- public final static String SLC_RESULT_FOLDER = "slc:resultFolder";
-
- // Log levels
- public final static String SLC_LOG_ENTRY = "slc:logEntry";
- public final static String SLC_LOG_TRACE = "slc:logTrace";
- public final static String SLC_LOG_DEBUG = "slc:logDebug";
- public final static String SLC_LOG_INFO = "slc:logInfo";
- public final static String SLC_LOG_WARNING = "slc:logWarning";
- public final static String SLC_LOG_ERROR = "slc:logError";
-
- /*
- * REPO
- */
- public final static String SLC_ARTIFACT = "slc:artifact";
- public final static String SLC_ARTIFACT_VERSION_BASE = "slc:artifactVersion";
- public final static String SLC_ARTIFACT_BASE = "slc:artifactBase";
- public final static String SLC_GROUP_BASE = "slc:groupBase";
- public final static String SLC_JAR_FILE = "slc:jarFile";
- public final static String SLC_BUNDLE_ARTIFACT = "slc:bundleArtifact";
- public final static String SLC_OSGI_VERSION = "slc:osgiVersion";
- public final static String SLC_JAVA_PACKAGE = "slc:javaPackage";
- public final static String SLC_EXPORTED_PACKAGE = "slc:exportedPackage";
- public final static String SLC_IMPORTED_PACKAGE = "slc:importedPackage";
- public final static String SLC_DYNAMIC_IMPORTED_PACKAGE = "slc:dynamicImportedPackage";
- public final static String SLC_REQUIRED_BUNDLE = "slc:requiredBundle";
- public final static String SLC_FRAGMENT_HOST = "slc:fragmentHost";
-
- // Distribution management
- // public final static String SLC_CATEGORY = "slc:category";
- public final static String SLC_MODULAR_DISTRIBUTION_BASE = "slc:modularDistributionBase";
- public final static String SLC_MODULAR_DISTRIBUTION = "slc:modularDistribution";
- public final static String SLC_MODULE_COORDINATES = "slc:moduleCoordinates";
-
- // origin
- public final static String SLC_KNOWN_ORIGIN = "slc:knownOrigin";
- public final static String SLC_PROXIED = "slc:proxied";
-
- // rpm
- public final static String SLC_RPM = "slc:rpm";
-}
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcConstants;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.core.execution.DefaultAgent;
import org.argeo.slc.core.execution.ProcessThread;
import org.argeo.slc.execution.ExecutionModulesManager;
import org.argeo.slc.execution.ExecutionProcess;
import org.argeo.slc.jcr.SlcJcrConstants;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
/** SLC VM agent synchronizing with a JCR repository. */
public class JcrAgent extends DefaultAgent implements SlcNames {
import org.apache.commons.logging.LogFactory;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.core.execution.PrimitiveSpecAttribute;
import org.argeo.slc.core.execution.PrimitiveValue;
import org.argeo.slc.core.execution.RefSpecAttribute;
import org.argeo.slc.execution.ExecutionSpec;
import org.argeo.slc.execution.ExecutionSpecAttribute;
import org.argeo.slc.jcr.SlcJcrUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
/**
* Synchronizes the local execution runtime with a JCR repository. For the time
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.NameVersion;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.core.execution.ProcessThread;
import org.argeo.slc.execution.ExecutionProcess;
import org.argeo.slc.execution.ExecutionStep;
import org.argeo.slc.execution.RealizedFlow;
import org.argeo.slc.jcr.SlcJcrUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
/** Execution process implementation based on a JCR node. */
public class JcrExecutionProcess implements ExecutionProcess, SlcNames {
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
import org.argeo.slc.core.execution.ProcessThread;
import org.argeo.slc.execution.ExecutionModulesManager;
import org.argeo.slc.execution.ExecutionProcess;
import org.argeo.slc.execution.RealizedFlow;
-import org.argeo.slc.jcr.SlcNames;
/** Where the actual execution takes place */
public class JcrProcessThread extends ProcessThread implements SlcNames {
import javax.jcr.RepositoryException;
import org.argeo.slc.SlcException;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.core.execution.DefaultExecutionSpec;
import org.argeo.slc.core.execution.PrimitiveSpecAttribute;
import org.argeo.slc.core.execution.PrimitiveUtils;
import org.argeo.slc.execution.ExecutionSpecAttribute;
import org.argeo.slc.execution.RealizedFlow;
import org.argeo.slc.jcr.SlcJcrUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
public class JcrRealizedFlow extends RealizedFlow implements SlcNames {
private static final long serialVersionUID = -3709453850260712001L;
+++ /dev/null
-<slc = 'http://www.argeo.org/ns/slc'>
-
-// COMMON
-[slc:nameVersion] > nt:base
-mixin
-- slc:name (STRING) m
-- slc:version (STRING) m
-
-[slc:categorizedNameVersion] > slc:nameVersion
-mixin
-// define as mandatory?
-- slc:category (STRING)
-
-// AGENT
-[slc:agentFactory] > nt:unstructured, mix:title
-+ * (slc:agent)
-
-[slc:agent] > nt:unstructured, mix:title
-+ * (slc:module)
-
-[slc:module] > slc:nameVersion, mix:title
-mixin
-
-[slc:activableModule] > slc:module
-mixin
-
-[slc:executionModule] > slc:activableModule
-mixin
-
-[slc:executionSpec] > nt:unstructured, mix:referenceable, mix:title
-- slc:name (STRING) m
-+ * (slc:executionSpecAttribute) *
-
-[slc:executionSpecAttribute] > nt:base
-mixin abstract
-- slc:isImmutable (BOOLEAN)
-- slc:isConstant (BOOLEAN)
-- slc:isHidden (BOOLEAN)
-
-[slc:primitiveSpecAttribute] > slc:executionSpecAttribute
-mixin
-- slc:type (STRING)
-- slc:value (UNDEFINED)
-
-[slc:refSpecAttribute] > slc:executionSpecAttribute
-orderable
-mixin
-// typically a class name
-- slc:type (STRING)
-- slc:value (UNDEFINED)
-+ * (mix:title)
-
-[slc:executionFlow] > nt:unstructured, mix:title
-- slc:name (STRING) ! m
-// if the execution spec is a referenceable node
-- slc:spec (REFERENCE)
-// if the execution spec is internal (without name)
-+ * (slc:executionSpecAttribute) *
-
-// PROCESS
-[slc:process] > nt:unstructured, mix:created, mix:lastModified
-orderable
-- slc:uuid (STRING) ! m
-- slc:status (STRING) m
-+ slc:flow (slc:realizedFlow)
-+ slc:log
-
-// The first part of the relative path is the thread name, rest is location
-[slc:logEntry] > nt:unstructured
-abstract
-- slc:message (STRING) !
-- slc:timestamp (STRING)
-
-// Log levels are set via types.
-// Querying one level also queries the higher levels thanks to the inheritance
-// e.g. 'select * from [slc:logWarn]' also returns errors
-[slc:logTrace] > slc:logEntry
-
-[slc:logDebug] > slc:logTrace
-
-[slc:logInfo] > slc:logDebug
-
-[slc:logWarning] > slc:logInfo
-
-[slc:logError] > slc:logWarning
-
-[slc:realizedFlow] > nt:base
-orderable
-mixin
-// the name of the flow
-// - slc:flow (STRING)
-// the name of the execution spec
-// - slc:spec (STRING)
-- slc:started (DATE)
-- slc:completed (DATE)
-//- slc:status (STRING)
-+ slc:address (nt:address)
-+ slc:flow (slc:realizedFlow) *
-// the realized execution spec attributes
-+ * (slc:executionSpecAttribute) *
-
-// RESULT
-[slc:testResult] > nt:unstructured, mix:created, mix:lastModified
-- slc:uuid (STRING) ! m
-- slc:testCase (STRING)
-- slc:completed (DATE)
-// Helper to keep a centralize place to have testResultStatus
-// when adding more than one result part to a given testResult
-+ slc:aggregatedStatus (slc:check)
-// DEPRECATED - FOR COMPATIBILITY - DO NOT USE
-+ slc:testStatus (slc:check)
-
-[slc:diffResult] > slc:testResult
-+ slc:summary
-+ slc:issues
-
-[slc:resultFolder] > nt:unstructured
-+ slc:folderStatus (slc:check)
-+ * (slc:resultFolder) *
-+ * (slc:testResult) *
-
-// base node for user defined and managed result tree
-// simplify UI management
-[slc:myResultRootFolder] > nt:unstructured
-+ * (slc:resultFolder) *
-+ * (slc:testResult) *
-
-[slc:check] > nt:unstructured
-// true for PASSED, false for FAILED or ERROR
-- slc:success (BOOLEAN) ! m
-- slc:message (STRING)
-// ERROR if set, the check could not be performed because of an unexpected exception
-- slc:errorMessage (STRING)
-// to ease transition with legacy approach
-+ * (slc:property) *
-
-[slc:property] > nt:unstructured
-- slc:name (STRING) ! m
-- slc:value (STRING) m
import org.argeo.jcr.proxy.AbstractUrlProxy;
import org.argeo.slc.SlcConstants;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.slc.rpmfactory.RpmProxyService;
import org.argeo.slc.rpmfactory.RpmRepository;
Require-Capability: cms.datamodel; filter:="(name=node)",\
cms.datamodel; filter:="(name=slc)"
-Provide-Capability: cms.datamodel; name=java; cnd=/org/argeo/slc/repo/repo.cnd,\
- cms.datamodel; name=dist; cnd=/org/argeo/slc/repo/repo.cnd,\
- cms.datamodel; name=docs; cnd=/org/argeo/slc/repo/repo.cnd,\
- cms.datamodel; name=rpm; cnd=/org/argeo/slc/repo/repo.cnd
+Provide-Capability: cms.datamodel; name=java,\
+ cms.datamodel; name=dist,\
+ cms.datamodel; name=docs,\
+ cms.datamodel; name=rpm
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
import org.argeo.slc.aether.AetherUtils;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.eclipse.aether.artifact.Artifact;
import org.osgi.framework.Constants;
import org.apache.commons.logging.LogFactory;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.osgi.framework.Constants;
import org.osgi.framework.Version;
import org.argeo.slc.SlcException;
import org.argeo.slc.aether.AetherUtils;
import org.argeo.slc.build.Distribution;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.eclipse.aether.artifact.Artifact;
import org.eclipse.aether.artifact.DefaultArtifact;
import org.osgi.framework.Constants;
import org.argeo.slc.NameVersion;
import org.argeo.slc.SlcException;
import org.argeo.slc.aether.ArtifactIdComparator;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.maven.MavenConventionsUtils;
import org.eclipse.aether.artifact.Artifact;
import org.eclipse.aether.artifact.DefaultArtifact;
import org.apache.commons.io.FilenameUtils;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.redline_rpm.ChannelWrapper.Key;
import org.redline_rpm.ReadableChannelWrapper;
import org.redline_rpm.header.AbstractHeader;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
import org.argeo.slc.aether.ArtifactIdComparator;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.ArtifactIndexer;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.slc.repo.RepoUtils;
import org.apache.commons.logging.LogFactory;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.RepoConstants;
import org.eclipse.aether.artifact.Artifact;
import org.argeo.jcr.proxy.AbstractUrlProxy;
import org.argeo.slc.SlcConstants;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.MavenProxyService;
import org.argeo.slc.repo.RepoConstants;
import org.eclipse.aether.repository.RemoteRepository;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.NameVersion;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.ArtifactIndexer;
import org.argeo.slc.repo.JarFileIndexer;
import org.argeo.slc.repo.RepoUtils;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
import org.argeo.slc.aether.ArtifactIdComparator;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.ArtifactIndexer;
import org.argeo.slc.repo.RepoConstants;
import org.argeo.slc.repo.RepoUtils;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcConstants;
import org.argeo.slc.SlcException;
-import org.argeo.slc.jcr.SlcNames;
-import org.argeo.slc.jcr.SlcTypes;
+import org.argeo.slc.SlcNames;
+import org.argeo.slc.SlcTypes;
import org.argeo.slc.repo.NodeIndexer;
import org.argeo.slc.repo.OsgiFactory;
import org.argeo.slc.repo.RepoConstants;
-<argeo = 'http://www.argeo.org/ns/argeo'>
-<slc = 'http://www.argeo.org/ns/slc'>
+<repo = 'http://www.argeo.org/ns/repo'>
// Argeo Commons 1 node types
[argeo:references] > nt:unstructured