Merge "Minor pom updates"
[nonrtric.git] / policy-agent / src / test / java / org / oransc / policyagent / ApplicationTest.java
index 32d7fe6..1cbd0b6 100644 (file)
@@ -46,4 +46,12 @@ public class ApplicationTest {
         assertThat(rsp).contains("type3");
     }
 
+    @Test
+    public void getRics() throws Exception {
+        String cmd = "/rics";
+        String rsp = this.restTemplate.getForObject("http://localhost:" + port + cmd, String.class);
+        System.out.println("*** rsp " + rsp);
+        assertThat(rsp).contains("kista_1");
+    }
+
 }