Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Testing app insights pr (#733)
Browse files Browse the repository at this point in the history
* testing app insights

* app insights fix

* app insights fix

* Appinsightfix push

---------

Co-authored-by: vasthav-patta <112877261+vasthav-patta@users.noreply.github.com>
  • Loading branch information
manukundloo-hmcts and vasthav-patta authored Jul 19, 2023
1 parent 67e0b50 commit b19b263
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG APP_INSIGHTS_AGENT_VERSION=3.4.9
ARG PLATFORM=""
FROM hmctspublic.azurecr.io/base/java${PLATFORM}:17-distroless

COPY lib/AI-Agent.xml /opt/app/
COPY lib/applicationinsights.json /opt/app/
COPY build/libs/rd-profile-sync.jar /opt/app/

EXPOSE 8092
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ dependencies {
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-bootstrap', version: '3.1.5'

implementation "com.github.hmcts.java-logging:logging:${versions.reformLogging}"
implementation "com.github.hmcts.java-logging:logging-appinsights:${versions.reformLogging}"
implementation ('com.github.hmcts:properties-volume-spring-boot-starter:0.1.1'){
exclude group: "org.springframework.security"
exclude group: 'org.glassfish', module: 'jakarta.el'
Expand Down
2 changes: 1 addition & 1 deletion charts/rd-profile-sync/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.1"
description: Reference data service for professional users
name: rd-profile-sync
version: 0.0.22
version: 0.0.23
dependencies:
- name: java
version: 4.0.13
Expand Down
4 changes: 2 additions & 2 deletions charts/rd-profile-sync/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ java:
alias: S2S_SECRET
- name: profile-sync-POSTGRES-PASS
alias: spring.datasource.password
- name: ApplicationInsightsInstrumentationKey
alias: azure.application-insights.instrumentation-key
- name: app-insights-connection-string
alias: app-insights-connection-string
- name: OAUTH2-CLIENT-SECRET
alias: idam.api-redirect-uri
- name: OAUTH2-AUTH
Expand Down
10 changes: 0 additions & 10 deletions lib/AI-Agent.xml

This file was deleted.

Binary file removed lib/applicationinsights-agent-2.5.1-BETA.jar
Binary file not shown.

0 comments on commit b19b263

Please sign in to comment.