Skip to content
Snippets Groups Projects
Commit 5a8dbc9c authored by Manish Jangid's avatar Manish Jangid
Browse files

Partition Service as a TenantInfo provider

parent 187b77ab
No related branches found
No related tags found
1 merge request!366AWS integration merge
...@@ -29,6 +29,8 @@ environmentVariables: ...@@ -29,6 +29,8 @@ environmentVariables:
value: http://os-register:8080 value: http://os-register:8080
- name: TMP_VOLUME_PATH - name: TMP_VOLUME_PATH
value: "/tmp" value: "/tmp"
- name: PARTITION_BASE_URL
value: http://os-partition:8080
# Resource Config # Resource Config
replicaCount: 1 replicaCount: 1
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<dependency> <dependency>
<groupId>org.opengroup.osdu.core.aws</groupId> <groupId>org.opengroup.osdu.core.aws</groupId>
<artifactId>os-core-lib-aws</artifactId> <artifactId>os-core-lib-aws</artifactId>
<version>0.19.0-rc3</version> <version>0.21.0-SNAPSHOT</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-secretsmanager --> <!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-secretsmanager -->
......
...@@ -18,7 +18,7 @@ server.servlet.contextPath=/api/notification/v1 ...@@ -18,7 +18,7 @@ server.servlet.contextPath=/api/notification/v1
server.port=${APPLICATION_PORT:8080} server.port=${APPLICATION_PORT:8080}
AUTHORIZE_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v2 AUTHORIZE_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v2
PARTITION_API=${ENTITLEMENTS_BASE_URL}/api/partition/v1 PARTITION_API=${PARTITION_BASE_URL}/api/partition/v1
REGISTER_SERVICE_URL=${REGISTER_BASE_URL}/api/register/v1 REGISTER_SERVICE_URL=${REGISTER_BASE_URL}/api/register/v1
aws.ssm=${SSM_ENABLED:True} aws.ssm=${SSM_ENABLED:True}
......
...@@ -73,7 +73,7 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests { ...@@ -73,7 +73,7 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests {
@Override @Override
public void should_return401_when_noAccessOnCustomerTenant() throws Exception { public void should_return401_when_noAccessOnCustomerTenant() throws Exception {
ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials()); ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials());
assertEquals(error( response.getEntity(String.class)), 403, response.getStatus()); assertEquals(error( response.getEntity(String.class)), 401, response.getStatus());
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment