Skip to content

Commit

Permalink
fix: #539 #540: Pick up failing Request Executor IT + fixed. (#558)
Browse files Browse the repository at this point in the history
Co-authored-by: Yalz <Yalz@users.noreply.github.com>
  • Loading branch information
Yalz and Yalz authored Mar 27, 2024
1 parent 40a480c commit 0fa35f1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
11 changes: 10 additions & 1 deletion docs/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,13 @@ services:
ports:
- 4000:4000
volumes:
- .:/site
- .:/site

postgres:
image: postgres:14-alpine
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=admin
- POSTGRES_USER=admin
- POSTGRES_DB=db
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package be.vlaanderen.informatievlaanderen.ldes.ldi.requestexecutor;

import org.junit.platform.suite.api.ConfigurationParameter;
import org.junit.platform.suite.api.IncludeEngines;
import org.junit.platform.suite.api.SelectClasspathResource;
import org.junit.platform.suite.api.Suite;

@Suite
@SuppressWarnings("java:S2187")
@IncludeEngines("cucumber")
@SelectClasspathResource("features")
@ConfigurationParameter(key = "be.vlaanderen.informatievlaanderen.ldes.ldi.requestexecutor.executor", value = "be.vlaanderen.informatievlaanderen.ldes.ldi.requestexecutor.executor")
public class RequestExecutorIT {
public class RequestExecutorIntegrationTest {
}
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"request": {
"method": "POST",
"url": "/token",
"headers": {
"Authorization": {
"contains": "Basic Y2xpZW50SWQ6Y2xpZW50U2VjcmV0"
"bodyPatterns": [
{
"contains": "client_id=clientId&client_secret=clientSecret&scope=default&grant_type=client_credentials"
}
}
]
},
"response": {
"status": 200,
Expand Down

0 comments on commit 0fa35f1

Please sign in to comment.