From 0bc3bdbd801c4f38822d13dd5f08a10a956212d8 Mon Sep 17 00:00:00 2001
From: Stanislav Riabokon <stanislav_riabokon@epam.com>
Date: Wed, 21 Oct 2020 10:48:49 +0400
Subject: [PATCH] GONRG-950 Added new dependencies to fix spring app context
 for GAE and GKE.

---
 .../crs-converter-gae/pom.xml                 |  9 ++++++++
 .../crs-converter-gke/pom.xml                 | 23 +++++++++++++------
 2 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/provider/crs-converter-gcp/crs-converter-gae/pom.xml b/provider/crs-converter-gcp/crs-converter-gae/pom.xml
index 07ec84bb..9cb8a5ed 100644
--- a/provider/crs-converter-gcp/crs-converter-gae/pom.xml
+++ b/provider/crs-converter-gcp/crs-converter-gae/pom.xml
@@ -35,6 +35,15 @@
             <artifactId>crs-converter-core</artifactId>
             <version>1.0.0</version>
         </dependency>
+      <dependency>
+        <groupId>org.springframework.security</groupId>
+        <artifactId>spring-security-oauth2-client</artifactId>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.security</groupId>
+        <artifactId>spring-security-jwt</artifactId>
+        <version>1.0.10.RELEASE</version>
+      </dependency>
     </dependencies>
 
     <build>
diff --git a/provider/crs-converter-gcp/crs-converter-gke/pom.xml b/provider/crs-converter-gcp/crs-converter-gke/pom.xml
index 3045b4b9..bcf05c22 100644
--- a/provider/crs-converter-gcp/crs-converter-gke/pom.xml
+++ b/provider/crs-converter-gcp/crs-converter-gke/pom.xml
@@ -25,13 +25,22 @@
     <name>crs-converter-gke</name>
     <description>CRS converter service Google Kubernetes Engine deployment</description>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.opengroup.osdu.crs-converter-service</groupId>
-            <artifactId>crs-converter-core</artifactId>
-            <version>1.0.0</version>
-        </dependency>
-    </dependencies>
+  <dependencies>
+    <dependency>
+      <groupId>org.opengroup.osdu.crs-converter-service</groupId>
+      <artifactId>crs-converter-core</artifactId>
+      <version>1.0.0</version>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.security</groupId>
+      <artifactId>spring-security-oauth2-client</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.security</groupId>
+      <artifactId>spring-security-jwt</artifactId>
+      <version>1.0.10.RELEASE</version>
+    </dependency>
+  </dependencies>
 
     <build>
         <plugins>
-- 
GitLab