diff options
author | Dan Timoney <dt5972@att.com> | 2018-08-21 20:34:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-21 20:34:20 +0000 |
commit | 5f42348ebe74480176214266548173388e7fe8cb (patch) | |
tree | fe24c268c10d34e856ad64953312982f3bf88bee /ms/vlantag-api/src/main/resources/application.properties | |
parent | 94521c797d7f7d903622f34f2a627c011b9c33bb (diff) | |
parent | 822c98964b0a4f7b4da5dbe79669e54011a0778d (diff) |
Merge "Add VlantagApi Functional Component to apps/ms"
Diffstat (limited to 'ms/vlantag-api/src/main/resources/application.properties')
-rw-r--r-- | ms/vlantag-api/src/main/resources/application.properties | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ms/vlantag-api/src/main/resources/application.properties b/ms/vlantag-api/src/main/resources/application.properties new file mode 100644 index 00000000..1f17edaa --- /dev/null +++ b/ms/vlantag-api/src/main/resources/application.properties @@ -0,0 +1,35 @@ +spring.datasource.url=jdbc:mysql://localhost:3306/sdnctl
+spring.datasource.username=sdnctl
+spring.datasource.password=sdnctl
+spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+
+server.port=9091
+server.servlet.context-path=/
+server.servlet.path=/
+spring.jersey.application-path=/vlantagapi
+
+
+#userid:password~ROLE
+#admin:admin; sdnc:sdnc; user:user; actuator:admin
+application.authToken=YWRtaW46YWRtaW4=~ADMIN;c2RuYzpzZG5j~USER;dXNlcjp1c2Vy~USER;YWN0dWF0b3I6YWRtaW4=~ACTUATOR
+
+
+#logs
+logging.level.root=info
+logging.file=/opt/app/vlantagapi/logs/vlantagapi.log
+logging.pattern.console=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr($ threadId: {PID:- }){magenta} %clr(---){faint} %clr([ hostname: %X{hostname} serviceName: %X{serviceName} version: %X{version} transactionId: %X{transactionId} requestTimeStamp: %X{requestTimestamp} responseTimeStamp: %X{responseTimestamp} duration: %X{duration}]){yellow} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wex
+
+
+#ACTUATOR Endpoints
+info.app.name=VLANTAG Management Application
+info.app.description=This application provide apis to manage vlan tags for VNFs
+info.app.version=1.0.0
+
+#management.endpoints.web.exposure.include=*
+
+
+#PolicyManager Properties
+intf.pdp.policyengine.url=https://localhost:8081/pdp/api/getConfig
+intf.pdp.policyengine.http.headers.authorization=dGVzdHBkcDpTEyMw==
+intf.pdp.policyengine.http.headers.clientauth=cHl0anRlc3Q=
+intf.pdp.policyengine.http.headers.environment=TEST
\ No newline at end of file |