set up configuration property
This commit is contained in:
@@ -5,7 +5,7 @@ Classes and endpoints, to shape and to steer, Devices and sensors, their purpose
|
||||
## Properties for deployment
|
||||
|
||||
| name | required | info |
|
||||
|-------------------------------|----------|-------------------------|
|
||||
|-------------------------------|----------|--------------------------|
|
||||
| spring.profiles.active | * | Spring Boot environment |
|
||||
| server.port | * | HTTP port |
|
||||
| server.ssl.enabled | * | HTTP Enable SSL |
|
||||
@@ -15,6 +15,7 @@ Classes and endpoints, to shape and to steer, Devices and sensors, their purpose
|
||||
| jwt.public-key | * | JWT public key |
|
||||
| device-registry.url | * | Device Register URL |
|
||||
| device-data.url | * | Device Data URL |
|
||||
| device-configuration.url | * | Device Configuration URL |
|
||||
|
||||
Required: * can be stored as text, and ** need to be stored as secret.
|
||||
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
"name": "device-data.url",
|
||||
"type": "java.lang.String",
|
||||
"description": "Url for device data service."
|
||||
},
|
||||
{
|
||||
"name": "device-configuration.url",
|
||||
"type": "java.lang.String",
|
||||
"description": "Url for device configuration service."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -36,6 +36,9 @@ device-registry:
|
||||
device-data:
|
||||
url: http://localhost:9020
|
||||
|
||||
device-configuration:
|
||||
url: http://localhost:9030
|
||||
|
||||
---
|
||||
##########################
|
||||
### Docker environment ###
|
||||
@@ -59,6 +62,9 @@ device-registry:
|
||||
device-data:
|
||||
url: http://DeviceData:8080
|
||||
|
||||
device-configuration:
|
||||
url: http://DeviceConfiguration:8080
|
||||
|
||||
---
|
||||
##############################
|
||||
### Production environment ###
|
||||
|
||||
Reference in New Issue
Block a user