Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Schema
Commits
eae1bfba
Commit
eae1bfba
authored
Oct 13, 2021
by
Krishna Nikhil Vedurumudi
Browse files
Added health probes
parent
9ab5a58d
Pipeline
#71604
passed with stages
in 17 minutes and 12 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
devops/azure/chart/templates/deployment.yaml
View file @
eae1bfba
...
...
@@ -47,8 +47,14 @@ spec:
-
containerPort
:
80
readinessProbe
:
httpGet
:
path
:
/api/schema-service/v1/swagger-ui.html
port
:
80
path
:
/actuator/health
port
:
8081
livenessProbe
:
httpGet
:
path
:
/actuator/health
port
:
8081
initialDelaySeconds
:
250
periodSeconds
:
10
volumeMounts
:
-
name
:
azure-keyvault
mountPath
:
"
/mnt/azure-keyvault"
...
...
@@ -113,5 +119,6 @@ spec:
value
:
"
false"
-
name
:
event_grid_topic
value
:
"
schemachangedtopic"
-
name
:
SPRING_CONFIG_NAME
value
:
"
common,application"
provider/schema-azure/pom.xml
View file @
eae1bfba
...
...
@@ -30,7 +30,7 @@
<properties>
<azure.version>
2.1.7
</azure.version>
<osdu.corelibazure.version>
0.1
1
.0
</osdu.corelibazure.version>
<osdu.corelibazure.version>
0.1
2
.0
-rc7
</osdu.corelibazure.version>
<osdu.oscorecommon.version>
0.11.0
</osdu.oscorecommon.version>
<osdu.os-schema-core.version>
0.11.0
</osdu.os-schema-core.version>
<mockito.version>
1.10.19
</mockito.version>
...
...
@@ -59,6 +59,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
<version>
2.4.5
</version>
</dependency>
</dependencies>
</dependencyManagement>
...
...
provider/schema-azure/src/main/resources/application.properties
View file @
eae1bfba
...
...
@@ -39,8 +39,11 @@ azure.storage.enable-https=true
#Azure App Insights configuration
azure.application-insights.instrumentation-key
=
${appinsights_key}
management.endpoints.web.exposure.include
=
mappings
# Configuration for health checks
management.server.port
=
8081
management.health.elasticsearch.enabled
=
false
management.health.azure-key-vault.enabled
=
false
# Azure KeyVault configuration
azure.keyvault.url
=
${KEYVAULT_URI}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment