Skip to content

Commit

Permalink
AKS preparation (#274)
Browse files Browse the repository at this point in the history
* Delete unused maven files

* Tweaks for AKS deployment

* Remove unused file
  • Loading branch information
Tim Jacomb committed Apr 17, 2020
1 parent a3e1053 commit 974c78a
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 630 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
ARG APP_INSIGHTS_AGENT_VERSION=2.3.1
FROM hmctspublic.azurecr.io/base/java:openjdk-8-distroless-1.2
ARG APP_INSIGHTS_AGENT_VERSION=2.5.1
FROM hmctspublic.azurecr.io/base/java:openjdk-8-distroless-1.4

EXPOSE 8080

COPY build/libs/fees-register-app.jar /opt/app/
COPY lib/AI-Agent.xml /opt/app/
COPY --chown=root ./fees-register-audit.log /opt/app

CMD ["fees-register-app.jar"]
57 changes: 0 additions & 57 deletions api-contract/pom.xml

This file was deleted.

107 changes: 0 additions & 107 deletions api/pom.xml

This file was deleted.

8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ allprojects {
}
version = rootProject.file('version.txt').text.trim() + ".${buildNumber}"

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
mavenLocal()
maven { url "https://dl.bintray.com/hmcts/hmcts-maven" }
Expand Down Expand Up @@ -51,8 +54,6 @@ subprojects {
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'

sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
Expand Down Expand Up @@ -216,3 +217,6 @@ run {
}
}

wrapper {
distributionType = Wrapper.DistributionType.ALL
}
2 changes: 1 addition & 1 deletion charts/fees-register-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: "1.0"
description: Helm chart for the HMCTS fees-register api
name: fees-register-api
home: https://github.com/hmcts/ccfr-fees-register-app
version: 0.2.0
version: 0.2.1
maintainers:
- name: HMCTS Fees & Payments Dev Team
email: [email protected]
2 changes: 1 addition & 1 deletion charts/fees-register-api/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies:
- name: java
version: ~2.15.0
version: ~2.17.2
repository: '@hmctspublic'
2 changes: 1 addition & 1 deletion charts/fees-register-api/values.aat.template.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Don't modify this file, it is only needed for the pipeline to set the image and ingressHost
java:
# Don't modify below here
image: ${IMAGE_NAME}
ingressHost: ${SERVICE_FQDN}
1 change: 0 additions & 1 deletion charts/fees-register-api/values.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ java:
POSTGRES_PASSWORD: "{{ .Values.postgresql.postgresqlPassword}}"
POSTGRES_CONNECTION_OPTIONS: "?sslmode=allow"
SPRING_LIQUIBASE_ENABLED: true
IDAM_CLIENT_BASE_URL: https://idam-api.aat.platform.hmcts.net
SPRING_CLOUD_PROPERTIESVOLUME_ENABLED: false
ENABLE_FEE_LOADER: true
postgresql:
Expand Down
3 changes: 1 addition & 2 deletions charts/fees-register-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ java:
ENABLE_FEE_LOADER: false
IDAM_CLIENT_BASE_URL: https://idam-api.{{ .Values.global.environment }}.platform.hmcts.net
keyVaults:
"fees-register":
resourceGroup: ccpay
fees-register:
secrets:
- api-POSTGRES-PASS
- AppInsightsInstrumentationKey
34 changes: 0 additions & 34 deletions client/pom.xml

This file was deleted.

Empty file removed fees-register-audit.log
Empty file.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Fri Apr 17 08:54:08 BST 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
51 changes: 0 additions & 51 deletions model/pom.xml

This file was deleted.

Loading

0 comments on commit 974c78a

Please sign in to comment.