Skip to content

Commit

Permalink
chore(test): updating test related config and data
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Oct 28, 2024
1 parent aa4746a commit 3cb574a
Show file tree
Hide file tree
Showing 5 changed files with 828 additions and 210 deletions.
8 changes: 7 additions & 1 deletion backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
</profiles>

<dependencies>
<!-- Spring Boot and tools -->
<!-- Spring Boot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
Expand All @@ -130,6 +130,7 @@
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>

<!-- Tools -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand All @@ -141,6 +142,11 @@
<artifactId>prettytime</artifactId>
<version>5.0.9.Final</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.17.0</version>
</dependency>

<!-- DevOps -->
<dependency>
Expand Down
32 changes: 19 additions & 13 deletions backend/src/test/resources/application-default.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
flyway:
enabled: false
# FAM
# FAM
security:
oauth2:
resourceserver:
Expand All @@ -10,19 +10,25 @@ spring:
jwk-set-uri: https://aws-cognito-issuer-uri.aws.com/.well-known/jwks.json

# Users allowed to see and download WMS layers information
nr:
results:
config:
wms-layers:
whitelist: ${WMS_LAYERS_WHITELIST_USERS:NONE}
opening-search:
org-units: ${OPENING_SEARCH_ORG_UNITS:DCK}
ca:
bc:
gov:
nrs:
results:
wms-layers:
whitelist: ${WMS_LAYERS_WHITELIST_USERS:NONE}
opening-search:
org-units: ${OPENING_SEARCH_ORG_UNITS:DAS}
forest-client-api:
address: http://localhost:10000
key: 123456789abcdef
open-maps:
address: http://localhost:10001

# Forest Client API
#forest-client-api:
# address: https://nonexistent.org
# key: 123456789abcdef

logging:
level:
ca.bc.gov.restapi.results: ${LOGGING_LEVEL:INFO}
#root: DEBUG
ca.bc.gov.restapi.results: ${LOGGING_LEVEL:INFO}
org.springframework.web.client: DEBUG
org.springframework.http.client: DEBUG
Loading

0 comments on commit 3cb574a

Please sign in to comment.