diff options
author | sebdet <sebastien.determe@intl.att.com> | 2019-03-07 16:38:22 +0100 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-03-07 16:38:22 +0100 |
commit | 8a27271dd4555f18f53a43038ba760c0250b7e8b (patch) | |
tree | 4a31982399f6d83339e66c729671bd390381f2f8 /src/test/java/org | |
parent | 322f2fe16e1649833ade316d367c30e203d2c26b (diff) |
New endpoint
New endpoint to get svgRepresentation + remove Yaml field json
Issue-ID: CLAMP-301
Change-Id: I49f62f25a719849cab78d1c94ae67078e28e6185
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java b/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java index a9c308737..b7781bf2c 100644 --- a/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java +++ b/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java @@ -70,7 +70,7 @@ public class LoopServiceTestItCase { testLoop.setLastComputedState(LoopState.DESIGN); //when - Loop actualLoop = loopService.addNewLoop(testLoop); + Loop actualLoop = loopService.saveOrUpdateLoop(testLoop); //then assertThat(actualLoop).isNotNull(); @@ -166,7 +166,7 @@ public class LoopServiceTestItCase { private void saveTestLoopToDb() { Loop testLoop = createTestLoop(EXAMPLE_LOOP_NAME, "blueprint", "representation"); testLoop.setGlobalPropertiesJson(JsonUtils.GSON.fromJson(EXAMPLE_JSON, JsonObject.class)); - loopService.addNewLoop(testLoop); + loopService.saveOrUpdateLoop(testLoop); } @Test |