summaryrefslogtreecommitdiffstats
path: root/.env
diff options
context:
space:
mode:
authorQuoc Nghia Nguyen <quocnghia.nguyen@orange.com>2018-04-13 13:56:42 +0200
committerQuoc Nghia Nguyen <quocnghia.nguyen@orange.com>2018-04-13 14:25:44 +0200
commit6b8c1f5d9844c92774243834aa3f0f7136a1e222 (patch)
tree3e0efed348f2165c6ded3427fff7a11e3977c310 /.env
parent65352f84525c13c7469ba435b3a0adbc83ae4cfc (diff)
Externalized app params for deployment
- .env: contains environment variables which override application's default properties - Dockerfile & docker-compose.yml: takes environment variables into account - application.properties: included external services configurations Change-Id: I49937e66d514a42a174cff3bf6c383ecfc8e28e0 Issue-ID: EXTAPI-49 Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
Diffstat (limited to '.env')
-rw-r--r--.env38
1 files changed, 38 insertions, 0 deletions
diff --git a/.env b/.env
new file mode 100644
index 0000000..42319ef
--- /dev/null
+++ b/.env
@@ -0,0 +1,38 @@
+# APPLICATION
+SERVER_CONTEXTPATH=/nbi/api/v1
+SERVER_PORT=8080
+LOGGING_LEVEL=INFO
+
+# ONAP
+ONAP_LCPCLOUDREGIONID=
+ONAP_TENANTID=
+ONAP_CLOUDOWNER=
+
+# NBI
+NBI_URL=http://localhost:8080/nbi/api/v1
+NBI_CALLFORVNF=false
+
+# SDC
+SDC_HOST=http://localhost:8090
+SDC_HEADER_ECOMPINSTANCEID=
+SDC_HEADER_AUTHORIZATION=
+
+# AAI
+AAI_HOST=http://localhost:8090
+AAI_HEADER_AUTHORIZATION=
+AAI_API_ID=AAI
+
+# SO
+SO_HOST=http://localhost:8090
+SO_HEADER_AUTHORIZATION=
+SO_API_ID=SO
+
+# MONGO
+SPRING_DATA_MONGODB_HOST=localhost
+SPRING_DATA_MONGODB_PORT=27017
+SPRING_DATA_MONGODB_DATABASE=ServiceOrderDB
+
+# MYSQL
+SPRING_DATASOURCE_URL=jdbc:mariadb://localhost:3306/nbi
+SPRING_DATASOURCE_USERNAME=root
+SPRING_DATASOURCE_PASSWORD=secret \ No newline at end of file