Commit 81a64b2f authored by Krishna Nikhil Vedurumudi's avatar Krishna Nikhil Vedurumudi
Browse files

Merge branch 'added_docs' into 'master'

added docs folder

See merge request !126
parents e0de5bcd 0d67952c
Pipeline #52325 failed with stages
in 6 minutes and 22 seconds
#Using Properties From Common.properties file of Core-Lib
Application properties that are common across all services are added in a separate file in core-lib called common.properties
1. Set the property SPRING_CONFIG_NAME as "common,application" in the deployment.yaml file as shown below. This brings in all <b>common</b> properties from core-lib
and also keeps the application properties specific for your service.
```
- name: SPRING_CONFIG_NAME
value: "common,application"
```
\ No newline at end of file
# Enable Logging For Health Check Failures
<ol>
<li> Ensure instructions from doc <a ref="docs/01_Using_Common_Properties.md">01_Using_Common_Properties.md </a>of core-lib-azure is implemented.<br/>
This is to enable actuator to run on a different port.
</li>
<li> Define Liveness and Readiness probes:
<ul> Add the following in your deployment.yaml file under 'containers' property:
```
readinessProbe:
httpGet:
path: /actuator/health
port: 8081
livenessProbe:
httpGet:
path: /actuator/health
port: 8081
initialDelaySeconds: 250
periodSeconds: 10
```
</ul>
</li>
<li>
Ensure that the application pom.xml refers to the latest core-lib version {0.10.0-rc11 & Upwards}
</li>
</ol>
For more details, refer to [this MR](https://community.opengroup.org/osdu/platform/security-and-compliance/legal/-/merge_requests/133)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment