Hi Goutam, This link<https://gerrit.onap.org/r/gitweb?p=testsuite.git;a=tree;f=robot/assets/usecases/5gson;h=3322ff7f02bd41434bfd16d3e021a49b4c7797c2;hb=refs/heads/master> will have the monitoring_policy_type.json, son_monitoring.json, son_deploy.json
You can use the below curl commands to create the monitoring policy type and monitoring policy and push it to xacml pdp engine. To create policy type curl -k -v --user 'healthcheck:zb!XztG34' -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d @ monitoring_policy_type.json https://policy-api:6969/policy/api/v1/policytypes To create the policy curl -v -k --silent --user 'healthcheck:zb!XztG34' -X POST "https://policy-api:6969/policy/api/v1/policytypes/onap.policies.monitoring.docker.sonhandler.app/versions/1.0.0/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @son_monitoring.json To push the policy to xacml pdp curl --silent -k --user 'healthcheck:zb!XztG34' -X POST "https://policy-pap:6969/policy/pap/v1/pdps/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @son_deploy.json With best regards Krishna From: Goutam Roy <[email protected]> Sent: 08 September 2021 17:17 To: Krishna Moorthy (iDEAS-ER&D) <[email protected]> Cc: [email protected]; Niranjana Y (iDEAS-ER&D) <[email protected]>; Indranil Basu <[email protected]>; N.K. Shankaranarayanan <[email protected]>; Saurabh Chattopadhyay <[email protected]> Subject: Re: ONAP : SON policy creation problem CAUTION:This email is received from an external domain. Open the hyperlink(s) & attachment(s) with caution. . Hi Krishna, Thank you. It would be great help if you share the API and the list of Policy needs to be created. I am eagerly waiting for your reply. With Regards Goutam Roy On Wed, Sep 8, 2021 at 10:37 AM Krishna Moorthy (iDEAS-ER&D) <[email protected]<mailto:[email protected]>> wrote: Hi Goutam, The rest apis mentioned in the page seems to be outdated. I will send you the new apis and the corresponding policy type and policies to create. With Best Regards Krishna From: Goutam Roy <[email protected]<mailto:[email protected]>> Sent: 08 September 2021 10:28 To: [email protected]<mailto:[email protected]>; Krishna Moorthy (iDEAS-ER&D) <[email protected]<mailto:[email protected]>>; Niranjana Y (iDEAS-ER&D) <[email protected]<mailto:[email protected]>> Cc: Indranil Basu <[email protected]<mailto:[email protected]>>; N.K. Shankaranarayanan <[email protected]<mailto:[email protected]>>; Saurabh Chattopadhyay <[email protected]<mailto:[email protected]>> Subject: ONAP : SON policy creation problem CAUTION:This email is received from an external domain. Open the hyperlink(s) & attachment(s) with caution. . Hi ONAP SON team, Do i need to create the policy "com.PCIMS_CONFIG_POLICY" as per below document. https://docs.onap.org/projects/onap-dcaegen2/en/frankfurt/sections/services/son-handler/installation.html?highlight=dcaegen2<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect2.fireeye.com%2Fv1%2Furl%3Fk%3Ddf446c1b-80df54cf-df4721e2-8680d8d86cc5-602f52ef23ae2ee9%26q%3D1%26e%3D631280f8-2853-4d54-ac85-9d83d3b978e6%26u%3Dhttps%253A%252F%252Fapc01.safelinks.protection.outlook.com%252F%253Furl%253Dhttps%25253A%25252F%25252Fdocs.onap.org%25252Fprojects%25252Fonap-dcaegen2%25252Fen%25252Ffrankfurt%25252Fsections%25252Fservices%25252Fson-handler%25252Finstallation.html%25253Fhighlight%25253Ddcaegen2%2526data%253D04%25257C01%25257Ckrishna.moorthy6%252540wipro.com%25257C546d7d89de3c48a4b21308d97285852a%25257C258ac4e4146a411e9dc879a9e12fd6da%25257C1%25257C0%25257C637666740068927971%25257CUnknown%25257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%25253D%25257C1000%2526sdata%253DCD%25252BjSAmQTiWpggAAKe4Pp4dr6XbPDhC%25252F5YrcionXwIs%25253D%2526reserved%253D0&data=04%7C01%7Ckrishna.moorthy6%40wipro.com%7C1b8e82e61a944c705a2908d972be9ee3%7C258ac4e4146a411e9dc879a9e12fd6da%7C1%7C0%7C637666985336138802%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZaU83O9wk2pg3YIQZcjH%2F%2FWTVAz5ViHDfPW34Jqkaj4%3D&reserved=0> If we have to create the policy "com.PCIMS_CONFIG_POLICY " then how can I create it|? Because the document is old one. Please response me Goutam Roy Sterlite Technologies Limited World Trade Centre, Office No-505/506/507, Tower 1, 5th Floor, Opp. EON IT Park, Kharadi, Pune, Maharashtra - 411014, India [https://www.stl.tech/images/STL_Signature.png] STL - Sterlite Technologies Limited Disclaimer: The content of this message may be legally privileged and confidential and are for the use of the intended recipient(s) only. It should not be read, copied and used by anyone other than the intended recipient(s). If you have received this message in error, please immediately notify the sender, preserve its confidentiality and delete it. Before opening any attachments please check them for viruses and defects. No employee or agent is authorised to conclude any binding agreement on behalf of Sterlite Technologies Limited with another party by email without express written confirmation by authorised person. Visit us at www.stl.tech<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect2.fireeye.com%2Fv1%2Furl%3Fk%3Df9f16bce-a66a531a-f9f22637-8680d8d86cc5-9829507edd9dc8c1%26q%3D1%26e%3D631280f8-2853-4d54-ac85-9d83d3b978e6%26u%3Dhttps%253A%252F%252Fapc01.safelinks.protection.outlook.com%252F%253Furl%253Dhttp%25253A%25252F%25252Fwww.sterlitetech.com%25252F%2526data%253D04%25257C01%25257Ckrishna.moorthy6%252540wipro.com%25257C546d7d89de3c48a4b21308d97285852a%25257C258ac4e4146a411e9dc879a9e12fd6da%25257C1%25257C0%25257C637666740068937932%25257CUnknown%25257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%25253D%25257C1000%2526sdata%253Dq0EDqJrJZlia5%25252FafsquU7l%25252FmtzMGYRbqsSbUdihXnHw%25253D%2526reserved%253D0&data=04%7C01%7Ckrishna.moorthy6%40wipro.com%7C1b8e82e61a944c705a2908d972be9ee3%7C258ac4e4146a411e9dc879a9e12fd6da%7C1%7C0%7C637666985336148756%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=04sytiJelNtPN9Uz0ie85fNRLMdwVnopqjhLy22Vkpg%3D&reserved=0> [https://37e7ebea-a-109baac8-s-sites.googlegroups.com/a/sterlitegroup.in/signature/green-IT-do-not-print-footer.jpg?attachauth=ANoY7crUtytUE9cFDAwNy6GX_plXO5hJmLZvhRR3DQyMNxWYRf0_MYprU7K7hEeN8V7sx5-gIJTuE399GQRAYKJqle1KqL5oVoLPn27hjEIMNar5DQpeaxCHVQaxnc9Wy] Please consider environment before printing this email ! Registered office: E 1, MIDC Industrial Area, Waluj, Aurangabad, Maharashtra - 431 136 CIN - L31300MH2000PLC269261 'The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wipro.com%2F&data=04%7C01%7Ckrishna.moorthy6%40wipro.com%7C1b8e82e61a944c705a2908d972be9ee3%7C258ac4e4146a411e9dc879a9e12fd6da%7C1%7C0%7C637666985336158712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FMiGjGANpIngoZ9UzYQ%2FeP%2FPczYXjo4mFw4Ad%2BCQ4Bg%3D&reserved=0>' -- Goutam Roy Architect Sterlite Technologies LimitedWorld Trade Centre, Office No-505/506/507, Tower 1, 5th Floor, Opp. EON IT Park, Kharadi, Pune, Maharashtra - 411014, India [https://www.stl.tech/images/STL_Signature.png] STL - Sterlite Technologies Limited Disclaimer: The content of this message may be legally privileged and confidential and are for the use of the intended recipient(s) only. It should not be read, copied and used by anyone other than the intended recipient(s). If you have received this message in error, please immediately notify the sender, preserve its confidentiality and delete it. Before opening any attachments please check them for viruses and defects. No employee or agent is authorised to conclude any binding agreement on behalf of Sterlite Technologies Limited with another party by email without express written confirmation by authorised person. Visit us at www.stl.tech<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sterlitetech.com%2F&data=04%7C01%7Ckrishna.moorthy6%40wipro.com%7C1b8e82e61a944c705a2908d972be9ee3%7C258ac4e4146a411e9dc879a9e12fd6da%7C1%7C0%7C637666985336158712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=f%2BqjBEuS3rro4X4VjRsRjuYrrU9d7BBrPHMWURnm0ao%3D&reserved=0> [https://37e7ebea-a-109baac8-s-sites.googlegroups.com/a/sterlitegroup.in/signature/green-IT-do-not-print-footer.jpg?attachauth=ANoY7crUtytUE9cFDAwNy6GX_plXO5hJmLZvhRR3DQyMNxWYRf0_MYprU7K7hEeN8V7sx5-gIJTuE399GQRAYKJqle1KqL5oVoLPn27hjEIMNar5DQpeaxCHVQaxnc9Wy] Please consider environment before printing this email ! Registered office: E 1, MIDC Industrial Area, Waluj, Aurangabad, Maharashtra - 431 136 CIN - L31300MH2000PLC269261 'The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com' -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#23538): https://lists.onap.org/g/onap-discuss/message/23538 Mute This Topic: https://lists.onap.org/mt/85452770/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
