diff options
author | sebdet <sebastien.determe@intl.att.com> | 2021-02-17 17:53:17 +0100 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2021-02-19 10:09:31 +0100 |
commit | c427e6459d066859e6da068bf50c78a0d120080a (patch) | |
tree | b3b63a7919175a3500f2c26eb02c7cd9a6475ce0 /src/test/java/org | |
parent | a0a3a03686a386bf6def6f7da6de4d3f6a11ce61 (diff) |
Add code in UI to create new policy version
Add code to call the policy create backend endpoint + alert box to show status of the creation + Fix backend +
Issue-ID: POLICY-2928
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia8f2506ecc692ad68111ebe7a55a92579b951908
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/onap/policy/clamp/policy/pdpgroup/PoliciesPdpMergerTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/java/org/onap/policy/clamp/policy/pdpgroup/PoliciesPdpMergerTest.java b/src/test/java/org/onap/policy/clamp/policy/pdpgroup/PoliciesPdpMergerTest.java index adb797897..ac05d037f 100644 --- a/src/test/java/org/onap/policy/clamp/policy/pdpgroup/PoliciesPdpMergerTest.java +++ b/src/test/java/org/onap/policy/clamp/policy/pdpgroup/PoliciesPdpMergerTest.java @@ -103,9 +103,8 @@ public class PoliciesPdpMergerTest { @Test public void testRemovePdpStatesOnePolicy() throws IOException { - JsonObject policiesList = PoliciesPdpMerger.removePdpStatesOnePolicy(JsonUtils.GSON - .fromJson(ResourceFileUtils.getResourceAsString("example/policy/single-policy-enriched.json"), - JsonObject.class)); + JsonObject policiesList = PoliciesPdpMerger.removePdpStatesOnePolicy(JsonUtils.GSON.fromJson( + ResourceFileUtils.getResourceAsString("example/policy/single-policy-enriched.json"), JsonObject.class)); assertThat(policiesList.get(PdpGroupsAnalyzer.ASSIGNED_PDP_GROUPS_INFO)).isNull(); assertThat(policiesList.get(PdpGroupsAnalyzer.SUPPORTED_PDP_GROUPS_INFO)).isNull(); |