Skip to content

Commit

Permalink
Merge pull request #1521 from OSGP/feature/FDP-2849-renaming-protocol…
Browse files Browse the repository at this point in the history
…-adapter-properties-cherry

Feature FDP-2849: renaming protocol adapter properties
  • Loading branch information
JelleHoffman authored Feb 6, 2025
2 parents 38811a7 + cae4c91 commit ff516fb
Show file tree
Hide file tree
Showing 21 changed files with 17 additions and 20 deletions.
3 changes: 1 addition & 2 deletions integration-tests/cucumber-tests-platform-common/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM eclipse-temurin:17
WORKDIR /
COPY cucumber-tests-platform-common/target/cucumber-*-test-jar-with-dependencies.jar /
COPY certificates /etc/ssl/certs/organisations/
RUN wget https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar
CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-coverage/jacoco-it.exec \
-Dcucumber.execution.strict=true\
Expand All @@ -10,4 +9,4 @@ CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-co
-Dtimeout=30\
-DskipITCoverage=false\
-DrunHeadless=true\
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output/osgp-cucumber-tests-platform-common
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM eclipse-temurin:17
WORKDIR /
COPY cucumber-tests-platform-publiclighting/target/cucumber-*-test-jar-with-dependencies.jar /
COPY certificates /etc/ssl/certs/organisations/
RUN wget https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar
CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-coverage/jacoco-it.exec \
-Dcucumber.execution.strict=true\
Expand All @@ -10,4 +9,4 @@ CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-co
-Dtimeout=30\
-DskipITCoverage=false\
-DrunHeadless=true\
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output/osgp-cucumber-tests-platform-publiclighting
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM eclipse-temurin:17
WORKDIR /
COPY cucumber-tests-platform-smartmetering/target/cucumber-*-test-jar-with-dependencies.jar /
COPY certificates /etc/ssl/certs/organisations/
RUN wget https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar
CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-coverage/jacoco-it.exec \
-Dcucumber.execution.strict=true\
Expand All @@ -10,4 +9,4 @@ CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-co
-Dtimeout=30\
-DskipITCoverage=false\
-DrunHeadless=true\
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output/osgp-cucumber-tests-platform-smartmetering
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@

<!-- App config files -->
<Environment name="osgp/AdapterProtocolIec60870/config"
value="/etc/osp/osgp-adapter-protocol-iec60870.properties" type="java.lang.String"
value="/etc/osp/osgp-protocol-adapter-iec60870.properties" type="java.lang.String"
override="true" />
<Environment name="osgp/AdapterProtocolIec60870/log-config"
value="/etc/osp/osgp-adapter-protocol-iec60870-logback.xml" type="java.lang.String"
value="/etc/osp/osgp-protocol-adapter-iec60870-logback.xml" type="java.lang.String"
override="true" />

</Context>
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
})
@EnableTransactionManagement()
@Import({Iec60870MessagingConfig.class, Iec60870Config.class, MetricsConfig.class})
@PropertySource("classpath:osgp-adapter-protocol-iec60870.properties")
@PropertySource("classpath:osgp-protocol-adapter-iec60870.properties")
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
@PropertySource(
value = "file:${osgp/AdapterProtocolIec60870/config}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@Configuration
@EnableTransactionManagement()
@PropertySource("classpath:osgp-adapter-protocol-iec60870.properties")
@PropertySource("classpath:osgp-protocol-adapter-iec60870.properties")
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
@PropertySource(
value = "file:${osgp/AdapterProtocolIec60870/config}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/** An application context Java configuration class. */
@Configuration
@PropertySource("classpath:osgp-adapter-protocol-iec60870.properties")
@PropertySource("classpath:osgp-protocol-adapter-iec60870.properties")
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
@PropertySource(
value = "file:${osgp/AdapterProtocolIec60870/config}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SPDX-License-Identifier: Apache-2.0
<Environment name="osgp/Global/config" value="/etc/osp/global.properties"
type="java.lang.String" override="false" />
<Environment name="osgp/AdapterProtocolIec60870/config"
value="/etc/osp/osgp-adapter-protocol-iec60870.properties" type="java.lang.String"
value="/etc/osp/osgp-protocol-adapter-iec60870.properties" type="java.lang.String"
override="true" />
<Environment name="osgp/AdapterProtocolIec60870/log-config"
value="/etc/osp/osgp-adapter-protocol-iec60870-logback.xml" type="java.lang.String"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Iec61850Config.class,
MetricsConfig.class
})
@PropertySource("classpath:osgp-adapter-protocol-iec61850.properties")
@PropertySource("classpath:osgp-protocol-adapter-iec61850.properties")
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
@PropertySource(
value = "file:${osgp/AdapterProtocolIec61850/config}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

@Configuration
@EnableTransactionManagement()
@PropertySource("classpath:osgp-adapter-protocol-iec61850.properties")
@PropertySource("classpath:osgp-protocol-adapter-iec61850.properties")
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
@PropertySource(
value = "file:${osgp/AdapterProtocolIec61850/config}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/** An application context Java configuration class. */
@Configuration
@EnableTransactionManagement()
@PropertySource("classpath:osgp-adapter-protocol-iec61850.properties")
@PropertySource("classpath:osgp-protocol-adapter-iec61850.properties")
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
@PropertySource(
value = "file:${osgp/AdapterProtocolIec61850/config}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SPDX-License-Identifier: Apache-2.0
<Environment name="osgp/Global/config" value="/etc/osp/global.properties"
type="java.lang.String" override="false" />
<Environment name="osgp/AdapterProtocolIec61850/config"
value="/etc/osp/osgp-adapter-protocol-iec61850.properties" type="java.lang.String"
value="/etc/osp/osgp-protocol-adapter-iec61850.properties" type="java.lang.String"
override="true" />
<Environment name="osgp/AdapterProtocolIec61850/log-config"
value="/etc/osp/osgp-adapter-protocol-iec61850-logback.xml" type="java.lang.String"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
type="java.lang.String" override="true" />

<Environment name="osgp/AdapterProtocolOslpElster/config"
value="/etc/osp/osgp-adapter-protocol-oslp-elster.properties" type="java.lang.String"
value="/etc/osp/osgp-protocol-adapter-oslp-elster.properties" type="java.lang.String"
override="true" />
<Environment name="osgp/AdapterProtocolOslpElster/log-config"
value="/etc/osp/osgp-adapter-protocol-oslp-elster-logback.xml" type="java.lang.String"
value="/etc/osp/osgp-protocol-adapter-oslp-elster-logback.xml" type="java.lang.String"
override="true" />

</Context>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
})
@Import({MetricsConfig.class})
@EnableTransactionManagement()
@PropertySource("classpath:osgp-adapter-protocol-oslp-elster.properties")
@PropertySource("classpath:osgp-protocol-adapter-oslp-elster.properties")
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
@PropertySource(
value = "file:${osgp/AdapterProtocolOslpElster/config}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SPDX-License-Identifier: Apache-2.0
type="java.lang.String" override="true" />

<Environment name="osgp/AdapterProtocolOslpElster/config"
value="/etc/osp/osgp-adapter-protocol-oslp-elster.properties" type="java.lang.String"
value="/etc/osp/osgp-protocol-adapter-oslp-elster.properties" type="java.lang.String"
override="true" />
<Environment name="osgp/AdapterProtocolOslpElster/log-config"
value="/etc/osp/osgp-adapter-protocol-oslp-elster-logback.xml" type="java.lang.String"
Expand Down

0 comments on commit ff516fb

Please sign in to comment.