aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/resources/config/common/configuration.yaml
diff options
context:
space:
mode:
authorm.kowalski3 <m.kowalski3@partner.samsung.com>2019-05-29 16:07:52 +0200
committerOren Kleks <orenkle@amdocs.com>2019-05-30 10:14:52 +0000
commit937803bdd4b6e459093e42d784195a60556a7021 (patch)
tree293ff78115acccf18bdeab69b9b03b63a41a8b4e /common-app-api/src/test/resources/config/common/configuration.yaml
parentdc5e4d94869c09c3961e58dd149d6f9150b80256 (diff)
Add unit tests for ConfigurationManager
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I2acfba224c46ffa743a254b1c560767b947f8fdd
Diffstat (limited to 'common-app-api/src/test/resources/config/common/configuration.yaml')
-rw-r--r--common-app-api/src/test/resources/config/common/configuration.yaml62
1 files changed, 62 insertions, 0 deletions
diff --git a/common-app-api/src/test/resources/config/common/configuration.yaml b/common-app-api/src/test/resources/config/common/configuration.yaml
new file mode 100644
index 0000000000..59d4121116
--- /dev/null
+++ b/common-app-api/src/test/resources/config/common/configuration.yaml
@@ -0,0 +1,62 @@
+identificationHeaderFields:
+ - HTTP_IV_USER
+
+# catalog backend hostname
+beFqdn: localhost
+# sdccatalog.com
+
+# catalog backend http port
+beHttpPort: 8080
+
+# catalog backend http context
+beContext: /sdc/rest/config/get
+
+# catalog backend protocol
+beProtocol: http
+
+# catalog backend ssl port
+beSslPort: 8443
+
+version: 1.1.0
+released: 2012-11-30
+toscaConformanceLevel: 8.0
+minToscaConformanceLevel: 3.0
+
+titanCfgFile: /home/vagrant/catalog-be/config/catalog-be/titan.properties
+titanInMemoryGraph: false
+titanLockTimeout: 1800
+
+# The interval to try and reconnect to titan DB when it is down during ASDC startup:
+titanReconnectIntervalInSeconds: 3
+
+# The read timeout towards Titan DB when health check is invoked:
+titanHealthCheckReadTimeout: 1
+
+# The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
+esReconnectIntervalInSeconds: 3
+uebHealthCheckReconnectIntervalInSeconds: 15
+uebHealthCheckReadTimeout: 4
+
+# Protocols
+protocols:
+ - http
+ - https
+
+# Default imports
+defaultImports:
+ - nodes:
+ file: nodes.yml
+ - datatypes:
+ file: data.yml
+ - capabilities:
+ file: capabilities.yml
+ - relationships:
+ file: relationships.yml
+ - groups:
+ file: groups.yml
+ - policies:
+ file: policies.yml
+
+# Users
+users:
+ tom: passwd