From 53e374471d6c513f689d781d757ef818fb6cee4e Mon Sep 17 00:00:00 2001 From: sblimkie Date: Wed, 29 Aug 2018 10:24:32 -0400 Subject: Fix test-config for DR, Champ, and Gizmo Issue-ID: AAI-1457 Change-Id: Iac4482831b4694e261d3bbf5562046d10d2d2224 Signed-off-by: sblimkie --- champ-service/dynamic/conf/champ-beans.xml | 4 +- champ-service/logging/logback.xml | 179 +++++++++++++++++++++ .../appconfig/model/edge_properties_v10.json | 6 + .../appconfig/model/edge_properties_v13.json | 6 + .../appconfig/model/edge_properties_v7.json | 6 + .../appconfig/model/edge_properties_v8.json | 6 + .../appconfig/model/edge_properties_v9.json | 6 + crud-service/appconfig/schemaIngest.properties | 5 + data-router/dynamic/conf/entity-event-policy.xml | 9 -- data-router/dynamic/routes/entity-event.route | 2 +- docker-compose-app.yml | 1 + 11 files changed, 218 insertions(+), 12 deletions(-) create mode 100644 champ-service/logging/logback.xml create mode 100644 crud-service/appconfig/model/edge_properties_v10.json create mode 100644 crud-service/appconfig/model/edge_properties_v13.json create mode 100644 crud-service/appconfig/model/edge_properties_v7.json create mode 100644 crud-service/appconfig/model/edge_properties_v8.json create mode 100644 crud-service/appconfig/model/edge_properties_v9.json create mode 100644 crud-service/appconfig/schemaIngest.properties diff --git a/champ-service/dynamic/conf/champ-beans.xml b/champ-service/dynamic/conf/champ-beans.xml index 8abe258..c694694 100644 --- a/champ-service/dynamic/conf/champ-beans.xml +++ b/champ-service/dynamic/conf/champ-beans.xml @@ -51,7 +51,7 @@ - + @@ -77,4 +77,4 @@ - \ No newline at end of file + diff --git a/champ-service/logging/logback.xml b/champ-service/logging/logback.xml new file mode 100644 index 0000000..e2da8bc --- /dev/null +++ b/champ-service/logging/logback.xml @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + ${errorLogPattern} + + + + + + + + + ${logDirectory}/${generalLogName}.log + + ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + ${errorLogPattern} + + + + + + INFO + + 256 + + + + + + ${logDirectory}/${auditLogName}.log + + ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + ${auditMetricPattern} + + + + 256 + + + + + ${logDirectory}/${metricsLogName}.log + + ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + ${auditMetricPattern} + + + + + + 256 + + + + + ${logDirectory}/${debugLogName}.log + + ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + ${errorLogPattern} + + + + + 256 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crud-service/appconfig/model/edge_properties_v10.json b/crud-service/appconfig/model/edge_properties_v10.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/crud-service/appconfig/model/edge_properties_v10.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/crud-service/appconfig/model/edge_properties_v13.json b/crud-service/appconfig/model/edge_properties_v13.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/crud-service/appconfig/model/edge_properties_v13.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/crud-service/appconfig/model/edge_properties_v7.json b/crud-service/appconfig/model/edge_properties_v7.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/crud-service/appconfig/model/edge_properties_v7.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/crud-service/appconfig/model/edge_properties_v8.json b/crud-service/appconfig/model/edge_properties_v8.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/crud-service/appconfig/model/edge_properties_v8.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/crud-service/appconfig/model/edge_properties_v9.json b/crud-service/appconfig/model/edge_properties_v9.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/crud-service/appconfig/model/edge_properties_v9.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/crud-service/appconfig/schemaIngest.properties b/crud-service/appconfig/schemaIngest.properties new file mode 100644 index 0000000..716545c --- /dev/null +++ b/crud-service/appconfig/schemaIngest.properties @@ -0,0 +1,5 @@ +schemaConfig=NA +nodeDir=/opt/app/crud-api/bundleconfig/etc/oxm +edgeDir=/opt/app/crud-api/bundleconfig/etc/dbedgerules +edgePropsDir=/opt/app/crud-service/config/model + diff --git a/data-router/dynamic/conf/entity-event-policy.xml b/data-router/dynamic/conf/entity-event-policy.xml index ccd6648..37bc21a 100755 --- a/data-router/dynamic/conf/entity-event-policy.xml +++ b/data-router/dynamic/conf/entity-event-policy.xml @@ -21,13 +21,4 @@ - - - - - - - - - diff --git a/data-router/dynamic/routes/entity-event.route b/data-router/dynamic/routes/entity-event.route index a7b38e3..7d2de39 100755 --- a/data-router/dynamic/routes/entity-event.route +++ b/data-router/dynamic/routes/entity-event.route @@ -1,4 +1,4 @@ - + diff --git a/docker-compose-app.yml b/docker-compose-app.yml index cd26407..102469b 100644 --- a/docker-compose-app.yml +++ b/docker-compose-app.yml @@ -168,6 +168,7 @@ services: hostname: champ-service volumes: - ${CHAMP_LOGS}:/logs + - /opt/test-config/champ-service/logging/logback.xml:/opt/app/champ-service/bundleconfig/etc/logback.xml - /opt/test-config/champ-service/appconfig:/opt/app/champ-service/config - /opt/test-config/champ-service/dynamic:/opt/app/champ-service/dynamic ports: -- cgit 1.2.3-korg