Commit c3f40bee authored by Alok Joshi's avatar Alok Joshi
Browse files

Merge branch 'policy_feature_flag' into 'master'

policy service feature flag

See merge request !74
parents bcdb280c cea0a9ad
Pipeline #23363 passed with stages
in 8 minutes and 18 seconds
......@@ -13,7 +13,7 @@ include:
- project: 'osdu/platform/ci-cd-pipelines'
ref: 'master'
file: 'scanners/fossa.yml'
file: 'scanners/fossa-maven.yml'
- project: 'osdu/platform/ci-cd-pipelines'
ref: 'master'
......
......@@ -20,7 +20,7 @@
<groupId>org.opengroup.osdu</groupId>
<artifactId>core-lib-azure</artifactId>
<packaging>jar</packaging>
<version>0.0.61</version>
<version>0.0.62</version>
<name>core-lib-azure</name>
<properties>
......
......@@ -73,6 +73,9 @@ public class PartitionInfoAzure {
@SerializedName("encryption-key-identifier")
private Property cryptographyEncryptionKeyIdentifierConfig;
@SerializedName("policy-service-enabled")
private Property policyServiceConfig = Property.builder().sensitive(false).build();
private Property azureSubscriptionIdConfig = Property.builder().value("subscription-id").sensitive(true).build();
private Property servicePrincipalAppIdConfig = Property.builder().value("app-dev-sp-username").sensitive(true).build();
......@@ -86,6 +89,13 @@ public class PartitionInfoAzure {
return String.valueOf(this.getIdConfig().getValue());
}
/**
* @return policy service config
*/
public String getPolicySvcConfig() {
return String.valueOf(this.getPolicyServiceConfig().getValue());
}
/**
* @return partition name
*/
......
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