Hi Switon,
I am glad to hear that you are trying the sparky-ui.
To help you with the missing VNF can I ask you how you have deployed your 
setup? Do you have the OOM/Heat/Dev setup? And which version of ONAP you are 
using?
Regarding the /api/v2/storeAnalytics call it is a call that the portal wanted 
us to use. I have asked the portal team to eloborte on that I will let you know 
once I find the answers.
Regards
Arul

From: Switon, Tomasz (Nokia - PL/Wroclaw) [mailto:tomasz.swi...@nokia.com]
Sent: Wednesday, July 18, 2018 7:35 AM
To: Arul Nambi <arul.na...@amdocs.com>
Subject: Sparky-fe - problem with storeAnalytics enpoint

Hi Arul,

I am investigating a bug that we have noticed in nokia bout sparky-fe. After 
creating VNF it is not visible in AAI UI (I'm assuming that sparky-fe is the 
only UI for AAI - if there is another one, please inform me).

I have debug this and noticed, that the page sends a POST on the 
'/api/v2/storeAnalytics' endpoint. The response is 404 and I have not found any 
information about this endpoint anywhere in the code. Do you know in which 
project I can find it?

Besides, I have found that, the method that sends this 'postAnalyticsData' in 
/sparky-fe/src/app/analytics/AnalyticsActions.js. I see that you have commited 
this code to the project. I can see that the body has always and empty 'page' 
and 'functions' keys and an 'action' key, which seems to map to the whole html 
of the page that sends this request (sic!). I really don't know how to 
interpret this... Why send a html of the page using the POST method to some 
endpoint? Could you please help me out?


--
Best regards,
Tomasz Switon

Software Development Specialist, Software Engineer
MN MANO RD&Pz ONAP-UI-ML DEVOPS WRO 2 SG
Nokia
Contact number: +48 727 590 036
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 (#11229): https://lists.onap.org/g/onap-discuss/message/11229
Mute This Topic: https://lists.onap.org/mt/23672134/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to