Commit 6a4ea22a authored by Matt Wise's avatar Matt Wise
Browse files

hardcode tenant 1 partition to test integration issue

parent 1c42fabf
Pipeline #11360 failed with stages
in 4 minutes and 4 seconds
...@@ -4,7 +4,7 @@ import static java.util.Objects.isNull; ...@@ -4,7 +4,7 @@ import static java.util.Objects.isNull;
public enum DefaultVariable { public enum DefaultVariable {
WORKFLOW_HOST(""), WORKFLOW_HOST(""),
DEFAULT_DATA_PARTITION_ID_TENANT1(""), DEFAULT_DATA_PARTITION_ID_TENANT1("int-test-workflow"),
DOMAIN(""), DOMAIN(""),
INTEGRATION_TESTER(""), INTEGRATION_TESTER(""),
......
...@@ -87,7 +87,7 @@ public abstract class HTTPClient { ...@@ -87,7 +87,7 @@ public abstract class HTTPClient {
public Map<String, String> getCommonHeader() { public Map<String, String> getCommonHeader() {
Map<String, String> headers = new HashMap<>(); Map<String, String> headers = new HashMap<>();
headers.put(HEADER_DATA_PARTITION_ID, getEnvironmentVariableOrDefaultKey(DEFAULT_DATA_PARTITION_ID_TENANT1)); headers.put(HEADER_DATA_PARTITION_ID, 'int-test-workflow');
return headers; return headers;
} }
......
...@@ -62,7 +62,7 @@ public class PayloadBuilder { ...@@ -62,7 +62,7 @@ public class PayloadBuilder {
private static String getAclSuffix() { private static String getAclSuffix() {
return String.format("%s.%s", return String.format("%s.%s",
getEnvironmentVariableOrDefaultKey(DEFAULT_DATA_PARTITION_ID_TENANT1), 'int-test-workflow',
getEnvironmentVariableOrDefaultKey(DOMAIN) getEnvironmentVariableOrDefaultKey(DOMAIN)
); );
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment