Hi Manoop, The steps are captured in Arul's patch: https://gerrit.onap.org/r/#/c/55139
You need to assign a free node port to the portal-sdk chart's service. this can be done in its values.yaml file. The challenge here is with how things are working today, it is challenging to find a free port. I found one for you: 30234 is currently not being used by any charts. Once that is done, you take that node port and default it in the portal-mariadb values.yaml. This will then be used to update the mariadb's application URL with the node port. Now it will be able to redirect to your app. You should deploy the portal chart and test whether you can launch the new app as well. Mandeep On Thu, 2018-06-21 at 17:33 +0000, Manoop Talasila wrote: Hi Arul/Mandeep, Can you please guide me on which all files to update if I have to open a new port 30221 for portal-sdk? – this is related to similar pending item as AAI, the jira item is - https://jira.onap.org/browse/OOM-1117 I will update below file. But, are there any other files to update? Update the new 30xxx port in file: https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/portal/charts/portal-mariadb/values.yaml;h=7d9b82a629df5ba0f94b34d20c4234e738e10f4a;hb=789ee4aefe17623b25375b0a17474d12bc79354a At line: "portalSdkPort: "" # TODO: populate with port" Manoop From: "NAMBI, ARUL" <arul.na...@amdocs.com<mailto:arul.na...@amdocs.com>> Date: Thursday, June 21, 2018 at 9:52 AM To: Santi Rodríguez <srodrig...@optaresolutions.com<mailto:srodrig...@optaresolutions.com>> Cc: "TALASILA, MANOOP (MANOOP)" <talas...@research.att.com<mailto:talas...@research.att.com>>, "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>, "TATTAVARADA, SUNDER (SUNDER)" <sta...@research.att.com<mailto:sta...@research.att.com>> Subject: RE: [onap-discuss] Port number missing for AAI in portal Hi Santi, Thanks sorry I missed that, will get that updated in the patch. Regards Arul From: Santi Rodríguez [mailto:srodrig...@optaresolutions.com<mailto:srodrig...@optaresolutions.com>] Sent: Thursday, June 21, 2018 6:32 AM To: Arul Nambi <arul.na...@amdocs.com<mailto:arul.na...@amdocs.com>> Cc: TALASILA, MANOOP (MANOOP) <talas...@research.att.com<mailto:talas...@research.att.com>>; onap-discuss@lists.onap.org; TATTAVARADA, SUNDER (SUNDER) <sta...@research.att.com> Subject: Re: [onap-discuss] Port number missing for AAI in portal Hi Arul, all, I applied the https://gerrit.onap.org/r/#/c/55139 patch in my code and works perfectly!!! I only had to make a minor change: externalPort: 30220 instead of 9517 Now I can access to AAI from portal: Thanks, BR, Santiago Santiago Rodríguez García | Senior Analyst T/ + 34 986 410 091 (ext) 227 www.optaresolutions.com 2018-06-20 18:38 GMT+02:00 Arul Nambi <arul.na...@amdocs.com<mailto:arul.na...@amdocs.com>>: Thanks Manoop that is what I was looking for, I have patched my commit https://gerrit.onap.org/r/#/c/55139/ You are one of the reviewers. Regards Arul From: TALASILA, MANOOP (MANOOP) [mailto:talas...@research.att.com<mailto:talas...@research.att.com>] Sent: Wednesday, June 20, 2018 12:18 PM To: Arul Nambi <arul.na...@amdocs.com<mailto:arul.na...@amdocs.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Cc: TATTAVARADA, SUNDER (SUNDER) <sta...@research.att.com<mailto:sta...@research.att.com>> Subject: Re: Port number missing for AAI in portal Hi Arul, I believe once you update the new 30xxx port in below file then the AAI url will be formed with right port number in OOM deployment, so that Portal can access it correctly. Along with your other changes, please see if you would like to submit change to below file (otherwise, in past Mandeep helped us in keeping track of these ports correctly). o https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/portal/charts/portal-mariadb/values.yaml;h=7d9b82a629df5ba0f94b34d20c4234e738e10f4a;hb=789ee4aefe17623b25375b0a17474d12bc79354a o At line: # aai sparky ui assignment for port 8080 aaiSparkyPort: "" # TODO: populate with # application's front end hostname. Must be resolvable on the client side environment aaiSparkyHostName: "aai.api.sparky.simpledemo.onap.org" Manoop From: "NAMBI, ARUL" <arul.na...@amdocs.com<mailto:arul.na...@amdocs.com>> Date: Wednesday, June 20, 2018 at 11:19 AM To: "TALASILA, MANOOP (MANOOP)" <talas...@research.att.com<mailto:talas...@research.att.com>>, "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Cc: "TATTAVARADA, SUNDER (SUNDER)" <sta...@research.att.com<mailto:sta...@research.att.com>> Subject: RE: Port number missing for AAI in portal Hi Manoop, You are right I am working on the OOM deployments and assigned the task OOM-347 that you have pointed out. The issue is I have opened up a node port(30220) for sparky in the AAI lab(FYI: the code is not committed yet). Now even though the port is open and I can access the URL from my browser Here is a screenshot of the AAI running in OOM after I have the port exposed. The portal is not able to open it because the port number is not a part of the App URL. I can change this manually from the portal UI, but I want it to be included as a part of the onboarding script. And since the node port in OOM(30220) is different from the actual port(9517) it will be good if we can add this change only to OOM. Here is a screenshot of portal where when I click on AAI-UI. I am taken to a blank screen and in the logs you can see that the App URL is missing the port number. Regards Arul From: TALASILA, MANOOP (MANOOP) [mailto:talas...@research.att.com<mailto:talas...@research.att.com>] Sent: Wednesday, June 20, 2018 7:51 AM To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Arul Nambi <arul.na...@amdocs.com<mailto:arul.na...@amdocs.com>> Cc: TATTAVARADA, SUNDER (SUNDER) <sta...@research.att.com<mailto:sta...@research.att.com>> Subject: Re: Port number missing for AAI in portal I assume you are testing ONAP in an OOM deployment. Because in OOM deployment, the 30xxx ports are not yet mapped for these apps, so they are not accessible from Portal right now. They are being tracked though. However, these apps should work if you use HEAT based deployment. I hope this helps clarify the issue. https://jira.onap.org/browse/OOM-347 https://jira.onap.org/browse/OOM-1117 Manoop On Tue, Jun 19, 2018 at 12:09 PM -0400, "NAMBI, ARUL" <arul.na...@amdocs.com> wrote: Hi Portal team, In onap portal when we try to launch the AAI-UI from the portal, there is no port number(9517) defined, so the UI is not coming up. The url that the portal is trying to open is http://aai.api.sparky.simpledemo.onap.org:/services/aai/webapp/index.html?cc=1529423466440#/viewInspect it should be http://aai.api.sparky.simpledemo.onap.org:9517/services/aai/webapp/index.html?cc=1529423466440#/viewInspect Can you please make the change and also can you tell me if I can quickly change it in test config/ OOM templates? Or should it be done as a part of import scripts when you load up portal? Regards Arul This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer _______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> https://lists.onap.org/mailman/listinfo/onap-discuss This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer <https://www.amdocs.com/about/email-disclaimer> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10513): https://lists.onap.org/g/onap-discuss/message/10513 Mute This Topic: https://lists.onap.org/mt/22460892/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-