aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src
diff options
context:
space:
mode:
Diffstat (limited to 'intentanalysis/src')
-rw-r--r--intentanalysis/src/main/resources/application.yaml5
-rw-r--r--intentanalysis/src/main/resources/keystore/uuiIntentAnalysis.jksbin0 -> 2182 bytes
-rw-r--r--intentanalysis/src/test/resources/application.yaml10
-rw-r--r--intentanalysis/src/test/resources/keystore/uuiIntentAnalysis.jksbin0 -> 2182 bytes
4 files changed, 10 insertions, 5 deletions
diff --git a/intentanalysis/src/main/resources/application.yaml b/intentanalysis/src/main/resources/application.yaml
index 6db6b46..b4b4d81 100644
--- a/intentanalysis/src/main/resources/application.yaml
+++ b/intentanalysis/src/main/resources/application.yaml
@@ -2,6 +2,11 @@ server:
port: 8083
servlet:
context-path: /api/usecaseui-intent-analysis/v1
+ ssl:
+ protocol: TLS
+ key-store: classpath:keystore/uuiIntentAnalysis.jks
+ key-store-password: Aa123456
+ key-store-type: JKS
spring:
datasource:
url: jdbc:postgresql://${POSTGRES_IP:127.0.0.1}:${POSTGRES_PORT:5432}/${POSTGRES_DB_NAME:intentdb}
diff --git a/intentanalysis/src/main/resources/keystore/uuiIntentAnalysis.jks b/intentanalysis/src/main/resources/keystore/uuiIntentAnalysis.jks
new file mode 100644
index 0000000..509d3f2
--- /dev/null
+++ b/intentanalysis/src/main/resources/keystore/uuiIntentAnalysis.jks
Binary files differ
diff --git a/intentanalysis/src/test/resources/application.yaml b/intentanalysis/src/test/resources/application.yaml
index aa317ef..6cbba91 100644
--- a/intentanalysis/src/test/resources/application.yaml
+++ b/intentanalysis/src/test/resources/application.yaml
@@ -18,11 +18,11 @@
server:
port: 8087
ssl:
- enabled: ${SSL_ENABLED:false}
- key-store: ${SSL_KEY_STORE_PATH:}
- key-store-password: ${SSL_KEY_STORE_PASSWORD:}
- key-store-type: ${SSL_KEY_STORE_TYPE:}
- key-alias: ${SSL_KEY_ALIAS:}
+ enabled: ${SSL_ENABLED:true}
+ protocol: TLS
+ key-store: classpath:keystore/uuiIntentAnalysis.jks
+ key-store-password: Aa123456
+ key-store-type: JKS
spring:
datasource:
url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;MODE=PostgreSQL
diff --git a/intentanalysis/src/test/resources/keystore/uuiIntentAnalysis.jks b/intentanalysis/src/test/resources/keystore/uuiIntentAnalysis.jks
new file mode 100644
index 0000000..509d3f2
--- /dev/null
+++ b/intentanalysis/src/test/resources/keystore/uuiIntentAnalysis.jks
Binary files differ