X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Ftest%2Fresources%2Ftest_application_configuration_with_dmaap_config.json;h=6d6cdce4f4d585f6b2756282a2b082cb82b9d1c8;hb=254eab2d525ad00ac092d6859d21cbab8e42746a;hp=c94536036f8c765f6b1b42a26e34f250cf17fde0;hpb=f3461cb776023b950d62edd25eca148b6d354c9c;p=nonrtric.git diff --git a/policy-agent/src/test/resources/test_application_configuration_with_dmaap_config.json b/policy-agent/src/test/resources/test_application_configuration_with_dmaap_config.json index c9453603..6d6cdce4 100644 --- a/policy-agent/src/test/resources/test_application_configuration_with_dmaap_config.json +++ b/policy-agent/src/test/resources/test_application_configuration_with_dmaap_config.json @@ -1,39 +1,47 @@ { - "config": { - "//description": "Application configuration", - "ric": [ + "config":{ + "controller":[ { - "name": "ric1", - "baseUrl": "http://localhost:8080/", - "managedElementIds": [ + "name":"controller1", + "baseUrl":"http://localhost:8083/", + "userName":"user", + "password":"password" + } + ], + "ric":[ + { + "name":"ric1", + "controller": "controller1", + "baseUrl":"http://localhost:8083/", + "managedElementIds":[ "kista_1", "kista_2" ] }, { - "name": "ric2", - "baseUrl": "http://localhost:8081/", - "managedElementIds": [ + "name":"ric2", + "baseUrl":"http://localhost:8085/", + "managedElementIds":[ "kista_3", "kista_4" ] } - ] - }, - "streams_publishes": { - "dmaap_publisher": { - "type": "message_router", - "dmaap_info": { - "topic_url": "http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-WRITE" + ], + "streams_publishes":{ + "dmaap_publisher":{ + "type":"message_router", + "dmaap_info":{ + "topic_url":"http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-WRITE" + } + } + }, + "streams_subscribes":{ + "dmaap_subscriber":{ + "type":"message_router", + "dmaap_info":{ + "topic_url":"http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-READ/users/policy-agent" + } } - } - }, - "streams_subscribes": { - "dmaap_subscriber": { - "dmaap_info": { - "topic_url": "http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-READ/users/policy-agent" - }, - "type": "message_router" } } -} \ No newline at end of file +}