Loading .gitlab-ci.yml +2 −2 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,7 @@ include: - ci-templates/default.yml - ci-templates/default.yml - ci-templates/build.yml - ci-templates/build.yml rules: rules: - if: '$CI_COMMIT_REF_PROTECTED && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - if: '$CI_COMMIT_REF_PROTECTED == "true" && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - project: osl/code/org.etsi.osl.main - project: osl/code/org.etsi.osl.main ref: develop ref: develop Loading @@ -29,7 +29,7 @@ include: - ci-templates/default.yml - ci-templates/default.yml - ci-templates/build_unprotected.yml - ci-templates/build_unprotected.yml rules: rules: - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && !$CI_COMMIT_REF_PROTECTED' - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_PROTECTED == "false"' maven_build: maven_build: extends: .maven_build extends: .maven_build Loading Dockerfile +3 −3 Original line number Original line Diff line number Diff line Loading @@ -2,7 +2,7 @@ FROM ibm-semeru-runtimes:open-17.0.7_7-jdk MAINTAINER openslice.io MAINTAINER openslice.io RUN mkdir /opt/shareclasses RUN mkdir /opt/shareclasses RUN mkdir -p /opt/openslice/lib/ RUN mkdir -p /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.0.jar /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.1-SNAPSHOT.jar /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.0-exec.jar /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.1-SNAPSHOT-exec.jar /opt/openslice/lib/ COPY . /opt/openslice/lib/ COPY . /opt/openslice/lib/ CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses","-jar", "/opt/openslice/lib/org.etsi.osl.osom-1.0.0-exec.jar"] CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses","-jar", "/opt/openslice/lib/org.etsi.osl.osom-1.0.1-SNAPSHOT-exec.jar"] No newline at end of file No newline at end of file pom.xml +7 −2 Original line number Original line Diff line number Diff line Loading @@ -5,16 +5,20 @@ <parent> <parent> <groupId>org.etsi.osl</groupId> <groupId>org.etsi.osl</groupId> <artifactId>org.etsi.osl.main</artifactId> <artifactId>org.etsi.osl.main</artifactId> <version>1.0.0</version> <version>2024Q4-SNAPSHOT</version> <relativePath>../org.etsi.osl.main</relativePath> <relativePath>../org.etsi.osl.main</relativePath> </parent> </parent> <artifactId>org.etsi.osl.osom</artifactId> <artifactId>org.etsi.osl.osom</artifactId> <name>org.etsi.osl.osom</name> <name>org.etsi.osl.osom</name> <version>${org.etsi.osl.osom.version}</version> <url>http://maven.apache.org</url> <url>http://maven.apache.org</url> <organization> <name>OpenSlice by ETSI</name> <url>https://osl.etsi.org</url> </organization> <properties> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> Loading Loading @@ -82,6 +86,7 @@ <dependency> <dependency> <groupId>com.h2database</groupId> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <artifactId>h2</artifactId> <version>2.3.232</version> </dependency> </dependency> <dependency> <dependency> <groupId>org.etsi.osl</groupId> <groupId>org.etsi.osl</groupId> Loading src/main/java/org/etsi/osl/osom/management/CreateReservedService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -310,7 +310,7 @@ public class CreateReservedService implements JavaDelegate { if ( initCharValues != null ) { if ( initCharValues != null ) { if ( initCharValues.get( c.getName() ) != null ) { if ( initCharValues.get( c.getName() ) != null ) { Characteristic orderCharacteristic = new Characteristic() Characteristic orderCharacteristic = new Characteristic() .value( new Any( initCharValues.get( c.getName() ), initCharValues.get( c.getName() ))) ; .value( new Any( initCharValues.get( c.getName() ), null ) ); serviceToCreate.addServiceCharacteristicItem( helperCreateCharacteristicItem(c, orderCharacteristic ) ); serviceToCreate.addServiceCharacteristicItem( helperCreateCharacteristicItem(c, orderCharacteristic ) ); characteristicFound = true; characteristicFound = true; continue; continue; Loading src/main/resources/application.yml +4 −1 Original line number Original line Diff line number Diff line server: server: port: 13689 port: 13689 flowable: history-level: none spring: spring: application: application: name: openslice-osom name: openslice-osom Loading Loading @@ -116,7 +119,7 @@ CATALOG_ADD_RESOURCESPEC: "jms:queue:CATALOG.ADD.RESOURCESPEC" CATALOG_UPD_RESOURCESPEC: "jms:queue:CATALOG.UPD.RESOURCESPEC" CATALOG_UPD_RESOURCESPEC: "jms:queue:CATALOG.UPD.RESOURCESPEC" CATALOG_UPDADD_RESOURCESPEC: "jms:queue:CATALOG.UPDADD.RESOURCESPEC" CATALOG_UPDADD_RESOURCESPEC: "jms:queue:CATALOG.UPDADD.RESOURCESPEC" CATALOG_GET_RESOURCESPEC_BY_ID: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_ID" CATALOG_GET_RESOURCESPEC_BY_ID: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_ID" CATALOG_GET_RESOURCESPEC_BY_ΝAME_CATEGORY: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_ΝAME_CATEGORY" CATALOG_GET_RESOURCESPEC_BY_NAME_CATEGORY: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_NAME_CATEGORY" #CRD ACTIONS #CRD ACTIONS CRD_DEPLOY_CR_REQ: "jms:queue:CRD.DEPLOY.CR_REQ" CRD_DEPLOY_CR_REQ: "jms:queue:CRD.DEPLOY.CR_REQ" Loading Loading
.gitlab-ci.yml +2 −2 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,7 @@ include: - ci-templates/default.yml - ci-templates/default.yml - ci-templates/build.yml - ci-templates/build.yml rules: rules: - if: '$CI_COMMIT_REF_PROTECTED && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - if: '$CI_COMMIT_REF_PROTECTED == "true" && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - project: osl/code/org.etsi.osl.main - project: osl/code/org.etsi.osl.main ref: develop ref: develop Loading @@ -29,7 +29,7 @@ include: - ci-templates/default.yml - ci-templates/default.yml - ci-templates/build_unprotected.yml - ci-templates/build_unprotected.yml rules: rules: - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && !$CI_COMMIT_REF_PROTECTED' - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_PROTECTED == "false"' maven_build: maven_build: extends: .maven_build extends: .maven_build Loading
Dockerfile +3 −3 Original line number Original line Diff line number Diff line Loading @@ -2,7 +2,7 @@ FROM ibm-semeru-runtimes:open-17.0.7_7-jdk MAINTAINER openslice.io MAINTAINER openslice.io RUN mkdir /opt/shareclasses RUN mkdir /opt/shareclasses RUN mkdir -p /opt/openslice/lib/ RUN mkdir -p /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.0.jar /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.1-SNAPSHOT.jar /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.0-exec.jar /opt/openslice/lib/ COPY target/org.etsi.osl.osom-1.0.1-SNAPSHOT-exec.jar /opt/openslice/lib/ COPY . /opt/openslice/lib/ COPY . /opt/openslice/lib/ CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses","-jar", "/opt/openslice/lib/org.etsi.osl.osom-1.0.0-exec.jar"] CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses","-jar", "/opt/openslice/lib/org.etsi.osl.osom-1.0.1-SNAPSHOT-exec.jar"] No newline at end of file No newline at end of file
pom.xml +7 −2 Original line number Original line Diff line number Diff line Loading @@ -5,16 +5,20 @@ <parent> <parent> <groupId>org.etsi.osl</groupId> <groupId>org.etsi.osl</groupId> <artifactId>org.etsi.osl.main</artifactId> <artifactId>org.etsi.osl.main</artifactId> <version>1.0.0</version> <version>2024Q4-SNAPSHOT</version> <relativePath>../org.etsi.osl.main</relativePath> <relativePath>../org.etsi.osl.main</relativePath> </parent> </parent> <artifactId>org.etsi.osl.osom</artifactId> <artifactId>org.etsi.osl.osom</artifactId> <name>org.etsi.osl.osom</name> <name>org.etsi.osl.osom</name> <version>${org.etsi.osl.osom.version}</version> <url>http://maven.apache.org</url> <url>http://maven.apache.org</url> <organization> <name>OpenSlice by ETSI</name> <url>https://osl.etsi.org</url> </organization> <properties> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> Loading Loading @@ -82,6 +86,7 @@ <dependency> <dependency> <groupId>com.h2database</groupId> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <artifactId>h2</artifactId> <version>2.3.232</version> </dependency> </dependency> <dependency> <dependency> <groupId>org.etsi.osl</groupId> <groupId>org.etsi.osl</groupId> Loading
src/main/java/org/etsi/osl/osom/management/CreateReservedService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -310,7 +310,7 @@ public class CreateReservedService implements JavaDelegate { if ( initCharValues != null ) { if ( initCharValues != null ) { if ( initCharValues.get( c.getName() ) != null ) { if ( initCharValues.get( c.getName() ) != null ) { Characteristic orderCharacteristic = new Characteristic() Characteristic orderCharacteristic = new Characteristic() .value( new Any( initCharValues.get( c.getName() ), initCharValues.get( c.getName() ))) ; .value( new Any( initCharValues.get( c.getName() ), null ) ); serviceToCreate.addServiceCharacteristicItem( helperCreateCharacteristicItem(c, orderCharacteristic ) ); serviceToCreate.addServiceCharacteristicItem( helperCreateCharacteristicItem(c, orderCharacteristic ) ); characteristicFound = true; characteristicFound = true; continue; continue; Loading
src/main/resources/application.yml +4 −1 Original line number Original line Diff line number Diff line server: server: port: 13689 port: 13689 flowable: history-level: none spring: spring: application: application: name: openslice-osom name: openslice-osom Loading Loading @@ -116,7 +119,7 @@ CATALOG_ADD_RESOURCESPEC: "jms:queue:CATALOG.ADD.RESOURCESPEC" CATALOG_UPD_RESOURCESPEC: "jms:queue:CATALOG.UPD.RESOURCESPEC" CATALOG_UPD_RESOURCESPEC: "jms:queue:CATALOG.UPD.RESOURCESPEC" CATALOG_UPDADD_RESOURCESPEC: "jms:queue:CATALOG.UPDADD.RESOURCESPEC" CATALOG_UPDADD_RESOURCESPEC: "jms:queue:CATALOG.UPDADD.RESOURCESPEC" CATALOG_GET_RESOURCESPEC_BY_ID: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_ID" CATALOG_GET_RESOURCESPEC_BY_ID: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_ID" CATALOG_GET_RESOURCESPEC_BY_ΝAME_CATEGORY: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_ΝAME_CATEGORY" CATALOG_GET_RESOURCESPEC_BY_NAME_CATEGORY: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_NAME_CATEGORY" #CRD ACTIONS #CRD ACTIONS CRD_DEPLOY_CR_REQ: "jms:queue:CRD.DEPLOY.CR_REQ" CRD_DEPLOY_CR_REQ: "jms:queue:CRD.DEPLOY.CR_REQ" Loading