This stuff is define in a couple of config files under 
/opt/eteshare/config/. I guess the command is a bit more complex, like the 
one in the last line of /opt/demo.sh.


Mit freundlichen Gr??en / Kind regards 
Josef Reisinger 
When wisdom comes to call, there's nobody listening at all - Pendragon / 
Man Of Nomadic Traits 
IBM Sales & Distribution, Communications Sector
Certified IT-Architect Telecommunications
IBM Certified Telecommunications Industry ITA
Lehrbeauftragter an der Hochschule Fresenius
IBM Deutschland 
Godesberger Allee 127 
53175 Bonn Beuel
Phone:    +49 151 1426 4559 
Mobile:  +49-(0) 151 1426 4559 
E-Mail:  josef.reisinger at de.ibm.com 


IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter 
Gesch?ftsf?hrung: Martina Koederitz (Vorsitzende), Nicole Reimer, Norbert 
Janzen, Dr. Christian Keller, Ivo Koerner, Stefan Lutz 
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, 
HRB 14562 / WEEE-Reg.-Nr. DE 99369940 




From:   "Yusuf Mirza1" <[email protected]>
To:     "HERNANDEZ-HERRERO, JORGE" <jh1730 at att.com>
Cc:     onap-discuss <onap-discuss at lists.onap.org>
Date:   25.04.2017 15:53
Subject:        Re: [onap-discuss] Policy API Error from CURL
Sent by:        onap-discuss-bounces at lists.onap.org



Hi Jorge,

Using http is returning "http://pdp:8181/pdp"; which is the only pdp 
available, so it works. Thanks for the input.




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
Mobile: +971543070467


"HERNANDEZ-HERRERO, JORGE" ---04/24/2017 07:40:32 PM---Yusuf, Please try 
the curl command using http instead of https against the pdps url. I think 
the im

From: "HERNANDEZ-HERRERO, JORGE" <[email protected]>
To: onap-discuss <onap-discuss at lists.onap.org>
Date: 04/24/2017 07:40 PM
Subject: Re: [onap-discuss] Policy API Error from CURL
Sent by: onap-discuss-bounces at lists.onap.org



Yusuf,

Please try the curl command using http instead of https against the pdps 
url. I think the images are set up to use http. The doc you are pointing 
out may not be precise in that aspect.

With regards to the ?policy? component healthcheck, that?s a summarized 
view of the main policy subcomponents, so don?t need to run it through 
each container, as they seem ok, so let?s follow the first paragraph lead 
and see what you get. If still get an error, please use the ?-vvv? flag 
and report output here. 

Jorge

From: [email protected] [
mailto:onap-discuss-bounces at lists.onap.org] On Behalf Of Yusuf Mirza1
Sent: Monday, April 24, 2017 10: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




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..


Instead I get the following response:

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
Mobile: +971543070467


"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" <[email protected]>
To: "DRAGOSH, PAM" <pdragosh at research.att.com>, Yusuf Mirza1/United Arab 
Emirates/IBM at IBMAE
Cc: onap-discuss <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: [email protected] [
mailto:onap-discuss-bounces at lists.onap.org] On Behalf Of DRAGOSH, PAM
Sent: Monday, April 24, 2017 9:13 AM
To: Yusuf Mirza1 <YMirza at ae.ibm.com>
Cc: onap-discuss <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 <[email protected]>
Date: Monday, April 24, 2017 at 8:34 AM
To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com>
Cc: onap-discuss <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:

It does not work from command line as well:

However, I ran the commands you provided and it returned following from 
the drools container:



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:





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
Mobile: +971543070467


"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)" <[email protected]>
To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE
Cc: onap-discuss <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 | python -m json.tool

Pam

From: Yusuf Mirza1 <[email protected]>
Date: Monday, April 24, 2017 at 4:36 AM
To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com>
Cc: onap-discuss <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. 





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
Mobile: +971543070467


"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)" <[email protected]>
To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE, onap-discuss <
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



From: <[email protected]> on behalf of Yusuf Mirza1 <
YMirza at ae.ibm.com>
Date: Friday, April 21, 2017 at 11:53 AM
To: onap-discuss <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?



Docker containers running on the policy VM:


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
Mobile: +971543070467
_______________________________________________
onap-discuss mailing list
onap-discuss at lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss
_______________________________________________
onap-discuss mailing list
onap-discuss at lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 51940 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 105 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 20015 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 13882 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0003.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 61235 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 105 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 50796 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 86606 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 80413 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 245826 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 106 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 70640 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 107 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0007.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 61235 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 215019 bytes
Desc: not available
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/3068bee8/attachment-0017.png>

Reply via email to