Commit 0d6344c2 authored by Artem Dobrynin (EPAM)'s avatar Artem Dobrynin (EPAM) Committed by Rostislav Dublin (EPAM)
Browse files

GONRG-1777: Implement logic for Backup Service [publish]

https://jiraeu.epam.com/browse/GONRG-1777
https://jiraeu.epam.com/browse/GONRG-1735

* Added logback.xml
* Updated pom
parent ac4d544c
...@@ -26,7 +26,6 @@ The following software have components provided under the terms of this license: ...@@ -26,7 +26,6 @@ The following software have components provided under the terms of this license:
- Apache Log4j API (from ) - Apache Log4j API (from )
- Apache Log4j to SLF4J Adapter (from ) - Apache Log4j to SLF4J Adapter (from )
- AssertJ fluent assertions (from ) - AssertJ fluent assertions (from )
- AutoValue Annotations (from )
- Bean Validation API (from http://beanvalidation.org) - Bean Validation API (from http://beanvalidation.org)
- Byte Buddy (without dependencies) (from ) - Byte Buddy (without dependencies) (from )
- Byte Buddy Java agent (from ) - Byte Buddy Java agent (from )
...@@ -45,7 +44,11 @@ The following software have components provided under the terms of this license: ...@@ -45,7 +44,11 @@ The following software have components provided under the terms of this license:
- Google App Engine extensions to the Google HTTP Client Library for Java. (from ) - Google App Engine extensions to the Google HTTP Client Library for Java. (from )
- Google Cloud Core (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core) - Google Cloud Core (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core)
- Google Cloud Core HTTP (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http) - Google Cloud Core HTTP (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http)
- Google Cloud Core gRPC (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc)
- Google Cloud Datastore (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-datastore) - Google Cloud Datastore (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-datastore)
- Google Cloud Key Management Service (KMS) API v1-rev22-1.23.0 (from )
- Google Cloud Logging (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-logging)
- Google Cloud Pub/Sub (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-pubsub)
- Google Cloud Storage (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-storage) - Google Cloud Storage (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-storage)
- Google HTTP Client Library for Java (from https://github.com/google/google-http-java-client.git) - Google HTTP Client Library for Java (from https://github.com/google/google-http-java-client.git)
- Google OAuth Client Library for Java (from ) - Google OAuth Client Library for Java (from )
...@@ -53,12 +56,15 @@ The following software have components provided under the terms of this license: ...@@ -53,12 +56,15 @@ The following software have components provided under the terms of this license:
- Guava InternalFutureFailureAccess and InternalFutures (from ) - Guava InternalFutureFailureAccess and InternalFutures (from )
- Guava ListenableFuture only (from ) - Guava ListenableFuture only (from )
- Guava: Google Core Libraries for Java (from https://github.com/google/guava.git) - Guava: Google Core Libraries for Java (from https://github.com/google/guava.git)
- Guava: Google Core Libraries for Java (from https://github.com/google/guava.git)
- HPPC Collections (from http://labs.carrotsearch.com) - HPPC Collections (from http://labs.carrotsearch.com)
- Hibernate Validator Engine (from ) - Hibernate Validator Engine (from )
- HikariCP (from https://github.com/brettwooldridge/HikariCP) - HikariCP (from https://github.com/brettwooldridge/HikariCP)
- Identity and Access Management (IAM) API v1-rev247-1.23.0 (from ) - Identity and Access Management (IAM) API v1-rev247-1.23.0 (from )
- J2ObjC Annotations (from https://github.com/google/j2objc/) - J2ObjC Annotations (from https://github.com/google/j2objc/)
- J2ObjC Annotations (from https://github.com/google/j2objc/)
- JBoss Logging 3 (from http://www.jboss.org) - JBoss Logging 3 (from http://www.jboss.org)
- JCIP Annotations under Apache License (from http://stephenc.github.com/jcip-annotations)
- JSON Small and Fast Parser (from http://www.minidev.net/) - JSON Small and Fast Parser (from http://www.minidev.net/)
- JSON Web Token support for the JVM (from https://github.com/jwtk/jjwt.git) - JSON Web Token support for the JVM (from https://github.com/jwtk/jjwt.git)
- JSON library from Android SDK (from http://developer.android.com/sdk) - JSON library from Android SDK (from http://developer.android.com/sdk)
...@@ -78,6 +84,9 @@ The following software have components provided under the terms of this license: ...@@ -78,6 +84,9 @@ The following software have components provided under the terms of this license:
- Javassist (from http://www.javassist.org/) - Javassist (from http://www.javassist.org/)
- Joda-Time (from http://www.joda.org/joda-time/) - Joda-Time (from http://www.joda.org/joda-time/)
- Json Path (from https://github.com/jayway/JsonPath) - Json Path (from https://github.com/jayway/JsonPath)
- Logback Contrib :: JSON :: Classic (from )
- Logback Contrib :: JSON :: Core (from )
- Logback Contrib :: Jackson (from )
- Lucene Common Analyzers (from ) - Lucene Common Analyzers (from )
- Lucene Core (from ) - Lucene Core (from )
- Lucene Grouping (from ) - Lucene Grouping (from )
...@@ -94,14 +103,18 @@ The following software have components provided under the terms of this license: ...@@ -94,14 +103,18 @@ The following software have components provided under the terms of this license:
- Lucene Spatial Extras (from ) - Lucene Spatial Extras (from )
- Lucene Suggest (from ) - Lucene Suggest (from )
- MapStruct Core (from ) - MapStruct Core (from )
- Mockito (from http://www.mockito.org)
- Mockito (from http://mockito.org) - Mockito (from http://mockito.org)
- Mockito (from http://www.mockito.org)
- Netty/Buffer (from http://netty.io/) - Netty/Buffer (from http://netty.io/)
- Netty/Codec (from ) - Netty/Codec (from )
- Netty/Common (from ) - Netty/Common (from )
- Netty/Handler (from ) - Netty/Handler (from )
- Netty/Resolver (from ) - Netty/Resolver (from )
- Netty/Transport (from http://netty.io/) - Netty/Transport (from http://netty.io/)
- Nimbus Content Type (from https://bitbucket.org/connect2id/nimbus-content-type)
- Nimbus JOSE+JWT (from https://bitbucket.org/connect2id/nimbus-jose-jwt)
- Nimbus LangTag (from https://bitbucket.org/connect2id/nimbus-language-tags)
- OAuth 2.0 SDK with OpenID Connect extensions (from https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions)
- Objenesis (from http://objenesis.org) - Objenesis (from http://objenesis.org)
- OpenCensus (from https://github.com/census-instrumentation/opencensus-java) - OpenCensus (from https://github.com/census-instrumentation/opencensus-java)
- OpenCensus (from https://github.com/census-instrumentation/opencensus-java) - OpenCensus (from https://github.com/census-instrumentation/opencensus-java)
...@@ -154,6 +167,9 @@ The following software have components provided under the terms of this license: ...@@ -154,6 +167,9 @@ The following software have components provided under the terms of this license:
- T-Digest (from https://github.com/tdunning/t-digest) - T-Digest (from https://github.com/tdunning/t-digest)
- aggs-matrix-stats (from https://github.com/elastic/elasticsearch) - aggs-matrix-stats (from https://github.com/elastic/elasticsearch)
- cli (from https://github.com/elastic/elasticsearch) - cli (from https://github.com/elastic/elasticsearch)
- com.google.api.grpc:grpc-google-cloud-pubsub-v1 (from https://github.com/googleapis/googleapis)
- com.google.api.grpc:proto-google-cloud-logging-v2 (from https://github.com/googleapis/googleapis)
- com.google.api.grpc:proto-google-cloud-pubsub-v1 (from https://github.com/googleapis/googleapis)
- com.google.api.grpc:proto-google-common-protos (from https://github.com/googleapis/googleapis) - com.google.api.grpc:proto-google-common-protos (from https://github.com/googleapis/googleapis)
- com.google.api.grpc:proto-google-iam-v1 (from https://github.com/googleapis/googleapis) - com.google.api.grpc:proto-google-iam-v1 (from https://github.com/googleapis/googleapis)
- compiler (from http://github.com/spullara/mustache.java) - compiler (from http://github.com/spullara/mustache.java)
...@@ -161,10 +177,18 @@ The following software have components provided under the terms of this license: ...@@ -161,10 +177,18 @@ The following software have components provided under the terms of this license:
- elasticsearch-core (from https://github.com/elastic/elasticsearch) - elasticsearch-core (from https://github.com/elastic/elasticsearch)
- elasticsearch-geo (from https://github.com/elastic/elasticsearch) - elasticsearch-geo (from https://github.com/elastic/elasticsearch)
- error-prone annotations (from ) - error-prone annotations (from )
- error-prone annotations (from )
- io.grpc:grpc-alts (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-api (from https://github.com/grpc/grpc-java) - io.grpc:grpc-api (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-auth (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-context (from https://github.com/grpc/grpc-java) - io.grpc:grpc-context (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-context (from https://github.com/grpc/grpc-java) - io.grpc:grpc-context (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-core (from https://github.com/grpc/grpc-java) - io.grpc:grpc-core (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-grpclb (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-netty-shaded (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-protobuf (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-protobuf-lite (from https://github.com/grpc/grpc-java)
- io.grpc:grpc-stub (from https://github.com/grpc/grpc-java)
- jackson-databind (from http://github.com/FasterXML/jackson) - jackson-databind (from http://github.com/FasterXML/jackson)
- javax.inject (from http://code.google.com/p/atinject/) - javax.inject (from http://code.google.com/p/atinject/)
- jffi (from http://github.com/jnr/jffi) - jffi (from http://github.com/jnr/jffi)
...@@ -214,11 +238,11 @@ The following software have components provided under the terms of this license: ...@@ -214,11 +238,11 @@ The following software have components provided under the terms of this license:
- ASM Util (from ) - ASM Util (from )
- GAX (Google Api eXtensions) (from https://github.com/googleapis) - GAX (Google Api eXtensions) (from https://github.com/googleapis)
- GAX (Google Api eXtensions) (from https://github.com/googleapis) - GAX (Google Api eXtensions) (from https://github.com/googleapis)
- GAX (Google Api eXtensions) (from https://github.com/googleapis)
- Hamcrest (from http://hamcrest.org/JavaHamcrest/) - Hamcrest (from http://hamcrest.org/JavaHamcrest/)
- Hamcrest Core (from http://hamcrest.org/) - Hamcrest Core (from http://hamcrest.org/)
- Lucene Common Analyzers (from ) - Lucene Common Analyzers (from )
- PostgreSQL JDBC Driver - JDBC 4.1 (from ) - PostgreSQL JDBC Driver - JDBC 4.1 (from )
- ThreeTen backport (from https://www.threeten.org/threetenbp)
======================================================================== ========================================================================
BSD-3-Clause BSD-3-Clause
...@@ -235,6 +259,7 @@ The following software have components provided under the terms of this license: ...@@ -235,6 +259,7 @@ The following software have components provided under the terms of this license:
- Apache Commons Codec (from http://commons.apache.org/proper/commons-codec/) - Apache Commons Codec (from http://commons.apache.org/proper/commons-codec/)
- GAX (Google Api eXtensions) (from https://github.com/googleapis) - GAX (Google Api eXtensions) (from https://github.com/googleapis)
- GAX (Google Api eXtensions) (from https://github.com/googleapis) - GAX (Google Api eXtensions) (from https://github.com/googleapis)
- GAX (Google Api eXtensions) (from https://github.com/googleapis)
- Google APIs Client Library for Java (from ) - Google APIs Client Library for Java (from )
- Google Auth Library for Java - Credentials (from ) - Google Auth Library for Java - Credentials (from )
- Google Auth Library for Java - OAuth2 HTTP (from ) - Google Auth Library for Java - OAuth2 HTTP (from )
...@@ -259,6 +284,7 @@ CC-BY-2.5 ...@@ -259,6 +284,7 @@ CC-BY-2.5
======================================================================== ========================================================================
The following software have components provided under the terms of this license: The following software have components provided under the terms of this license:
- Checker Qual (from https://checkerframework.org)
- FindBugs-jsr305 (from http://findbugs.sourceforge.net/) - FindBugs-jsr305 (from http://findbugs.sourceforge.net/)
======================================================================== ========================================================================
...@@ -266,6 +292,7 @@ CDDL-1.0 ...@@ -266,6 +292,7 @@ CDDL-1.0
======================================================================== ========================================================================
The following software have components provided under the terms of this license: The following software have components provided under the terms of this license:
- JavaMail API (from )
- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250) - javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250)
======================================================================== ========================================================================
...@@ -273,6 +300,7 @@ CDDL-1.1 ...@@ -273,6 +300,7 @@ CDDL-1.1
======================================================================== ========================================================================
The following software have components provided under the terms of this license: The following software have components provided under the terms of this license:
- JavaBeans(TM) Activation Framework (from http://java.sun.com/javase/technologies/desktop/javabeans/jaf/index.jsp)
- tomcat-embed-core (from http://tomcat.apache.org/) - tomcat-embed-core (from http://tomcat.apache.org/)
======================================================================== ========================================================================
...@@ -291,6 +319,9 @@ The following software have components provided under the terms of this license: ...@@ -291,6 +319,9 @@ The following software have components provided under the terms of this license:
- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) - Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el)
- JUnit Jupiter (Aggregator) (from https://junit.org/junit5/) - JUnit Jupiter (Aggregator) (from https://junit.org/junit5/)
- Logback Classic Module (from ) - Logback Classic Module (from )
- Logback Contrib :: JSON :: Classic (from )
- Logback Contrib :: JSON :: Core (from )
- Logback Contrib :: Jackson (from )
- Logback Core Module (from ) - Logback Core Module (from )
- SnakeYAML (from http://www.snakeyaml.org) - SnakeYAML (from http://www.snakeyaml.org)
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca) - jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
...@@ -322,6 +353,7 @@ GPL-2.0-only ...@@ -322,6 +353,7 @@ GPL-2.0-only
======================================================================== ========================================================================
The following software have components provided under the terms of this license: The following software have components provided under the terms of this license:
- JavaMail API (from )
- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250) - javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250)
- jnr-posix (from ) - jnr-posix (from )
- tomcat-embed-core (from http://tomcat.apache.org/) - tomcat-embed-core (from http://tomcat.apache.org/)
...@@ -341,6 +373,7 @@ The following software have components provided under the terms of this license: ...@@ -341,6 +373,7 @@ The following software have components provided under the terms of this license:
- Checker Qual (from https://checkerframework.org) - Checker Qual (from https://checkerframework.org)
- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) - Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el)
- JavaMail API (from )
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca) - jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250) - javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250)
- tomcat-embed-core (from http://tomcat.apache.org/) - tomcat-embed-core (from http://tomcat.apache.org/)
...@@ -363,6 +396,9 @@ The following software have components provided under the terms of this license: ...@@ -363,6 +396,9 @@ The following software have components provided under the terms of this license:
- Elastic JNA Distribution (from https://github.com/java-native-access/jna) - Elastic JNA Distribution (from https://github.com/java-native-access/jna)
- Javassist (from http://www.javassist.org/) - Javassist (from http://www.javassist.org/)
- Logback Classic Module (from ) - Logback Classic Module (from )
- Logback Contrib :: JSON :: Classic (from )
- Logback Contrib :: JSON :: Core (from )
- Logback Contrib :: Jackson (from )
- Logback Core Module (from ) - Logback Core Module (from )
- jnr-posix (from ) - jnr-posix (from )
...@@ -396,7 +432,6 @@ The following software have components provided under the terms of this license: ...@@ -396,7 +432,6 @@ The following software have components provided under the terms of this license:
- Animal Sniffer Annotations (from ) - Animal Sniffer Annotations (from )
- Checker Qual (from https://checkerframework.org) - Checker Qual (from https://checkerframework.org)
- Checker Qual (from https://checkerframework.org) - Checker Qual (from https://checkerframework.org)
- Checker Qual (from https://checkerframework.org)
- ClassGraph (from https://github.com/classgraph/classgraph) - ClassGraph (from https://github.com/classgraph/classgraph)
- JOpt Simple (from http://pholser.github.io/jopt-simple) - JOpt Simple (from http://pholser.github.io/jopt-simple)
- JUL to SLF4J bridge (from http://www.slf4j.org) - JUL to SLF4J bridge (from http://www.slf4j.org)
...@@ -462,6 +497,7 @@ public-domain ...@@ -462,6 +497,7 @@ public-domain
======================================================================== ========================================================================
The following software have components provided under the terms of this license: The following software have components provided under the terms of this license:
- Guava: Google Core Libraries for Java (from https://github.com/google/guava.git)
- Guava: Google Core Libraries for Java (from https://github.com/google/guava.git) - Guava: Google Core Libraries for Java (from https://github.com/google/guava.git)
- HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/) - HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/)
- Joda-Time (from http://www.joda.org/joda-time/) - Joda-Time (from http://www.joda.org/joda-time/)
...@@ -475,10 +511,10 @@ unknown ...@@ -475,10 +511,10 @@ unknown
The following software have components provided under the terms of this license: The following software have components provided under the terms of this license:
- Byte Buddy (without dependencies) (from ) - Byte Buddy (without dependencies) (from )
- Checker Qual (from https://checkerframework.org)
- JUnit (from http://junit.org) - JUnit (from http://junit.org)
- JUnit Jupiter (Aggregator) (from https://junit.org/junit5/) - JUnit Jupiter (Aggregator) (from https://junit.org/junit5/)
- JavaBeans Activation Framework API jar (from ) - JavaBeans Activation Framework API jar (from )
- JavaMail API (from )
- PostgreSQL JDBC Driver - JDBC 4.1 (from ) - PostgreSQL JDBC Driver - JDBC 4.1 (from )
- jakarta.xml.bind-api (from ) - jakarta.xml.bind-api (from )
- org.junit.jupiter:junit-jupiter-api (from http://junit.org/junit5/) - org.junit.jupiter:junit-jupiter-api (from http://junit.org/junit5/)
......
...@@ -42,6 +42,18 @@ ...@@ -42,6 +42,18 @@
</exclusions> </exclusions>
</dependency> </dependency>
<dependency>
<groupId>org.opengroup.osdu</groupId>
<artifactId>core-lib-gcp</artifactId>
<version>0.6.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-json-classic</artifactId>
<version>0.1.5</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-gcp-starter-data-datastore</artifactId> <artifactId>spring-cloud-gcp-starter-data-datastore</artifactId>
......
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<springProfile name="local">
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%yellow([%thread]) %highlight(| %-5level |) %green(%d) %cyan(| %logger{15} |) %highlight(%msg) %n</pattern>
<charset>utf8</charset>
</encoder>
</appender>
<root level="DEBUG">
<appender-ref ref="CONSOLE"/>
</root>
</springProfile>
<springProfile name="!local">
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="ch.qos.logback.contrib.json.classic.JsonLayout">
<timestampFormat>yyyy-MM-dd HH:mm:ss.SSS</timestampFormat>
<timestampFormatTimezoneId>Etc/UTC</timestampFormatTimezoneId>
<appendLineSeparator>true</appendLineSeparator>
<jsonFormatter class="org.opengroup.osdu.core.gcp.logging.formatter.GoogleJsonFormatter">
<prettyPrint>false</prettyPrint>
</jsonFormatter>
</layout>
</encoder>
</appender>
<root level="debug">
<appender-ref ref="stdout"/>
</root>
</springProfile>
</configuration>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment