summaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-dcae/src/main/resources
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2021-06-01 11:35:30 +0100
committerFrancescoFioraEst <francesco.fiora@est.tech>2021-06-08 11:21:12 +0100
commit27c35a2fcd5efe160d92749669a686e01ea09904 (patch)
tree7d9f6de24f682cadfffdc1aaca6302bf0fa76ae2 /participant/participant-impl/participant-impl-dcae/src/main/resources
parent20c7487f77d0728d270b2bed34c2c798d17cc12d (diff)
Convert DCAE Participant to SpringBoot Application
Issue-ID: POLICY-3244 Change-Id: I64cef98a4b1a405160d533983baf7a860f1816f5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-dcae/src/main/resources')
-rw-r--r--participant/participant-impl/participant-impl-dcae/src/main/resources/config/DCAEParticipantConfig.json15
-rw-r--r--participant/participant-impl/participant-impl-dcae/src/main/resources/config/application.yaml3
2 files changed, 10 insertions, 8 deletions
diff --git a/participant/participant-impl/participant-impl-dcae/src/main/resources/config/DCAEParticipantConfig.json b/participant/participant-impl/participant-impl-dcae/src/main/resources/config/DCAEParticipantConfig.json
index 863c135d5..a7ea089b2 100644
--- a/participant/participant-impl/participant-impl-dcae/src/main/resources/config/DCAEParticipantConfig.json
+++ b/participant/participant-impl/participant-impl-dcae/src/main/resources/config/DCAEParticipantConfig.json
@@ -1,22 +1,21 @@
{
"name": "ControlLoopParticipantDcae",
"clampClientParameters": {
- "name": "Clamp",
- "host": "0.0.0.0",
+ "clientName": "Clamp",
+ "hostname": "0.0.0.0",
"port": 8443,
"userName": "admin",
"password": "password",
- "https": true,
- "aaf": false
+ "useHttps": true,
+ "allowSelfSignedCerts": false
},
"consulClientParameters": {
- "name": "Consul",
- "host": "consul",
+ "clientName": "Consul",
+ "hostname": "consul",
"port": 31321,
"userName": "admin",
"password": "password",
- "https": false,
- "aaf": false
+ "useHttps": false
},
"intermediaryParameters": {
"name": "Participant parameters",
diff --git a/participant/participant-impl/participant-impl-dcae/src/main/resources/config/application.yaml b/participant/participant-impl/participant-impl-dcae/src/main/resources/config/application.yaml
new file mode 100644
index 000000000..58908cf8d
--- /dev/null
+++ b/participant/participant-impl/participant-impl-dcae/src/main/resources/config/application.yaml
@@ -0,0 +1,3 @@
+
+participant:
+ file: src/main/resources/config/DCAEParticipantConfig.json