Align with CDS 1.15 09/2309/2
authorSerban Jora <sj2381@att.com>
Thu, 12 Jul 2018 16:08:56 +0000 (12:08 -0400)
committerSerban Jora <sj2381@att.com>
Thu, 12 Jul 2018 18:29:36 +0000 (14:29 -0400)
Change-Id: I2e0e08ac3b302d8b4b8dc534755118b5e464bf1c
Signed-off-by: Serban Jora <sj2381@att.com>
Issue-ID: ACUMOS-1330
Signed-off-by: Serban Jora <sj2381@att.com>
16 files changed:
docs/release-notes.rst
gateway/pom.xml
gateway/src/main/java/org/acumos/federation/gateway/adapter/PeerGateway.java
gateway/src/main/java/org/acumos/federation/gateway/cds/Solution.java
gateway/src/main/java/org/acumos/federation/gateway/cds/SolutionBuilder.java
gateway/src/main/java/org/acumos/federation/gateway/cds/SolutionRevision.java
gateway/src/main/java/org/acumos/federation/gateway/cds/SolutionRevisionBuilder.java
gateway/src/main/java/org/acumos/federation/gateway/service/CatalogService.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/CatalogServiceImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/CatalogServiceLocalImpl.java
gateway/src/test/java/org/acumos/federation/gateway/test/TestAdapter.java
gateway/src/test/resources/acumosa-catalog.json
gateway/src/test/resources/acumosb-catalog.json
gateway/src/test/resources/task-test-catalog.json
gateway/src/test/resources/test-catalog.json
gateway/toscalab.xml

index b8c8620..fee0c28 100644 (file)
 .. limitations under the License.
 .. ===============LICENSE_END=========================================================
 
-=============
-Release Notes
-=============
+===============================
+Federated Gateway Release Notes
+===============================
 
 The Federated Gateway server is available as a Docker image in a Docker registry.
 
-Version 1.1.4.1, 2018-07-11
+Version 1.1.5, 2018-07-12
 -------------------------
 
-* Fix handling of docker images with no tags
+* Aligns with the data model changes from CDS 1.15 (ACUMOS-1330)
+
+Version 1.1.4.1, 2018-07-11
+---------------------------
+
+* Fix handling of docker images with no tags (ACUMOS-1015)
 
 Version 1.1.4, 2018-06-20
 -------------------------
index 34e8916..46f121c 100644 (file)
@@ -24,7 +24,7 @@ limitations under the License.
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.acumos.federation</groupId>
        <artifactId>gateway</artifactId>
-       <version>1.1.4.1-SNAPSHOT</version>
+       <version>1.1.5-SNAPSHOT</version>
        <name>Federation Gateway</name>
        <description>Federated Acumos Interface for inter-acumos and ONAP communication</description>
 
@@ -74,7 +74,7 @@ limitations under the License.
                <dependency>
                        <groupId>org.acumos.common-dataservice</groupId>
                        <artifactId>cmn-data-svc-client</artifactId>
-                       <version>1.14.4</version>
+                       <version>1.15.4</version>
                </dependency>
                <dependency>
                        <groupId>org.json</groupId>
index cf390a4..ac3c198 100644 (file)
@@ -192,8 +192,6 @@ public class PeerGateway {
                                        "Creating Local MLP Solution for peer solution " + peerSolution);
 
                        Solution localSolution = Solution.buildFrom(peerSolution)
-                                                                                                                                       .withAccessTypeCode(this.sub.getAccessType())
-                                                                                                                                       .withValidationStatusCode(this.peer.getValidationStatusCode())
                                                                                                                                        .withProvider(this.peer.getName())
                        //should the creted/modified reflect this information or the information we got from the peer ?
                                                                                                                                        .withOwner(getOwnerId(this.sub))
@@ -220,6 +218,8 @@ public class PeerGateway {
                        SolutionRevision localRevision = SolutionRevision.buildFrom(peerRevision)
                                                                                                                                                                        .withOwner(getOwnerId(this.sub))
                                                                                                                                                                        .withSource(this.peer.getPeerId())
+                                                                                                                                                                       .withAccessTypeCode(this.sub.getAccessType())
+                                                                                                                                                                       .withValidationStatusCode(this.peer.getValidationStatusCode())
                                                                                                                                                                        .build();
                        try {
                                cdsClient.createSolutionRevision(localRevision);
@@ -278,8 +278,6 @@ public class PeerGateway {
 
                        //start with the peer solution and pick the few local values we ought to preserve or impose
                        Solution solution = Solution.buildFrom(peerSolution)
-                                                                                                                       .withAccessTypeCode(localSolution.getAccessTypeCode())
-                                                                                                                       .withValidationStatusCode(this.peer.getValidationStatusCode()) //reset
                                                                                                                        .withProvider(this.peer.getName())
                                                                                                                        .withOwner((Object... args) -> {
                                                                                                                                        String newOwnerId = getOwnerId(this.sub);
index 3ae7545..2259709 100644 (file)
@@ -47,7 +47,7 @@ public class Solution extends MLPSolution {
                public static final String sourceId = "sourceId";
        };
 
-       private List<MLPSolutionRevision>               revisions;
+       private List<? extends MLPSolutionRevision>             revisions;
 
        public Solution() {
        }
@@ -56,11 +56,11 @@ public class Solution extends MLPSolution {
                super(theCDSSolution);
        }
 
-       public void setRevisions(List<MLPSolutionRevision> theRevisions) {
+       public void setRevisions(List<? extends MLPSolutionRevision> theRevisions) {
                this.revisions = theRevisions;
        }
 
-       public List<MLPSolutionRevision>        getRevisions() {
+       public List<? extends MLPSolutionRevision>      getRevisions() {
                return this.revisions;
        }
        
index c87ef59..877bd82 100644 (file)
@@ -78,11 +78,6 @@ public class SolutionBuilder {
                return this;
        }
 
-       public SolutionBuilder withAccessTypeCode(String theCode) {
-               this.solution.setAccessTypeCode(theCode);
-               return this;
-       }
-
        public SolutionBuilder withModelTypeCode(String theCode) {
                this.solution.setModelTypeCode(theCode);
                return this;
@@ -93,11 +88,6 @@ public class SolutionBuilder {
                return this;
        }
 
-       public SolutionBuilder withValidationStatusCode(String theCode) {
-               this.solution.setValidationStatusCode(theCode);
-               return this;
-       }
-
        public SolutionBuilder withOrigin(String theOrigin) {
                this.solution.setOrigin(theOrigin);
                return this;
index b37c82a..7b4a883 100644 (file)
@@ -30,7 +30,7 @@ import org.acumos.cds.domain.MLPArtifact;
  */
 public class SolutionRevision extends MLPSolutionRevision {
 
-       private List<MLPArtifact>               artifacts;
+       private List<? extends MLPArtifact>             artifacts;
 
        public SolutionRevision() {
        }
@@ -39,11 +39,11 @@ public class SolutionRevision extends MLPSolutionRevision {
                super(theCDSRevision);
        }
 
-       public void setArtifacts(List<MLPArtifact> theArtifacts) {
+       public void setArtifacts(List<? extends MLPArtifact> theArtifacts) {
                this.artifacts = theArtifacts;
        }
 
-       public List<MLPArtifact>        getArtifacts() {
+       public List<? extends MLPArtifact>      getArtifacts() {
                return this.artifacts;
        }
 
index 241597c..927e9db 100644 (file)
@@ -66,6 +66,16 @@ public class SolutionRevisionBuilder {
                return this;
        }
 
+       public SolutionRevisionBuilder withValidationStatusCode(String theCode) {
+               this.revision.setValidationStatusCode(theCode);
+               return this;
+       }
+
+       public SolutionRevisionBuilder withAccessTypeCode(String theCode) {
+               this.revision.setAccessTypeCode(theCode);
+               return this;
+       }
+
        public SolutionRevisionBuilder withOrigin(String theOrigin) {
                this.revision.setOrigin(theOrigin);
                return this;
index e28272c..989bbc1 100644 (file)
@@ -29,10 +29,13 @@ import java.util.List;
 
 import org.springframework.core.io.InputStreamResource;
 
+import org.acumos.federation.gateway.cds.Artifact;
+import org.acumos.federation.gateway.cds.Solution;
+import org.acumos.federation.gateway.cds.SolutionRevision;
+
 import org.acumos.cds.domain.MLPArtifact;
 import org.acumos.cds.domain.MLPSolution;
 import org.acumos.cds.domain.MLPSolutionRevision;
-import org.acumos.cds.transport.RestPageResponse;
 
 /**
  * Handles access to the solutions catalog. The APIs of tis interface take a
@@ -80,10 +83,11 @@ public interface CatalogService {
         *            solution identifier (UUID).
         * @param theContext
         *            the execution context
-        * @return solution information. Will return null if the given solution id does not match an existing solution;
+        * @return Extended solution information, possibly inclulding related revision information.
+        *                               Will return null if the given solution id does not match an existing solution;
         * @throws ServiceException if an error is encoutered during processing
         */
-       public MLPSolution getSolution(String theSolutionId, ServiceContext theContext) throws ServiceException ;
+       public Solution getSolution(String theSolutionId, ServiceContext theContext) throws ServiceException ;
 
        /**
         * Default solution access interface for calls in behalf of the local Acumos
@@ -91,10 +95,10 @@ public interface CatalogService {
         *
         * @param theSolutionId
         *            solution identifier (UUID).
-        * @return solution information
+        * @return Extended solution information
         * @throws ServiceException if an error is encoutered during processing
         */
-       public default MLPSolution getSolution(String theSolutionId) throws ServiceException {
+       public default Solution getSolution(String theSolutionId) throws ServiceException {
                return getSolution(theSolutionId, selfService());
        }
 
@@ -124,10 +128,11 @@ public interface CatalogService {
         *            revision identifier (UUID).
         * @param theContext
         *            the execution context
-        * @return solution revision information
+        * @return Extended solution revision information, possibly including related artifact information.
+        *                               Null if given solution id/revision id do ont match existing information.
         * @throws ServiceException if an error is encoutered during processing
         */
-       public MLPSolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId,
+       public SolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId,
                        ServiceContext theContext) throws ServiceException ;
 
        /**
@@ -138,10 +143,10 @@ public interface CatalogService {
         *            solution identifier (UUID).
         * @param theRevisionId
         *            revision identifier (UUID).
-        * @return solution revision information
+        * @return Extended solution revision information
         * @throws ServiceException if an error is encoutered during processing
         */
-       public default MLPSolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId) throws ServiceException {
+       public default SolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId) throws ServiceException {
                return getSolutionRevision(theSolutionId, theRevisionId, selfService());
        }
 
@@ -183,10 +188,10 @@ public interface CatalogService {
         *            retrieved
         * @param theContext
         *            the execution context
-        * @return the artifact information
+        * @return Extended artifact information
         * @throws ServiceException if an error is encoutered during processing
         */
-       public MLPArtifact getSolutionRevisionArtifact(String theArtifactId, ServiceContext theContext)
+       public Artifact getSolutionRevisionArtifact(String theArtifactId, ServiceContext theContext)
                                                                                                                                                                                                                                                                                                                                                                        throws ServiceException;
 
        /**
@@ -195,10 +200,10 @@ public interface CatalogService {
         * @param theArtifactId
         *            identifier of the acumos artifact whose content needs to be
         *            retrieved
-        * @return the artifact information
+        * @return Extended artifact information
         * @throws ServiceException if an error is encoutered during processing
         */
-       public default MLPArtifact getSolutionRevisionArtifact(String theArtifactId) throws ServiceException {
+       public default Artifact getSolutionRevisionArtifact(String theArtifactId) throws ServiceException {
                return getSolutionRevisionArtifact(theArtifactId, selfService());
        }
 
index 9256c0b..3cf6022 100644 (file)
@@ -66,6 +66,7 @@ import org.springframework.web.client.HttpStatusCodeException;
 
 import org.acumos.federation.gateway.cds.Solution;
 import org.acumos.federation.gateway.cds.SolutionRevision;
+import org.acumos.federation.gateway.cds.Artifact;
 
 /**
  * CDS based implementation of the CatalogService.
@@ -144,12 +145,12 @@ public class CatalogServiceImpl extends AbstractServiceImpl
                }
                while (!pageResponse.isLast());
 
-               log.debug(EELFLoggerDelegate.debugLogger, "getSolutions: cds solutions count {}", solutions.size());
+               log.debug(EELFLoggerDelegate.debugLogger, "getSolutions: solutions count {}", solutions.size());
                return solutions;
        }
 
        @Override
-       public MLPSolution getSolution(String theSolutionId, ServiceContext theContext) throws ServiceException {
+       public Solution getSolution(String theSolutionId, ServiceContext theContext) throws ServiceException {
 
                log.trace(EELFLoggerDelegate.debugLogger, "getSolution {}", theSolutionId);
                ICommonDataServiceRestClient cdsClient = getClient();
@@ -182,7 +183,7 @@ public class CatalogServiceImpl extends AbstractServiceImpl
        }
 
        @Override
-       public MLPSolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId,
+       public SolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId,
                        ServiceContext theContext) throws ServiceException {
 
                log.trace(EELFLoggerDelegate.debugLogger, "getSolutionRevision");
@@ -222,11 +223,11 @@ public class CatalogServiceImpl extends AbstractServiceImpl
         * @throws ServiceException if failing to retrieve artifact information or retrieve content 
         */
        @Override
-       public MLPArtifact getSolutionRevisionArtifact(String theArtifactId, ServiceContext theContext) throws ServiceException {
+       public Artifact getSolutionRevisionArtifact(String theArtifactId, ServiceContext theContext) throws ServiceException {
 
                log.trace(EELFLoggerDelegate.debugLogger, "getSolutionRevisionArtifact");
                try {
-                       return getClient().getArtifact(theArtifactId);
+                       return (Artifact)getClient().getArtifact(theArtifactId);
                }       
                catch (HttpStatusCodeException restx) {
                        if (Errors.isCDSNotFound(restx))
index 2e2121a..e4591f8 100644 (file)
@@ -54,6 +54,11 @@ import org.acumos.federation.gateway.service.ServiceContext;
 import org.acumos.federation.gateway.service.ServiceException;
 import org.acumos.federation.gateway.util.Utils;
 
+import org.acumos.federation.gateway.cds.Solution;
+import org.acumos.federation.gateway.cds.SolutionRevision;
+import org.acumos.federation.gateway.cds.Artifact;
+import org.acumos.federation.gateway.cds.Mapper;
+
 import org.acumos.cds.AccessTypeCode;
 import org.acumos.cds.ValidationStatusCode;
 import org.acumos.cds.client.ICommonDataServiceRestClient;
@@ -81,7 +86,7 @@ public class CatalogServiceLocalImpl extends AbstractServiceLocalImpl implements
 
        private static final EELFLoggerDelegate log = EELFLoggerDelegate.getLogger(CatalogServiceLocalImpl.class.getName());
 
-       private List<FLPSolution> solutions;
+       private List<Solution> solutions;
 
        @PostConstruct
        public void initService() {
@@ -110,7 +115,7 @@ public class CatalogServiceLocalImpl extends AbstractServiceLocalImpl implements
        private void loadSolutionsCatalogInfo() {
                synchronized (this) {
                        try {
-                               ObjectReader objectReader = new ObjectMapper().reader(FLPSolution.class);
+                               ObjectReader objectReader = Mapper.build().reader(Solution.class);
                                MappingIterator objectIterator = objectReader.readValues(this.resource.getURL());
                                this.solutions = objectIterator.readAll();
                                log.info(EELFLoggerDelegate.debugLogger, "loaded " + this.solutions.size() + " solutions");
@@ -131,7 +136,7 @@ public class CatalogServiceLocalImpl extends AbstractServiceLocalImpl implements
        }
 
        @Override
-       public MLPSolution getSolution(final String theSolutionId, ServiceContext theContext) throws ServiceException {
+       public Solution getSolution(final String theSolutionId, ServiceContext theContext) throws ServiceException {
 
                log.debug(EELFLoggerDelegate.debugLogger, "getSolution");
                return solutions.stream().filter(solution -> {
@@ -143,23 +148,18 @@ public class CatalogServiceLocalImpl extends AbstractServiceLocalImpl implements
        public List<MLPSolutionRevision> getSolutionRevisions(final String theSolutionId, ServiceContext theContext) throws ServiceException {
 
                log.debug(EELFLoggerDelegate.debugLogger, "getSolutionRevisions");
-               FLPSolution solution = this.solutions.stream().filter(sol -> sol.getSolutionId().equals(theSolutionId))
-                               .findFirst().orElse(null);
 
-               return (solution == null) ? null : solution.getMLPRevisions();
+               Solution solution = getSolution(theSolutionId, theContext);
+               return (solution == null) ? Collections.EMPTY_LIST : (List)solution.getRevisions();
        }
 
        @Override
-       public MLPSolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId,
+       public SolutionRevision getSolutionRevision(String theSolutionId, String theRevisionId,
                        ServiceContext theContext) throws ServiceException  {
 
                log.debug(EELFLoggerDelegate.debugLogger, "getSolutionRevision");
-               List<MLPSolutionRevision> revisions = getSolutionRevisions(theSolutionId, theContext);
-
-               if (revisions == null)
-                       return null;
-
-               return revisions.stream().filter(rev -> rev.getRevisionId().equals(theRevisionId)).findFirst().orElse(null);
+               return (SolutionRevision)getSolutionRevisions(theSolutionId, theContext).stream()
+                                               .filter(rev -> rev.getRevisionId().equals(theRevisionId)).findFirst().orElse(null);
        }
 
        @Override
@@ -167,21 +167,20 @@ public class CatalogServiceLocalImpl extends AbstractServiceLocalImpl implements
                        ServiceContext theContext) throws ServiceException {
                log.debug(EELFLoggerDelegate.debugLogger, "getSolutionRevisionArtifacts");
 
-               FLPRevision revision = (FLPRevision) getSolutionRevision(theSolutionId, theRevisionId, theContext);
-
-               return (revision == null) ? null : revision.getArtifacts();
+               SolutionRevision revision = getSolutionRevision(theSolutionId, theRevisionId, theContext);
+               return (revision == null) ? Collections.EMPTY_LIST : (List)revision.getArtifacts();
        }
 
        @Override
-       public MLPArtifact getSolutionRevisionArtifact(String theArtifactId, ServiceContext theContext) 
+       public Artifact getSolutionRevisionArtifact(String theArtifactId, ServiceContext theContext) 
                                                                                                                                                                                                                                                                                                                                                                                                throws ServiceException {
                log.debug(EELFLoggerDelegate.debugLogger, "getSolutionRevisionArtifact");
                // cumbersome
-               for (FLPSolution solution : this.solutions) {
-                       for (FLPRevision revision : solution.getRevisions()) {
-                               for (MLPArtifact artifact : revision.getArtifacts()) {
+               for (Solution solution : this.solutions) {
+                       for (MLPSolutionRevision revision : solution.getRevisions()) {
+                               for (MLPArtifact artifact : ((SolutionRevision)revision).getArtifacts()) {
                                        if (artifact.getArtifactId().equals(theArtifactId)) {
-                                               return artifact;
+                                               return (Artifact)artifact;
                                        }
                                }
                        }
@@ -189,61 +188,4 @@ public class CatalogServiceLocalImpl extends AbstractServiceLocalImpl implements
 
                return null;
        }
-
-       /** */
-       public static class FLPSolution extends MLPSolution {
-
-               @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
-               private List<FLPRevision> revisions = Collections.EMPTY_LIST;
-
-               // @JsonIgnore
-               public List<FLPRevision> getRevisions() {
-                       return this.revisions;
-               }
-
-               // @JsonIgnore
-               protected List<MLPSolutionRevision> getMLPRevisions() {
-                       return this.revisions == null ? null
-                                       : this.revisions.stream().map(rev -> (MLPSolutionRevision) rev).collect(Collectors.toList());
-               }
-
-               public void setRevisions(List<FLPRevision> theRevisions) {
-                       this.revisions = theRevisions;
-               }
-
-       }
-
-       /** */
-       public static class FLPRevision extends MLPSolutionRevision {
-
-               @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
-               private List<MLPArtifact> artifacts = Collections.EMPTY_LIST;
-
-               // @JsonIgnore
-               // we send a deep clone as the client can modify them and we only have one copy
-               public List<MLPArtifact> getArtifacts() {
-                       List<MLPArtifact> copy = new LinkedList<MLPArtifact>();
-                       for (MLPArtifact artifact : this.artifacts) {
-                               MLPArtifact acopy = new MLPArtifact();
-                               acopy.setArtifactId(artifact.getArtifactId());
-                               acopy.setArtifactTypeCode(artifact.getArtifactTypeCode());
-                               acopy.setDescription(artifact.getDescription());
-                               acopy.setUri(artifact.getUri());
-                               acopy.setName(artifact.getName());
-                               acopy.setSize(artifact.getSize());
-                               acopy.setOwnerId(artifact.getOwnerId());
-                               acopy.setCreated(artifact.getCreated());
-                               acopy.setModified(artifact.getModified());
-                               acopy.setMetadata(artifact.getMetadata());
-
-                               copy.add(acopy);
-                       }
-                       return copy;
-               }
-
-               public void setArtifacts(List<MLPArtifact> theArtifacts) {
-                       this.artifacts = theArtifacts;
-               }
-       }
-
 }
index 44e4888..6cd3da4 100644 (file)
@@ -136,7 +136,7 @@ public class TestAdapter {
                                        try {
                                                Solution sol = (Solution)fedClient.getSolution(solution.getSolutionId()).getContent();
                                                log.info(EELFLoggerDelegate.debugLogger, "retrieved solution {}", solution);
-                                               revisions = sol.getRevisions();
+                                               revisions = (List)sol.getRevisions();
                                        }
                                        catch (Exception x) {
                                                log.error(EELFLoggerDelegate.errorLogger, "Failed to retrieve revisions", x);
index 32c6536..f922381 100644 (file)
@@ -6,7 +6,6 @@
   "active":"true",
   "modelTypeCode":"CL",
   "toolkitTypeCode":"",
-  "validationStatusCode":"",
   "metadata":"acumosa",
   "created":"2017-08-10",
   "modified":"2017-08-11",
@@ -20,6 +19,8 @@
     "ownerId":"admin",
        "created":"2017-08-10",
        "modified":"2017-08-11",
+       "validationStatusCode":"PS",
+    "accessTypeCode":"PB",
     "artifacts":[
      {
       "artifactId":"4fd46d93-e627-473b-a984-be9898ad1123",
index 6b220af..e5c17b9 100644 (file)
@@ -6,7 +6,6 @@
   "active":"true",
   "modelTypeCode":"RT",
   "toolkitTypeCode":"",
-  "validationStatusCode":"",
   "metadata":"acumosb",
   "created":"2017-09-10",
   "modified":"2017-09-11",
@@ -17,6 +16,8 @@
     "description":"First attempt",
     "version":"1.0",
     "metadata":"acumosb",
+       "validationStatusCode":"PS",
+       "accessTypeCode":"PB",
     "ownerId":"ak1234",
        "created":"2017-09-10",
        "modified":"2017-09-11",
index 62388a1..dc12260 100644 (file)
@@ -6,7 +6,6 @@
   "active":"true",
   "modelTypeCode":"CL",
   "toolkitTypeCode":"",
-  "validationStatusCode":"",
   "metadata":"acumosa",
   "created":"2017-08-10",
   "modified":"2017-08-11",
@@ -17,6 +16,8 @@
     "description":"First attempt",
     "version":"1.0",
     "metadata":"acumosa",
+    "validationStatusCode":"PS",
+    "accessTypeCode":"PB",
     "ownerId":"admin",
        "created":"2017-08-10",
        "modified":"2017-08-11",
index 62388a1..c1fd37d 100644 (file)
@@ -6,7 +6,6 @@
   "active":"true",
   "modelTypeCode":"CL",
   "toolkitTypeCode":"",
-  "validationStatusCode":"",
   "metadata":"acumosa",
   "created":"2017-08-10",
   "modified":"2017-08-11",
@@ -17,6 +16,8 @@
     "description":"First attempt",
     "version":"1.0",
     "metadata":"acumosa",
+       "validationStatusCode":"PS",
+    "accessTypeCode":"PB",
     "ownerId":"admin",
        "created":"2017-08-10",
        "modified":"2017-08-11",
index 7809da9..5f42315 100644 (file)
@@ -2,7 +2,7 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <groupId>org.cognita</groupId>
+  <groupId>org.acumos</groupId>
   <artifactId>dcae-toscalab</artifactId>
   <version>1.0.0-SNAPSHOT</version>
   <packaging>pom</packaging>