Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
bugfix fix ktlint and add some more debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjarte Stien Karlsen committed Oct 2, 2018
1 parent 0f7ff6b commit 3a35adc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/http/get_aurora_application.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GET {{apiUrl}}/api/application?affiliation=paas
GET {{apiUrl}}/api/application?affiliation=aurora
#Authorization:Bearer {{token}}
#
####
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ data class HealthResponse(
)

data class HealthPart(
val status: HealthStatus=HealthStatus.UP,
val status: HealthStatus = HealthStatus.UP,
val details: Map<String, JsonNode> = emptyMap()
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class ApplicationDataServiceCacheDecorator(
val time = withStopWatch {
val applications = applicationDataService.findAllApplicationData(affiliations)
applications.forEach {
logger.debug("Added cache for deploymentId=${it.applicationDeploymentId} name=${it.applicationDeploymentName} namespace=${it.namespace}")
cache[it.applicationDeploymentId] = it
newKeys.add(it.applicationDeploymentId)
}
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ aurora:

logging:
level:
no.skatteetaten.aurora: INFO
no.skatteetaten.aurora.mokey: INFO
io.fabric8.openshift.client.DefaultOpenShiftClient: INFO
org:
Expand All @@ -37,7 +36,7 @@ spring:
mokey:
cache:
enabled: true
affiliations: aurora,paas,sirius,safir
affiliations: aurora


logging:
Expand Down

0 comments on commit 3a35adc

Please sign in to comment.