From bc565832b7b938a1df10ffa1c2e7c8caa1d71d41 Mon Sep 17 00:00:00 2001 From: "LaMont, William(wl2432)" Date: Fri, 29 May 2020 17:44:43 -0400 Subject: update junit to recheck for snapshot file Issue-ID: AAI-2922 Change-Id: I3ca6189fa6f1eec245f5299c79f052f0fac42be7 Signed-off-by: LaMont, William(wl2432) Signed-off-by: LaMont, William (wl2432) --- src/main/resources/application.properties | 14 +++- .../resources/etc/appprops/aaiconfig.properties | 1 + .../etc/appprops/datatoolscrons.properties | 3 +- src/main/resources/logback.xml | 83 +++++++++++++++++----- src/main/resources/uniquePropertyCheck-logback.xml | 47 +++++------- 5 files changed, 99 insertions(+), 49 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 698a6da..82780f7 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -61,7 +61,7 @@ schema.version.namespace.change.start=v12 # Specifies from which version should the client start seeing the edge label in payload schema.version.edge.label.start=v12 # Specifies the version that the application should default to -schema.version.api.default=v16 +schema.version.api.default=v19 schema.translator.list=config #schema.service.client=no-auth schema.service.base.url=https://localhost:8452/aai/schema-service/v1/ @@ -74,4 +74,14 @@ schema.service.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1 schema.service.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore schema.service.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0) -aaf.cadi.file=${server.local.startpath}/cadi.properties \ No newline at end of file +aaf.cadi.file=${server.local.startpath}/cadi.properties + +aperture.rdbmsname=aai_relational + +aperture.service.client=no-auth +aperture.service.base.url=http://localhost:8457/aai/aperture +aperture.service.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore +aperture.service.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore +aperture.service.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0) +aperture.service.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0) +aperture.service.timeout-in-milliseconds=300000 diff --git a/src/main/resources/etc/appprops/aaiconfig.properties b/src/main/resources/etc/appprops/aaiconfig.properties index ae5084f..b2dd2ed 100644 --- a/src/main/resources/etc/appprops/aaiconfig.properties +++ b/src/main/resources/etc/appprops/aaiconfig.properties @@ -99,6 +99,7 @@ aai.datagrooming.agezip=5 aai.datagrooming.agedelete=30 aai.datasnapshot.agezip=5 aai.datasnapshot.agedelete=30 +aai.datamigration.agedelete=30 #used by the dataSnapshot and dataGrooming tasks aai.cron.enable.dataSnapshot=true diff --git a/src/main/resources/etc/appprops/datatoolscrons.properties b/src/main/resources/etc/appprops/datatoolscrons.properties index 74b3c9e..e37931f 100644 --- a/src/main/resources/etc/appprops/datatoolscrons.properties +++ b/src/main/resources/etc/appprops/datatoolscrons.properties @@ -8,5 +8,4 @@ datagroomingcleanup.cron=0 06 0 * * ? datasnapshotcleanup.cron=0 17 0 * * ? datasnapshottasks.cron=0 45 * * * ? -datagroomingtasks.cron=0 10 1,5,9,13,17,21 * * ? -dataexporttask.cron=0 02 3 * * ? \ No newline at end of file +datagroomingtasks.cron=0 10 1,5,9,13,17,21 * * ? \ No newline at end of file diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index eff961f..7561f3f 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -184,6 +184,23 @@ + + ${logDirectory}/failover/failover.log + + ${logDirectory}/failover/failover.log.%d{yyyy-MM-dd} + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n + + + + + + 1000 + true + + + @@ -195,7 +212,7 @@ - ${"errorPattern"} + ${errorPattern} ${logDirectory}/createDBSchema/error.log.%d{yyyy-MM-dd} - ${"errorPattern"} + ${errorPattern} @@ -455,7 +472,7 @@ ${logDirectory}/misc/error.log.%d{yyyy-MM-dd} - ${"errorPattern"} + ${errorPattern} @@ -497,9 +514,9 @@ ACCEPT DENY - ${logDirectory}/dupetool/debug.log + ${logDirectory}/dupeTool/debug.log - ${logDirectory}/dupetool/debug.log.%d{yyyy-MM-dd} + ${logDirectory}/dupeTool/debug.log.%d{yyyy-MM-dd} ${debugPattern} @@ -600,7 +617,7 @@ - + DEBUG @@ -630,7 +647,38 @@ ${errorPattern} - + + + + + + INFO + ACCEPT + DENY + + + + + logFilenameAppender + undefined + + + + + ${logDirectory}/migration/${logFilenameAppender}.log + + ${logDirectory}/migration/${logFilenameAppender}.log.%d{yyyy-MM-dd} + + + + %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%m%n + + + + + @@ -954,6 +1002,9 @@ + + + @@ -1028,6 +1079,15 @@ + + + + + + + + + @@ -1041,15 +1101,6 @@ - - - - - - - - - diff --git a/src/main/resources/uniquePropertyCheck-logback.xml b/src/main/resources/uniquePropertyCheck-logback.xml index b4522d5..6420690 100644 --- a/src/main/resources/uniquePropertyCheck-logback.xml +++ b/src/main/resources/uniquePropertyCheck-logback.xml @@ -11,39 +11,28 @@ - + - - - INFO - ACCEPT - DENY - - - - - logFilenameAppender - undefined - - - - - ${logDirectory}/uniquePropertyCheck/${logFilenameAppender}.log - - ${logDirectory}/uniquePropertyCheck/${logFilenameAppender}.log.%d{yyyy-MM-dd} - - - - ${auditPattern} - - - - + + + INFO + ACCEPT + DENY + + ${logDirectory}/uniquePropertyCheck/debug.log + + ${logDirectory}/uniquePropertyCheck/debug.log.%d{yyyy-MM-dd} + 7 + true + + + ${debugPattern} + + + -- cgit 1.2.3-korg