Skip to content

Commit

Permalink
- Partial revert of rev. c65128b after investigation, w/some config c…
Browse files Browse the repository at this point in the history
…leanup.
  • Loading branch information
rfc3092 committed Dec 11, 2024
1 parent 7aaef7d commit a4e278a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

import static java.util.Objects.isNull;

@Document(indexName = "${open.search.index}")
@Document(indexName = "#{@environment.getProperty('open.search.index')}")
@Data
@Builder
@NoArgsConstructor
Expand Down
3 changes: 1 addition & 2 deletions apps/dolly-backend/src/test/resources/application-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ TOKEN_X_ISSUER: dummy

APP_NAME: dolly
APP_VERSION: ${application.version}
environment: localhost

jira:
host: http://localhost:${wiremock.server.port:0}/jira
Expand All @@ -13,7 +12,7 @@ jira:
open:
search:
total-fields: 150
index: dummy
index: test

consumers:
kodeverk-api:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@Setter
@Getter
@Document(indexName = "${open.search.index}")
@Document(indexName = "#{@environment.getProperty('open.search.index')}")
public class OppsummeringsdokumentModel implements Persistable<String> {

@Id
Expand Down

0 comments on commit a4e278a

Please sign in to comment.