aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/config.yml38
-rw-r--r--src/main/resources/logback.xml25
2 files changed, 49 insertions, 14 deletions
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index bb5e513..b385750 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -39,16 +39,18 @@ database:
minIdleTime: 1 minute
dcaeControllerConnection:
- host:
+ host: dcae-controller-hostname
port: 9998
# Apparently this is variable parameter amongst DCAE controller instances
basePath: resources
- user:
- password:
+ user:
+ password:
databusControllerConnection:
- host:
- port: 8080
+ host: databus-controller-hostname
+ port: 8443
+ mechId:
+ password:
httpClient:
# The minimum number of threads to use for asynchronous calls.
@@ -64,3 +66,29 @@ httpClient:
# If true, the client will encode request entities with gzip
# content encoding. (Requires gzipEnabled to be true).
gzipEnabledForRequests: false
+
+ # Requests to databus controller were timing out so I bumped it up 4x of default
+ timeout: 5000milliseconds
+ connectionTimeout: 5000milliseconds
+
+server:
+ # requestLog is for those messages you see right when the service handles HTTP requests
+ requestLog:
+ appenders:
+ - type: file
+ currentLogFilename: /opt/logs/DCAE/inventory/audit.log
+ archive: true
+ archivedLogFilenamePattern: /opt/logs/DCAE/inventory/audit-%d.log.gz
+ archivedFileCount: 10
+ - type: console
+
+# Rolling is c.q.l.core.rolling.TimeBasedRollingPolicy
+logging:
+ level: INFO
+ appenders:
+ - type: file
+ currentLogFilename: /opt/logs/DCAE/inventory/audit.log
+ archive: true
+ archivedLogFilenamePattern: /opt/logs/DCAE/inventory/audit-%d.log.gz
+ archivedFileCount: 10
+ - type: console
diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml
index 9e3f5bc..aa16762 100644
--- a/src/main/resources/logback.xml
+++ b/src/main/resources/logback.xml
@@ -1,15 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- ============LICENSE_START===========
+ ============LICENSE_START=======================================================
dcae-inventory
- ==================================
- Copyright (C) 2016 AT&T
- ==================================
- This code is licensed under the Apache License, Version 2.0; you may
- not use this code for any purpose except in compliance with the Apache
- License. You may obtain a copy of the License at
- http://www.att.com/legal/openecomp.html
- ============LICENSE_END===========
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ============LICENSE_END=========================================================
-->
<configuration>