Loading .gitlab-ci.yml 0 → 100644 +35 −0 Original line number Diff line number Diff line include: - project: osl/code/org.etsi.osl.main ref: main file: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_NAME == "main"' - project: osl/code/org.etsi.osl.main ref: develop file: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_NAME == "develop"' - project: osl/code/org.etsi.osl.main ref: $CI_COMMIT_REF_NAME file: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_PROTECTED && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - project: osl/code/org.etsi.osl.main ref: develop file: - ci-templates/default.yml - ci-templates/build_unprotected.yml rules: - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && !$CI_COMMIT_REF_PROTECTED' maven_build: extends: .maven_build ci_settings.xml 0 → 100644 +16 −0 Original line number Diff line number Diff line <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> <servers> <server> <id>gitlab-maven</id> <configuration> <httpHeaders> <property> <name>Job-Token</name> <value>${CI_JOB_TOKEN}</value> </property> </httpHeaders> </configuration> </server> </servers> </settings> pom.xml +22 −7 Original line number Diff line number Diff line <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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> <parent> <groupId>org.etsi.osl</groupId> <artifactId>org.etsi.osl.main</artifactId> <version>1.2.0-SNAPSHOT</version> <version>1.0.0</version> <relativePath>../org.etsi.osl.main</relativePath> </parent> <artifactId>org.etsi.osl.centrallog.client</artifactId> <name>org.etsi.osl.centrallog.client</name> <repositories> <repository> <id>gitlab-maven</id> <url>https://labs.etsi.org/rep/api/v4/groups/260/-/packages/maven</url> </repository> </repositories> <distributionManagement> <repository> <id>gitlab-maven</id> <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> </repository> <snapshotRepository> <id>gitlab-maven</id> <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> </snapshotRepository> </distributionManagement> <dependencyManagement> <dependencies> <!-- Camel BOM --> Loading src/main/java/org/etsi/osl/centrallog/client/CentralLogger.java +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class CentralLogger { // .to("activemq:queue:centrallogger.log"); //Future<Exchange> result = template.withBody( json ).asyncSend(); //waitAndStopForTemplate( result, template); template.sendBody("activemq:queue:centrallogger.log", json); template.sendBody("jms:topic:centrallogger.log", json); } Loading Loading
.gitlab-ci.yml 0 → 100644 +35 −0 Original line number Diff line number Diff line include: - project: osl/code/org.etsi.osl.main ref: main file: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_NAME == "main"' - project: osl/code/org.etsi.osl.main ref: develop file: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_NAME == "develop"' - project: osl/code/org.etsi.osl.main ref: $CI_COMMIT_REF_NAME file: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_PROTECTED && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - project: osl/code/org.etsi.osl.main ref: develop file: - ci-templates/default.yml - ci-templates/build_unprotected.yml rules: - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && !$CI_COMMIT_REF_PROTECTED' maven_build: extends: .maven_build
ci_settings.xml 0 → 100644 +16 −0 Original line number Diff line number Diff line <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> <servers> <server> <id>gitlab-maven</id> <configuration> <httpHeaders> <property> <name>Job-Token</name> <value>${CI_JOB_TOKEN}</value> </property> </httpHeaders> </configuration> </server> </servers> </settings>
pom.xml +22 −7 Original line number Diff line number Diff line <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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> <parent> <groupId>org.etsi.osl</groupId> <artifactId>org.etsi.osl.main</artifactId> <version>1.2.0-SNAPSHOT</version> <version>1.0.0</version> <relativePath>../org.etsi.osl.main</relativePath> </parent> <artifactId>org.etsi.osl.centrallog.client</artifactId> <name>org.etsi.osl.centrallog.client</name> <repositories> <repository> <id>gitlab-maven</id> <url>https://labs.etsi.org/rep/api/v4/groups/260/-/packages/maven</url> </repository> </repositories> <distributionManagement> <repository> <id>gitlab-maven</id> <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> </repository> <snapshotRepository> <id>gitlab-maven</id> <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> </snapshotRepository> </distributionManagement> <dependencyManagement> <dependencies> <!-- Camel BOM --> Loading
src/main/java/org/etsi/osl/centrallog/client/CentralLogger.java +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class CentralLogger { // .to("activemq:queue:centrallogger.log"); //Future<Exchange> result = template.withBody( json ).asyncSend(); //waitAndStopForTemplate( result, template); template.sendBody("activemq:queue:centrallogger.log", json); template.sendBody("jms:topic:centrallogger.log", json); } Loading