Skip to content

Commit ff516fb

Browse files
authored
Merge pull request #1521 from OSGP/feature/FDP-2849-renaming-protocol-adapter-properties-cherry
Feature FDP-2849: renaming protocol adapter properties
2 parents 38811a7 + cae4c91 commit ff516fb

File tree

21 files changed

+17
-20
lines changed

21 files changed

+17
-20
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM eclipse-temurin:17
22
WORKDIR /
33
COPY cucumber-tests-platform-common/target/cucumber-*-test-jar-with-dependencies.jar /
4-
COPY certificates /etc/ssl/certs/organisations/
54
RUN wget https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar
65
CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-coverage/jacoco-it.exec \
76
-Dcucumber.execution.strict=true\
@@ -10,4 +9,4 @@ CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-co
109
-Dtimeout=30\
1110
-DskipITCoverage=false\
1211
-DrunHeadless=true\
13-
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output
12+
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output/osgp-cucumber-tests-platform-common
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM eclipse-temurin:17
22
WORKDIR /
33
COPY cucumber-tests-platform-publiclighting/target/cucumber-*-test-jar-with-dependencies.jar /
4-
COPY certificates /etc/ssl/certs/organisations/
54
RUN wget https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar
65
CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-coverage/jacoco-it.exec \
76
-Dcucumber.execution.strict=true\
@@ -10,4 +9,4 @@ CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-co
109
-Dtimeout=30\
1110
-DskipITCoverage=false\
1211
-DrunHeadless=true\
13-
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output
12+
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output/osgp-cucumber-tests-platform-publiclighting
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM eclipse-temurin:17
22
WORKDIR /
33
COPY cucumber-tests-platform-smartmetering/target/cucumber-*-test-jar-with-dependencies.jar /
4-
COPY certificates /etc/ssl/certs/organisations/
54
RUN wget https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar
65
CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-coverage/jacoco-it.exec \
76
-Dcucumber.execution.strict=true\
@@ -10,4 +9,4 @@ CMD java -javaagent:org.jacoco.agent-0.8.12-runtime.jar=destfile=/target/code-co
109
-Dtimeout=30\
1110
-DskipITCoverage=false\
1211
-DrunHeadless=true\
13-
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output
12+
-jar cucumber-*-test-jar-with-dependencies.jar -report /target/output/osgp-cucumber-tests-platform-smartmetering

osgp/protocol-adapter-iec60870/osgp-protocol-adapter-iec60870/context.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535

3636
<!-- App config files -->
3737
<Environment name="osgp/AdapterProtocolIec60870/config"
38-
value="/etc/osp/osgp-adapter-protocol-iec60870.properties" type="java.lang.String"
38+
value="/etc/osp/osgp-protocol-adapter-iec60870.properties" type="java.lang.String"
3939
override="true" />
4040
<Environment name="osgp/AdapterProtocolIec60870/log-config"
41-
value="/etc/osp/osgp-adapter-protocol-iec60870-logback.xml" type="java.lang.String"
41+
value="/etc/osp/osgp-protocol-adapter-iec60870-logback.xml" type="java.lang.String"
4242
override="true" />
4343

4444
</Context>

osgp/protocol-adapter-iec60870/osgp-protocol-adapter-iec60870/src/main/java/org/opensmartgridplatform/adapter/protocol/iec60870/application/config/ApplicationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
})
3030
@EnableTransactionManagement()
3131
@Import({Iec60870MessagingConfig.class, Iec60870Config.class, MetricsConfig.class})
32-
@PropertySource("classpath:osgp-adapter-protocol-iec60870.properties")
32+
@PropertySource("classpath:osgp-protocol-adapter-iec60870.properties")
3333
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
3434
@PropertySource(
3535
value = "file:${osgp/AdapterProtocolIec60870/config}",

osgp/protocol-adapter-iec60870/osgp-protocol-adapter-iec60870/src/main/java/org/opensmartgridplatform/adapter/protocol/iec60870/application/config/Iec60870Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
@Configuration
1717
@EnableTransactionManagement()
18-
@PropertySource("classpath:osgp-adapter-protocol-iec60870.properties")
18+
@PropertySource("classpath:osgp-protocol-adapter-iec60870.properties")
1919
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
2020
@PropertySource(
2121
value = "file:${osgp/AdapterProtocolIec60870/config}",

osgp/protocol-adapter-iec60870/osgp-protocol-adapter-iec60870/src/main/java/org/opensmartgridplatform/adapter/protocol/iec60870/application/config/Iec60870MessagingConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/** An application context Java configuration class. */
1818
@Configuration
19-
@PropertySource("classpath:osgp-adapter-protocol-iec60870.properties")
19+
@PropertySource("classpath:osgp-protocol-adapter-iec60870.properties")
2020
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
2121
@PropertySource(
2222
value = "file:${osgp/AdapterProtocolIec60870/config}",

osgp/protocol-adapter-iec60870/osgp-protocol-adapter-iec60870/src/main/webapp/META-INF/context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SPDX-License-Identifier: Apache-2.0
4040
<Environment name="osgp/Global/config" value="/etc/osp/global.properties"
4141
type="java.lang.String" override="false" />
4242
<Environment name="osgp/AdapterProtocolIec60870/config"
43-
value="/etc/osp/osgp-adapter-protocol-iec60870.properties" type="java.lang.String"
43+
value="/etc/osp/osgp-protocol-adapter-iec60870.properties" type="java.lang.String"
4444
override="true" />
4545
<Environment name="osgp/AdapterProtocolIec60870/log-config"
4646
value="/etc/osp/osgp-adapter-protocol-iec60870-logback.xml" type="java.lang.String"

osgp/protocol-adapter-iec61850/osgp-protocol-adapter-iec61850/src/main/java/org/opensmartgridplatform/adapter/protocol/iec61850/application/config/ApplicationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Iec61850Config.class,
3131
MetricsConfig.class
3232
})
33-
@PropertySource("classpath:osgp-adapter-protocol-iec61850.properties")
33+
@PropertySource("classpath:osgp-protocol-adapter-iec61850.properties")
3434
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
3535
@PropertySource(
3636
value = "file:${osgp/AdapterProtocolIec61850/config}",

osgp/protocol-adapter-iec61850/osgp-protocol-adapter-iec61850/src/main/java/org/opensmartgridplatform/adapter/protocol/iec61850/application/config/Iec61850Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
@Configuration
3232
@EnableTransactionManagement()
33-
@PropertySource("classpath:osgp-adapter-protocol-iec61850.properties")
33+
@PropertySource("classpath:osgp-protocol-adapter-iec61850.properties")
3434
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
3535
@PropertySource(
3636
value = "file:${osgp/AdapterProtocolIec61850/config}",

osgp/protocol-adapter-iec61850/osgp-protocol-adapter-iec61850/src/main/java/org/opensmartgridplatform/adapter/protocol/iec61850/application/config/MessagingConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/** An application context Java configuration class. */
2121
@Configuration
2222
@EnableTransactionManagement()
23-
@PropertySource("classpath:osgp-adapter-protocol-iec61850.properties")
23+
@PropertySource("classpath:osgp-protocol-adapter-iec61850.properties")
2424
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
2525
@PropertySource(
2626
value = "file:${osgp/AdapterProtocolIec61850/config}",

osgp/protocol-adapter-iec61850/osgp-protocol-adapter-iec61850/src/main/webapp/META-INF/context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SPDX-License-Identifier: Apache-2.0
4040
<Environment name="osgp/Global/config" value="/etc/osp/global.properties"
4141
type="java.lang.String" override="false" />
4242
<Environment name="osgp/AdapterProtocolIec61850/config"
43-
value="/etc/osp/osgp-adapter-protocol-iec61850.properties" type="java.lang.String"
43+
value="/etc/osp/osgp-protocol-adapter-iec61850.properties" type="java.lang.String"
4444
override="true" />
4545
<Environment name="osgp/AdapterProtocolIec61850/log-config"
4646
value="/etc/osp/osgp-adapter-protocol-iec61850-logback.xml" type="java.lang.String"

osgp/protocol-adapter-oslp/osgp-protocol-adapter-oslp-elster/context.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
type="java.lang.String" override="true" />
3939

4040
<Environment name="osgp/AdapterProtocolOslpElster/config"
41-
value="/etc/osp/osgp-adapter-protocol-oslp-elster.properties" type="java.lang.String"
41+
value="/etc/osp/osgp-protocol-adapter-oslp-elster.properties" type="java.lang.String"
4242
override="true" />
4343
<Environment name="osgp/AdapterProtocolOslpElster/log-config"
44-
value="/etc/osp/osgp-adapter-protocol-oslp-elster-logback.xml" type="java.lang.String"
44+
value="/etc/osp/osgp-protocol-adapter-oslp-elster-logback.xml" type="java.lang.String"
4545
override="true" />
4646

4747
</Context>

osgp/protocol-adapter-oslp/osgp-protocol-adapter-oslp-elster/src/main/java/org/opensmartgridplatform/adapter/protocol/oslp/elster/application/config/ApplicationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
})
3333
@Import({MetricsConfig.class})
3434
@EnableTransactionManagement()
35-
@PropertySource("classpath:osgp-adapter-protocol-oslp-elster.properties")
35+
@PropertySource("classpath:osgp-protocol-adapter-oslp-elster.properties")
3636
@PropertySource(value = "file:${osgp/Global/config}", ignoreResourceNotFound = true)
3737
@PropertySource(
3838
value = "file:${osgp/AdapterProtocolOslpElster/config}",

osgp/protocol-adapter-oslp/osgp-protocol-adapter-oslp-elster/src/main/webapp/META-INF/context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SPDX-License-Identifier: Apache-2.0
4141
type="java.lang.String" override="true" />
4242

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

0 commit comments

Comments
 (0)