X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Ftest_hc.h;h=7e98043a54080ec89d9288157b58d30e57b80a61;hb=572205b203bec9a787b051c19195ea1db17eb94b;hp=d07fbfef036deaa05d9ad005c85eba9693b3c257;hpb=23dad813c70c0d79cd1bd16009e00895e6509fd2;p=ric-app%2Fhw.git diff --git a/test/test_hc.h b/test/test_hc.h index d07fbfe..7e98043 100644 --- a/test/test_hc.h +++ b/test/test_hc.h @@ -70,7 +70,8 @@ TEST(Xapp, RMRHealthCheck){ TEST(Xapp, A1HealthCheck){ //Read the json file and send it using rmr. - string json = "{\"policy_type_id\": \"1\",\"policy_instance_id\":\"3d2157af-6a8f-4a7c-810f-38c2f824bf12\",\"operation\": \"CREATE\"}"; + //string json = "{\"policy_type_id\": \"1\",\"policy_instance_id\":\"3d2157af-6a8f-4a7c-810f-38c2f824bf12\",\"operation\": \"CREATE\"}"; + string json = "{\"operation\": \"CREATE\", \"policy_type_id\": 1, \"policy_instance_id\": \"hwpolicy321\", \"payload\": {\"threshold\": 5}}"; int n = json.length(); char strMsg[n + 1]; strcpy(strMsg, json.c_str());