From a70761c096192e38800bf38d6c7f61f52bf72007 Mon Sep 17 00:00:00 2001 From: hb123f Date: Wed, 20 Mar 2019 12:20:44 -0400 Subject: CADI AAF Integration and merging the code Issue-ID: PORTAL-319 CADI AAF Integration and code merge Change-Id: I6e44f3b2741858d8d403b77a49ec9a0153084801 Signed-off-by: hb123f --- .../src/main/resources/application-properties | 28 ----------------- .../src/main/resources/application.properties | 22 ++++---------- .../src/main/resources/templates/Upload.html | 35 +++++++++++++++++++++- 3 files changed, 39 insertions(+), 46 deletions(-) delete mode 100644 ecomp-portal-widget-ms/widget-ms/src/main/resources/application-properties (limited to 'ecomp-portal-widget-ms/widget-ms/src/main/resources') diff --git a/ecomp-portal-widget-ms/widget-ms/src/main/resources/application-properties b/ecomp-portal-widget-ms/widget-ms/src/main/resources/application-properties deleted file mode 100644 index 8f8207c2..00000000 --- a/ecomp-portal-widget-ms/widget-ms/src/main/resources/application-properties +++ /dev/null @@ -1,28 +0,0 @@ -## General App Properties -server.contextPath=/widget -server.port=8082 -spring.http.multipart.max-file-size=128MB -spring.http.multipart.max-request-size=128MB -microservice.widget.location=/tmp - -## App DB Properties -spring.datasource.url=jdbc:mariadb://localhost:3306/ecomp_portal_1702&connectTimeout=2000 -spring.datasource.username=widget-user -spring.datasource.password=widget-pass -spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect -spring.database.driver.classname=org.mariadb.jdbc.Driver -spring.jpa.show-sql=false -spring.jpa.properties.hibernate.format_sql=false - -## Basic Authentication Properties -security.user.name=widget_user -security.user.password=ENC(IjywcRnI9+nuVEh9+OFFiRWAjBT1n718) - -## Certificate Properties -#server.ssl.key-store=classpath:widget-keystore.p12 -#server.ssl.key-store-password=ENC(DiIYnAMab4u7rEW2yKhF9zBL00uU55q8) -#server.ssl.keyStoreType=PKCS12 -#server.ssl.keyAlias=widget-microservice - -## Jasypt Properties -jasypt.encryptor.password=EncryptionKey diff --git a/ecomp-portal-widget-ms/widget-ms/src/main/resources/application.properties b/ecomp-portal-widget-ms/widget-ms/src/main/resources/application.properties index 5116f966..8f8207c2 100644 --- a/ecomp-portal-widget-ms/widget-ms/src/main/resources/application.properties +++ b/ecomp-portal-widget-ms/widget-ms/src/main/resources/application.properties @@ -3,16 +3,12 @@ server.contextPath=/widget server.port=8082 spring.http.multipart.max-file-size=128MB spring.http.multipart.max-request-size=128MB +microservice.widget.location=/tmp ## App DB Properties -# -#db.connectionURL = jdbc:mariadb:failover://mtanjv9pord01.aic.cip.att.com:3306/portal -#db.userName = m02549 -#db.password = 9zDXMxxzUG1ay5Dny1Eazw== -#db.encrypt_flag = true -spring.datasource.url=jdbc:mariadb://vm-ep-dev8.client.research.att.com:3306/portal_2_1_att -spring.datasource.username=portal_user -spring.datasource.password=P0rt@l_user +spring.datasource.url=jdbc:mariadb://localhost:3306/ecomp_portal_1702&connectTimeout=2000 +spring.datasource.username=widget-user +spring.datasource.password=widget-pass spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect spring.database.driver.classname=org.mariadb.jdbc.Driver spring.jpa.show-sql=false @@ -20,15 +16,7 @@ spring.jpa.properties.hibernate.format_sql=false ## Basic Authentication Properties security.user.name=widget_user -security.user.password=widget_pass - -## Initalization setting -initialization.default.widgets=true -initialization.widgetData.url=http://www.ecomp.att.com:8080/ecompportal-att/commonWidgets - -## Account Basic Authentication Properties -account.user.name=portal -account.user.password=6APqvG4AU2rfLgCvMdySwQ== +security.user.password=ENC(IjywcRnI9+nuVEh9+OFFiRWAjBT1n718) ## Certificate Properties #server.ssl.key-store=classpath:widget-keystore.p12 diff --git a/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html b/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html index a5e7c632..01e0564b 100644 --- a/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html +++ b/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html @@ -1,12 +1,45 @@ +
-
+ + + + + -- cgit 1.2.3-korg
Pick file: