Skip to content

Commit

Permalink
Tester endring
Browse files Browse the repository at this point in the history
#deploy-proxy
  • Loading branch information
stigus committed Oct 20, 2023
1 parent 560670a commit a424ac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ private static DokarkivProperties copyOf(DokarkivProperties original) {
public DokarkivProperties forEnvironment(String env) {
var replacement = "q2".equals(env) ? "" : '-' + env;
var copy = DokarkivProperties.copyOf(this);
copy.setUrl(copy.getUrl().replace("-{env}", replacement));
copy.setName(copy.getName().replace("-{env}", replacement));
copy.setUrl(copy.getUrl().replace("-TEMP", replacement));
copy.setName(copy.getName().replace("-TEMP", replacement));
return copy;
}

Expand Down
4 changes: 2 additions & 2 deletions proxies/dokarkiv-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ spring:

consumers:
dokarkiv:
url: http://dokarkiv-{env}.teamdokumenthandtering.svc.nais.local
url: http://dokarkiv-TEMP.teamdokumenthandtering.svc.nais.local
cluster: dev-fss
name: dokarkiv-{env}
name: dokarkiv-TEMP
namespace: teamdokumenthandtering

environments: q1,q2,q4,q5

0 comments on commit a424ac5

Please sign in to comment.