summaryrefslogtreecommitdiffstats
path: root/testsuites/stability/src/main/resources/setup/config
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2023-10-16 17:21:15 +0100
committersaul.gill <saul.gill@est.tech>2023-10-16 17:21:19 +0100
commitd1d92a580b4e95f02d9fcbd72f8884140d758ca5 (patch)
treef980fdb6d73b1963b87ebcc67bea3c6ee2197deb /testsuites/stability/src/main/resources/setup/config
parentf0b1c5bf1662edf6a2a07b79c1ffe7e42e1bb054 (diff)
Add automation for s3p tests
Issue-ID: POLICY-4844 Change-Id: Ia6003d5b492d2731fdd0d17342b4fd1c213c4b91 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'testsuites/stability/src/main/resources/setup/config')
-rw-r--r--testsuites/stability/src/main/resources/setup/config/apiParameters.yaml6
-rw-r--r--testsuites/stability/src/main/resources/setup/config/papParameters.yaml73
2 files changed, 46 insertions, 33 deletions
diff --git a/testsuites/stability/src/main/resources/setup/config/apiParameters.yaml b/testsuites/stability/src/main/resources/setup/config/apiParameters.yaml
index e61653ac..7d486ae8 100644
--- a/testsuites/stability/src/main/resources/setup/config/apiParameters.yaml
+++ b/testsuites/stability/src/main/resources/setup/config/apiParameters.yaml
@@ -2,6 +2,8 @@ server:
port: 6969
ssl:
enabled: false
+ servlet:
+ context-path: /policy/api/v1
spring:
security.user:
@@ -79,4 +81,6 @@ management:
base-path: /
exposure:
include: health,metrics,prometheus
- path-mapping.prometheus: metrics
+ path-mapping:
+ -metrics: plain-metrics
+ -prometheus: metrics \ No newline at end of file
diff --git a/testsuites/stability/src/main/resources/setup/config/papParameters.yaml b/testsuites/stability/src/main/resources/setup/config/papParameters.yaml
index 8249edd7..40203653 100644
--- a/testsuites/stability/src/main/resources/setup/config/papParameters.yaml
+++ b/testsuites/stability/src/main/resources/setup/config/papParameters.yaml
@@ -23,12 +23,18 @@ spring:
server:
port: 6969
+ servlet:
+ context-path: /policy/pap/v1
ssl:
enabled: false
pap:
name: PapGroup
aaf: false
+ topic:
+ pdp-pap.name: POLICY-PDP-PAP
+ notification.name: POLICY-NOTIFICATION
+ heartbeat.name: POLICY-HEARTBEAT
pdpParameters:
heartBeatMs: 120000
updateParameters:
@@ -37,41 +43,42 @@ pap:
stateChangeParameters:
maxRetryCount: 1
maxWaitMs: 30000
+ savePdpStatisticsInDb: true
topicParameterGroup:
topicSources:
- - topic: POLICY-PDP-PAP
- servers:
- - message-router
- topicCommInfrastructure: dmaap
- useHttps: false
- fetchTimeout: 15000
- - topic: POLICY-HEARTBEAT
- effectiveTopic: POLICY-PDP-PAP
- consumerGroup: policy-pap
- servers:
- - message-router
- topicCommInfrastructure: dmaap
- useHttps: false
- fetchTimeout: 15000
+ - topic: POLICY-PDP-PAP
+ servers:
+ - message-router
+ topicCommInfrastructure: dmaap
+ useHttps: false
+ fetchTimeout: 15000
+ - topic: POLICY-HEARTBEAT
+ effectiveTopic: POLICY-PDP-PAP
+ consumerGroup: policy-pap
+ servers:
+ - message-router
+ topicCommInfrastructure: dmaap
+ useHttps: false
+ fetchTimeout: 15000
topicSinks:
- - topic: POLICY-PDP-PAP
- servers:
- - message-router
- topicCommInfrastructure: dmaap
- useHttps: false
- - topic: POLICY-NOTIFICATION
- servers:
- - message-router
- topicCommInfrastructure: dmaap
- useHttps: false
+ - topic: POLICY-PDP-PAP
+ servers:
+ - message-router
+ topicCommInfrastructure: dmaap
+ useHttps: false
+ - topic: POLICY-NOTIFICATION
+ servers:
+ - message-router
+ topicCommInfrastructure: dmaap
+ useHttps: false
healthCheckRestClientParameters:
- - clientName: api
- hostname: policy-api
- port: 6969
- userName: policyadmin
- password: zb!XztG34
- useHttps: false
- basePath: policy/api/v1/healthcheck
+ - clientName: api
+ hostname: policy-api
+ port: 6969
+ userName: policyadmin
+ password: zb!XztG34
+ useHttps: false
+ basePath: policy/api/v1/healthcheck
management:
endpoints:
@@ -79,4 +86,6 @@ management:
base-path: /
exposure:
include: health, metrics, prometheus
- path-mapping.prometheus: metrics
+ path-mapping:
+ -metrics: plain-metrics
+ -prometheus: metrics \ No newline at end of file