Re: [onap-discuss] [policy] How to connect policy REST API server ?
Thank you for sharing these details. Earlier, I have noticed this similar pattern in ROBOT scripts that policy has hard-coded CLIENTAUTH and Authorization but I was expecting that in Beijing, there will be a way by which user can use credentials instead. Do you have plan to integrate with AAF ? Regards Kanagaraj M - Be transparent! Win together !! 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: HERNANDEZ-HERRERO, JORGE [mailto:jh1...@att.com] Sent: Tuesday, March 27, 2018 7:51 AM To: Kanagaraj Manickam; onap-discuss@lists.onap.org Subject: RE: [policy] How to connect policy REST API server ? Hello, With regards to 1-3, see: https://git.onap.org/policy/docker/tree/config/pe/push-policies.sh For 4, accessible at http://:8081/pdp/swagger-ui.html<http://%3cpolicy-vm%3e:8081/pdp/swagger-ui.html> Best regards, Jorge From: onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Kanagaraj Manickam Sent: Monday, March 26, 2018 8:49 AM To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Subject: [onap-discuss] [policy] How to connect policy REST API server ? Importance: High Dear Policy Team, I am looking for “REST API client guidelines” on how to connect to Policy service and found couple of following links. http://onap.readthedocs.io/en/latest/submodules/policy/engine.git/docs/platform/offeredapis.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io_en_latest_submodules_policy_engine.git_docs_platform_offeredapis.html=DwMFbw=LFYZ-o9_HUMeMTSQicvjIg=AOclne09odx6cmeimzFUhQ=D56qMz1vZ3V5puGX_P_Az_VhDUgY5UqahfK1suUbF2A=aj23BfDAkiPbnhFN4ckH-nFIvHgKmUS3o0pA7ovzOOA=> https://wiki.onap.org/display/DW/Policy+API<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Policy-2BAPI=DwMFbw=LFYZ-o9_HUMeMTSQicvjIg=AOclne09odx6cmeimzFUhQ=D56qMz1vZ3V5puGX_P_Az_VhDUgY5UqahfK1suUbF2A=4yTwBeCCzRNYB4vY2DQ5vJVnVB18hd-AMIIO7ChNV3w=> Could someone help me to resolve the following issues, which I could not figure out from these links: 1. What is the default username and password for Policy service? 2. How to generate the ClientAuth header? 3. How to generate Authorization header , if it is different from the Basic Auth? 4. There is no details on the entities used in the REST API, if you have swagger.json, kindly share. Thank you. Regards Kanagaraj M - Be transparent! Win together !! 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] [policy] How to connect policy REST API server ?
Hello, With regards to 1-3, see: https://git.onap.org/policy/docker/tree/config/pe/push-policies.sh For 4, accessible at http://:8081/pdp/swagger-ui.html<http://%3cpolicy-vm%3e:8081/pdp/swagger-ui.html> Best regards, Jorge From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Kanagaraj Manickam Sent: Monday, March 26, 2018 8:49 AM To: onap-discuss@lists.onap.org Subject: [onap-discuss] [policy] How to connect policy REST API server ? Importance: High Dear Policy Team, I am looking for “REST API client guidelines” on how to connect to Policy service and found couple of following links. http://onap.readthedocs.io/en/latest/submodules/policy/engine.git/docs/platform/offeredapis.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io_en_latest_submodules_policy_engine.git_docs_platform_offeredapis.html=DwMFbw=LFYZ-o9_HUMeMTSQicvjIg=AOclne09odx6cmeimzFUhQ=D56qMz1vZ3V5puGX_P_Az_VhDUgY5UqahfK1suUbF2A=aj23BfDAkiPbnhFN4ckH-nFIvHgKmUS3o0pA7ovzOOA=> https://wiki.onap.org/display/DW/Policy+API<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Policy-2BAPI=DwMFbw=LFYZ-o9_HUMeMTSQicvjIg=AOclne09odx6cmeimzFUhQ=D56qMz1vZ3V5puGX_P_Az_VhDUgY5UqahfK1suUbF2A=4yTwBeCCzRNYB4vY2DQ5vJVnVB18hd-AMIIO7ChNV3w=> Could someone help me to resolve the following issues, which I could not figure out from these links: 1. What is the default username and password for Policy service? 2. How to generate the ClientAuth header? 3. How to generate Authorization header , if it is different from the Basic Auth? 4. There is no details on the entities used in the REST API, if you have swagger.json, kindly share. Thank you. Regards Kanagaraj M - Be transparent! Win together !! 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
[onap-discuss] [policy] How to connect policy REST API server ?
Dear Policy Team, I am looking for “REST API client guidelines” on how to connect to Policy service and found couple of following links. http://onap.readthedocs.io/en/latest/submodules/policy/engine.git/docs/platform/offeredapis.html https://wiki.onap.org/display/DW/Policy+API Could someone help me to resolve the following issues, which I could not figure out from these links: 1. What is the default username and password for Policy service? 2. How to generate the ClientAuth header? 3. How to generate Authorization header , if it is different from the Basic Auth? 4. There is no details on the entities used in the REST API, if you have swagger.json, kindly share. Thank you. Regards Kanagaraj M - Be transparent! Win together !! 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss