I updated that page

Thanks,
Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308

From: Yusuf Mirza1 [mailto:[email protected]]
Sent: Monday, April 24, 2017 11:02 AM
To: ROSE, DANIEL V <DR695H at att.com>; DRAGOSH, PAM <pdragosh at 
research.att.com>
Cc: onap-discuss <onap-discuss at lists.onap.org>
Subject: RE: [onap-discuss] Policy API Error from CURL


Daniel,
For the health check status using Robot VM via http is mentioned in the release 
notes. Pls suggest whether it is applicable..
https://wiki.onap.org/display/DW/Release+Notes+1.0.0+draft<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Release-2BNotes-2B1.0.0-2Bdraft&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=o4-N6tXxffl-KEDLWiEySwv6wjY2NfkZ3ZIISsdLlD0&s=_1Rupg6I5O8eSZpvku3SZbOeGGyNj6GpUL3KN-j4eqQ&e=>

[cid:image001.png at 01D2BCEF.3A1647B0]



Pam,
I am trying to call Policy APIs to list available Pdps using CURL as mentioned 
in the Policy API documentation. I was expecting it return an exception if a 
parameter is missing..
[cid:image002.jpg at 01D2BCEF.3A1647B0]

Instead I get the following response:

[cid:image003.png at 01D2BCEF.3A1647B0]
API documentation from Wiki:
(See attached file: index_Policy_API (2).html)


Many Thanks
Yusuf Mirza
====================================
Lead Architect - Network and OSS Transformation
Telecom, Media & Entertainment Center of Competence
IBM Global Business Services
E-mail: ymirza at ae.ibm.com<mailto:ymirza at ae.ibm.com>
Mobile: +971543070467


[Inactive hide details for "ROSE, DANIEL V" ---04/24/2017 05:43:06 PM---What 
page are you seeing that document on yusuf? I don?]"ROSE, DANIEL V" 
---04/24/2017 05:43:06 PM---What page are you seeing that document on yusuf? I 
don?t think the code works that way. Thanks,

From: "ROSE, DANIEL V" <DR695H at att.com<mailto:[email protected]>>
To: "DRAGOSH, PAM" <pdragosh at research.att.com<mailto:pdragosh at 
research.att.com>>, Yusuf Mirza1/United Arab Emirates/IBM at IBMAE
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Date: 04/24/2017 05:43 PM
Subject: RE: [onap-discuss] Policy API Error from CURL

________________________________



What page are you seeing that document on yusuf? I don?t think the code works 
that way.

Thanks,
Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308

From: onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org> [mailto:[email protected]] On Behalf Of 
DRAGOSH, PAM
Sent: Monday, April 24, 2017 9:13 AM
To: Yusuf Mirza1 <YMirza at ae.ibm.com<mailto:YMirza at ae.ibm.com>>
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: Re: [onap-discuss] Policy API Error from CURL

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
Not sure about the other containers, but that looks good like everything is 
working.

Re-reading your original email, not sure exactly where you got that curl 
command to run? Can you point it to me and/or what you are trying to test?

Thanks,

Pam

From: Yusuf Mirza1 <YMirza at ae.ibm.com<mailto:[email protected]>>
Date: Monday, April 24, 2017 at 8:34 AM
To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com<mailto:pdragosh at 
research.att.com>>
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: Re: [onap-discuss] Policy API Error from CURL

Thanks Pam for the details.

I was actually trying to follow the following instructions on Wiki and was 
expecting to get an overall health check result:
[cid:image005.png at 01D2BCEF.3A1647B0]
It does not work from command line as well:
[cid:image006.png at 01D2BCEF.3A1647B0]
However, I ran the commands you provided and it returned following from the 
drools container:

[cid:image007.png at 01D2BCEF.3A1647B0]

Do I need run the same test in all containers in Policy VM? I tried running for 
pdp (and others) but it does return any object:

[cid:image008.png at 01D2BCEF.3A1647B0]



Many Thanks
Yusuf Mirza
====================================
Lead Architect - Network and OSS Transformation
Telecom, Media & Entertainment Center of Competence
IBM Global Business Services
E-mail: ymirza at ae.ibm.com<mailto:ymirza at ae.ibm.com>
Mobile: +971543070467


[nactive hide details for "DRAGOSH, PAMELA L (PAM)" ---04/24/2017 
03:44:29]"DRAGOSH, PAMELA L (PAM)" ---04/24/2017 03:44:29 PM---Yusuf, To run 
the healthcheck, you should get into the containers and simply run a curl 
command

From: "DRAGOSH, PAMELA L (PAM)" <pdragosh at 
research.att.com<mailto:[email protected]>>
To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Date: 04/24/2017 03:44 PM
Subject: Re: [onap-discuss] Policy API Error from CURL

________________________________




Yusuf,

To run the healthcheck, you should get into the containers and simply run a 
curl command

You can get into the containers via a command like this:

docker exec -t -i "drools" /bin/bash -c 'TERM=xterm exec /bin/bash'

Then to do health check, this command will show:

curl --silent --user 'healthcheck:zb!XztG34' -X GET 
http://localhost:6969/healthcheck<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A6969_healthcheck&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=Ox7fs4bVnaTtha-thbmoFIN9TDX79JnmHwcLS_RFkCA&s=7WC5FZvZHvjkwFvW6UOe4HHKheDEPYFXKP3NOshmobs&e=>
 | python -m json.tool

Pam

From: Yusuf Mirza1 <YMirza at ae.ibm.com<mailto:[email protected]>>
Date: Monday, April 24, 2017 at 4:36 AM
To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com<mailto:pdragosh at 
research.att.com>>
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: Re: [onap-discuss] Policy API Error from CURL

Hi Pam,

When we are trying to access the health check results, it is asking for a 
user/password:

Could you help with the default access details.. we tried demo, test, etc.

[cid:image010.png at 01D2BCEF.3A1647B0]


Many Thanks
Yusuf Mirza
====================================
Lead Architect - Network and OSS Transformation
Telecom, Media & Entertainment Center of Competence
IBM Global Business Services
E-mail: ymirza at ae.ibm.com<mailto:ymirza at ae.ibm.com>
Mobile: +971543070467


[active hide details for "DRAGOSH, PAMELA L (PAM)" ---04/21/2017 
10:22:23]"DRAGOSH, PAMELA L (PAM)" ---04/21/2017 10:22:23 PM---Yusuf, Can you 
run the healthcheck and let us know the results?

From: "DRAGOSH, PAMELA L (PAM)" <pdragosh at 
research.att.com<mailto:[email protected]>>
To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE, onap-discuss <onap-discuss 
at lists.onap.org<mailto:onap-discuss at lists.onap.org>>
Date: 04/21/2017 10:22 PM
Subject: Re: [onap-discuss] Policy API Error from CURL

________________________________





Yusuf,

Can you run the healthcheck and let us know the results?

There may be an issue with the IP address mapping 10.0.6.1:8081. We are seeing 
this internally also on another installation.

Thanks,

Pam

Pamela Dragosh
Lead Inventive Scientist
ONAP Policy
AT&T Research
pdragosh at research.att.com<mailto:pdragosh at research.att.com>



From: <onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org>> on behalf of Yusuf Mirza1 <YMirza at 
ae.ibm.com<mailto:[email protected]>>
Date: Friday, April 21, 2017 at 11:53 AM
To: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: [onap-discuss] Policy API Error from CURL

Hi All,

I am getting the below error in invoking Curl Get on the Policy APIs. Is there 
any SSL config/settings required to be done on Policy VM to start accepting API 
calls?

[cid:image003.png at 01D2BCEF.3A1647B0]

Docker containers running on the policy VM:
[cid:image012.png at 01D2BCEF.3A1647B0]

We are using ONAP on Vanilla OpenStack (Octata).



Many Thanks
Yusuf Mirza
====================================
Lead Architect - Network and OSS Transformation
Telecom, Media & Entertainment Center of Competence
IBM Global Business Services
E-mail: ymirza at ae.ibm.com<mailto:ymirza at ae.ibm.com>
Mobile: +971543070467


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 20015 bytes
Desc: image001.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 13882 bytes
Desc: image002.jpg
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 61235 bytes
Desc: image003.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.gif
Type: image/gif
Size: 105 bytes
Desc: image004.gif
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 50796 bytes
Desc: image005.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 86606 bytes
Desc: image006.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 80413 bytes
Desc: image007.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 245826 bytes
Desc: image008.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.gif
Type: image/gif
Size: 106 bytes
Desc: image009.gif
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 70640 bytes
Desc: image010.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.gif
Type: image/gif
Size: 107 bytes
Desc: image011.gif
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image012.png
Type: image/png
Size: 215019 bytes
Desc: image012.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/410b0d69/attachment-0015.png>

Reply via email to