Fixing minor compilation 64/134564/2
authorwaqas.ikram <waqas.ikram@est.tech>
Mon, 15 May 2023 11:03:33 +0000 (12:03 +0100)
committerwaqas.ikram <waqas.ikram@est.tech>
Tue, 16 May 2023 09:35:19 +0000 (10:35 +0100)
- Complilation issues while importing project in eclipse
- Fixing CSIT

Change-Id: Idb85b08066d27a7f2a9b297d1580915df2b67541
Issue-ID: CPS-1672
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/operations/DmiDataOperationsSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/inventory/CompositeStateSpec.groovy
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsPersistenceSpecBase.groovy
cps-service/src/test/groovy/org/onap/cps/yang/YangTextSchemaSourceSetBuilderSpec.groovy
csit/plans/cps/test.properties

index 667b2f1..5fd4fbd 100644 (file)
@@ -33,8 +33,8 @@ import org.springframework.test.context.ContextConfiguration
 import org.springframework.http.HttpStatus
 import spock.lang.Shared
 
-import static DatastoreType.PASSTHROUGH_OPERATIONAL
-import static DatastoreType.PASSTHROUGH_RUNNING
+import static org.onap.cps.ncmp.api.impl.operations.DatastoreType.PASSTHROUGH_OPERATIONAL
+import static org.onap.cps.ncmp.api.impl.operations.DatastoreType.PASSTHROUGH_RUNNING
 import static org.onap.cps.ncmp.api.impl.operations.OperationEnum.CREATE
 import static org.onap.cps.ncmp.api.impl.operations.OperationEnum.READ
 import static org.onap.cps.ncmp.api.impl.operations.OperationEnum.UPDATE
index 76c4d22..3ae6348 100644 (file)
@@ -27,8 +27,8 @@ import java.time.OffsetDateTime
 import java.time.ZoneOffset
 import java.time.format.DateTimeFormatter
 
-import static CompositeState.DataStores
-import static CompositeState.Operational
+import static org.onap.cps.ncmp.api.inventory.CompositeState.DataStores
+import static org.onap.cps.ncmp.api.inventory.CompositeState.Operational
 import static org.onap.cps.ncmp.utils.TestUtils.getResourceFileContent
 import static org.springframework.util.StringUtils.trimAllWhitespace
 
index 30ff11b..34a040e 100644 (file)
@@ -59,7 +59,7 @@ class CpsPersistenceSpecBase extends Specification {
     @SpringBean
     JsonObjectMapper jsonObjectMapper = new JsonObjectMapper(new ObjectMapper())
 
-    static final String CLEAR_DATA = '/data/clear-all.sql'
+    protected static final String CLEAR_DATA = '/data/clear-all.sql'
 
     static def DATASPACE_NAME = 'DATASPACE-001'
     static def SCHEMA_SET_NAME1 = 'SCHEMA-SET-001'
index 6d570d6..3b4d57d 100644 (file)
@@ -21,7 +21,7 @@
  *  ============LICENSE_END=========================================================
  */
 
-package org.onap.cps.utils.yang
+package org.onap.cps.yang
 
 
 import org.onap.cps.TestUtils
index 6a715f7..14d6f77 100644 (file)
@@ -23,9 +23,9 @@ DMI_SERVICE_URL=http://$LOCAL_IP:$DMI_PORT
 DOCKER_REPO=nexus3.onap.org:10003
 
 CPS_VERSION=latest
-DMI_VERSION=1.3.0-SNAPSHOT-latest
+DMI_VERSION=1.4.0-SNAPSHOT-latest
 
 ADVISED_MODULES_SYNC_SLEEP_TIME_MS=2000
 CMHANDLE_DATA_SYNC_SLEEP_TIME_MS=2000
 
-CPS_HOME=$CPS_HOME
\ No newline at end of file
+CPS_HOME=$CPS_HOME