summaryrefslogtreecommitdiffstats
path: root/catalog-fe/src/test/resources/config
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 10:28:42 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 10:51:01 +0200
commit451a3400b76511393c62a444f588a4ed15f4a549 (patch)
treee4f5873a863d1d3e55618eab48b83262f874719d /catalog-fe/src/test/resources/config
parent5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff)
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-fe/src/test/resources/config')
-rw-r--r--catalog-fe/src/test/resources/config/catalog-fe/configuration.yaml69
-rw-r--r--catalog-fe/src/test/resources/config/catalog-fe/rest-configuration-info.yaml12
-rw-r--r--catalog-fe/src/test/resources/config/configuration1.yaml17
-rw-r--r--catalog-fe/src/test/resources/config/sample.yaml17
-rw-r--r--catalog-fe/src/test/resources/config/sampleNoProtocol.yaml17
5 files changed, 132 insertions, 0 deletions
diff --git a/catalog-fe/src/test/resources/config/catalog-fe/configuration.yaml b/catalog-fe/src/test/resources/config/catalog-fe/configuration.yaml
new file mode 100644
index 0000000000..22bfee90f9
--- /dev/null
+++ b/catalog-fe/src/test/resources/config/catalog-fe/configuration.yaml
@@ -0,0 +1,69 @@
+# Needed for logging purposes. To be populated by DevOps - currently dummy
+feFqdn: asdcFe.att.com
+
+# catalog backend hostname
+beHost: localhost
+
+# catalog backend http port
+beHttpPort: 8181
+
+# catalog backend http context
+beContext: /sdc2/rest/v1/catalog/upload/resources
+
+# catalog backend protocol
+beProtocol: http
+
+# catalog backend ssl port
+beSslPort: 8443
+
+# threadpool size for handling requests
+threadpoolSize: 50
+
+# request processing timeout (seconds)
+requestTimeout: 10
+
+# a4c hostname
+a4cHost: localhost
+
+# a4c http port
+a4cHttpPort: 8088
+
+
+identificationHeaderFields:
+ -
+ - &HTTP_IV_USER HTTP_IV_USER
+ - &iv-user iv-user
+ -
+ - &USER_ID USER_ID
+ - &csp-userId csp-userId
+ -
+ - &HTTP_CSP_WSTYPE HTTP_CSP_WSTYPE
+ - &csp-wstype csp-wstype
+
+optionalHeaderFields:
+ -
+ - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
+ - &csp-firstname csp-firstname
+ -
+ - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
+ - &csp-lastname csp-lastname
+ -
+ - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
+ - &iv-remote-address iv-remote-address
+
+
+version: 1.0
+released: 2012-11-30
+
+# Connection parameters
+connection:
+ url: jdbc:mysql://localhost:3306/db
+ poolSize: 17
+
+# Protocols
+protocols:
+ - http
+ - https
+
+
+ \ No newline at end of file
diff --git a/catalog-fe/src/test/resources/config/catalog-fe/rest-configuration-info.yaml b/catalog-fe/src/test/resources/config/catalog-fe/rest-configuration-info.yaml
new file mode 100644
index 0000000000..a3559c631f
--- /dev/null
+++ b/catalog-fe/src/test/resources/config/catalog-fe/rest-configuration-info.yaml
@@ -0,0 +1,12 @@
+# rest read timeout - means no timeout
+readTimeoutInSec: 0
+
+# whether to ignore certificate
+ignoreCertificate: false
+
+# the connection pool size
+connectionPoolSize: 10
+
+# create connection timeout
+connectTimeoutInSec: 12
+
diff --git a/catalog-fe/src/test/resources/config/configuration1.yaml b/catalog-fe/src/test/resources/config/configuration1.yaml
new file mode 100644
index 0000000000..12ab2c777f
--- /dev/null
+++ b/catalog-fe/src/test/resources/config/configuration1.yaml
@@ -0,0 +1,17 @@
+version: 1.0
+released: 2012-11-30
+
+# Connection parameters
+connection:
+ url: jdbc:mysql://localhost:3306/db
+ poolSize: 5
+
+# Protocols
+protocols:
+ - http
+ - https
+
+# Users
+users:
+ tom: passwd
+ bob: passwd \ No newline at end of file
diff --git a/catalog-fe/src/test/resources/config/sample.yaml b/catalog-fe/src/test/resources/config/sample.yaml
new file mode 100644
index 0000000000..12ab2c777f
--- /dev/null
+++ b/catalog-fe/src/test/resources/config/sample.yaml
@@ -0,0 +1,17 @@
+version: 1.0
+released: 2012-11-30
+
+# Connection parameters
+connection:
+ url: jdbc:mysql://localhost:3306/db
+ poolSize: 5
+
+# Protocols
+protocols:
+ - http
+ - https
+
+# Users
+users:
+ tom: passwd
+ bob: passwd \ No newline at end of file
diff --git a/catalog-fe/src/test/resources/config/sampleNoProtocol.yaml b/catalog-fe/src/test/resources/config/sampleNoProtocol.yaml
new file mode 100644
index 0000000000..6197232aa4
--- /dev/null
+++ b/catalog-fe/src/test/resources/config/sampleNoProtocol.yaml
@@ -0,0 +1,17 @@
+version: 1.0
+released: 2012-11-30
+
+# Connection parameters
+connection:
+ url: jdbc:mysql://localhost:3306/db
+ poolSize: 5
+
+# Protocols
+#protocols:
+# - http
+# - https
+
+# Users
+users:
+ tom: passwd
+ bob: passwd \ No newline at end of file