Yes, there are timeouts in sparky (around 30 seconds).

If you want the UI to be of value, I recommend that you fix the latency issue.

Otherwise, you won’t find the UI helping you much if you increase the timeout 
values as you will be waiting for very long periods to see anything on the 
screen.

Francis

From: Chandrashekhar Thakare <[email protected]>
Sent: Wednesday, May 22, 2019 12:31 PM
To: [email protected]; Francis Paquette <[email protected]>
Cc: Ashish.7.Singh <[email protected]>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Yes .. It took the time for most of the queries around 10 mins, but we are able 
to get the output… Not sure why it is getting timed out within 30035 ms. Do we 
set any timeout for these queries in any of the containers?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Francis Paquette
Sent: 22 May 2019 20:24
To: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: Ashish.7.Singh 
<[email protected]<mailto:[email protected]>>; Francis 
Paquette <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] [aai] Standalone AAI UI

It is timing out trying to get the entries from HA proxy (port 8443).
The requests are traversal requests.  Are you able to do the equivalent 
requests from outside k8s?
(replace aai:8443 with the ip address and port to hit ha proxy)

Francis
From: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>
Sent: Wednesday, May 22, 2019 10:29 AM
To: Francis Paquette 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: Ashish.7.Singh 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Hi Francis,

We are getting  following exceptions in sync logs.. Is memory the constraint 
here.?  Which readtimeout it will use .. Is it traversal timeout?

2019-05-22T10:01:34.036Z|962457180|SES-AAI-4|AAIUI|Sync|AAIRESTClient|ERROR|AC2002E|AC2002E
 Error during GET operation to endpoint at url = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=complex&filter=physical-location-id:EXISTS
 with error = java.net.SocketTimeoutException: Read timed out|
2019-05-22T10:01:34.036Z|962457180|SES-AAI-4|AAIUI|Sync|AAIRESTClient|INFO|AC0003I|AC0003I
 GET request operation time = 30035 ms for link = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=complex&filter=physical-location-id:EXISTS|
2019-05-22T10:01:34.036Z|962457180|SES-AAI-4|AAIUI|Sync|AAIRESTClient|INFO|AC0004I|AC0004I
 request at url = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=complex&filter=physical-location-id:EXISTS
 resulted in http response: 500 Internal Server Error|
2019-05-22T10:01:34.235Z|962457180|SES-AAI-3|AAIUI|Sync|AAIRESTClient|ERROR|AC2002E|AC2002E
 Error during GET operation to endpoint at url = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=pnf&filter=pnf-name:EXISTS
 with error = java.net.SocketTimeoutException: Read timed out|
2019-05-22T10:01:34.235Z|962457180|SES-AAI-3|AAIUI|Sync|AAIRESTClient|INFO|AC0003I|AC0003I
 GET request operation time = 30034 ms for link = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=pnf&filter=pnf-name:EXISTS|
2019-05-22T10:01:34.235Z|962457180|SES-AAI-3|AAIUI|Sync|AAIRESTClient|INFO|AC0004I|AC0004I
 request at url = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=pnf&filter=pnf-name:EXISTS
 resulted in http response: 500 Internal Server Error|
2019-05-22T10:01:34.362Z|962457180|SES-AAI-2|AAIUI|Sync|AAIRESTClient|ERROR|AC2002E|AC2002E
 Error during GET operation to endpoint at url = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=logical-link&filter=link-name:EXISTS
 with error = java.net.SocketTimeoutException: Read timed out|
2019-05-22T10:01:34.363Z|962457180|SES-AAI-2|AAIUI|Sync|AAIRESTClient|INFO|AC0003I|AC0003I
 GET request operation time = 30028 ms for link = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=logical-link&filter=link-name:EXISTS|
2019-05-22T10:01:34.363Z|962457180|SES-AAI-2|AAIUI|Sync|AAIRESTClient|INFO|AC0004I|AC0004I
 request at url = 
https://aai:8443/aai/v14/search/nodes-query?search-node-type=logical-link&filter=link-name:EXISTS
 resulted in http response: 500 Internal Server Error|



From: Francis Paquette [mailto:[email protected]]
Sent: 22 May 2019 18:07
To: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: Ashish.7.Singh 
<[email protected]<mailto:[email protected]>>; Francis 
Paquette <[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

On startup, Sparky will initiate a sync to populate Elastic search.  You may 
want to check its logs first.
(The sync makes use of search service to populate elastic Search)

After that, data-router is reading from dmaap message bus and will update 
Elastic Search when (create/update/delete) events are triggered by 
aai-resources (again using search service).

Francis

From: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>
Sent: Tuesday, May 21, 2019 10:13 AM
To: [email protected]<mailto:[email protected]>; Francis 
Paquette <[email protected]<mailto:[email protected]>>
Cc: Ashish.7.Singh 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Hi,
Is there any mechanism/implementation by which elastic search enables the cache 
for data available in Cassandra? In our case it seems that search API is not 
able to retrieve any data from the elastic search.


From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Chandra
Sent: 20 May 2019 20:37
To: [email protected]<mailto:[email protected]>; 
Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; Francis 
Paquette <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] [aai] Standalone AAI UI

Thanks Francis.
Finally we are able to repoint it to standalone UI. But nothing is getting 
displayed on UI evenif we have multiple nodes available. When we try to search 
getting 0 node found.

Any pointers for debugging?
Getting the O/P of URL as below.

http://<IP>:30220/rest/search/querysearch/<http://%3cIP%3e:30220/rest/search/querysearch/>
{
  "processingTimeInMs" : 65,
  "totalFound" : 0,
  "suggestions" : [ ]
}



From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Chandra
Sent: 20 May 2019 14:06
To: Francis Paquette 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] [aai] Standalone AAI UI

Hi Francis,

Sorry missed your reply.. Do you mean edit the configmap and change the value 
and then deploy via helm(without any change in image)?

Or do you mean that build the image with the required configurations and then 
deploy?

From: Francis Paquette [mailto:[email protected]]
Sent: 16 May 2019 17:54
To: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Cc: Francis Paquette 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

The file is read only in the docker container.

Edit before you deploy and destroy the sparky configmap so the change gets 
picked up.

Francis

From: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>
Sent: Thursday, May 16, 2019 8:17 AM
To: Francis Paquette 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Thanks Francis. I am currently facing issue to edit this file it seems that it 
is in readonly-file system. Any known workaround to edit these rreadonly files 
in ONAP please?

From: Francis Paquette [mailto:[email protected]]
Sent: 16 May 2019 17:16
To: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Cc: Francis Paquette 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

If you change the spring.profiles.active to

spring.profiles.active=camel,http,fe-prod,oxm-schema-prod,oxm-default,resources,sync
(and omit the portal from it) then you should be able to access AAI UI directly.

Francis

From: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>
Sent: Thursday, May 16, 2019 3:31 AM
To: Francis Paquette 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Hi Francis,
Thanks for your reply.
We are using K8s Casablanca environment. Following are the contents of the 
application.properties file within the sparky-be pod. I could not see any 
option here to disable any redirection

spring.mvc.favicon.enabled=false

spring.profiles.active=camel,http,fe-prod,oxm-schema-prod,oxm-default,resources,sync,portal

searchservice.hostname=aai-search-data
searchservice.port=9509
searchservice.client-cert=client-cert-onap.p12
searchservice.client-cert-password=1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
searchservice.truststore=tomcat_keystore

From: Francis Paquette [mailto:[email protected]]
Sent: 16 May 2019 01:28
To: [email protected]<mailto:[email protected]>; 
Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Cc: Francis Paquette 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Hi Chandra, if you disabled the portal as Arul specified, you can access the 
AAI UI using

https://aai.api.sparky.simpledemo.onap.org:30220/services/aai/webapp/index.html
(you can possibly replace aai.api.sparky.simpledemo.onap.org with one of the 
k8s node ip addresses)

Francis

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Chandra
Sent: Wednesday, May 15, 2019 1:59 PM
To: [email protected]<mailto:[email protected]>; 
Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] [aai] Standalone AAI UI

Hi Arul,
How can we access the standalone AAI UI  in K8S environment?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Chandra
Sent: 28 February 2019 22:14
To: Arul Nambi <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] [aai] Standalone AAI UI

Hi Arul,
Is the standalone UI is available for AAI in Casablanca? Or it is still under 
development  for Dublin?

From: Arul Nambi [mailto:[email protected]]
Sent: 06 November 2018 19:47
To: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Hi Chandra,
Yes you are right, you cannot use sparky without portal in Beijing ☹
Regards
Arul

From: Chandrashekhar Thakare [mailto:[email protected]]
Sent: Tuesday, November 6, 2018 3:44 AM
To: [email protected]<mailto:[email protected]>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [aai] Standalone AAI UI

Thanks Arul.
Understood that the portal redirection can not be disabled  but does this mean 
that standalone AAI application UI cannot be accessed in Beijing and we will 
have to use Casablanca or Master for same?




From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Arul Nambi
Sent: 05 November 2018 19:01
To: Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] [aai] Standalone AAI UI

Hey Chandra,
Sorry unfortunately we were in the middle of configuration changes in Beijing 
and there is no way to disable portal in Beijing. Can you move to 
master/Casablanca? It is stable at this point in time.
Regards
Arul

From: Chandrashekhar Thakare [mailto:[email protected]]
Sent: Monday, November 5, 2018 4:33 AM
To: Arul Nambi <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: RE: [aai] Standalone AAI UI

Hi Arul,
Thanks for information.
I am currently using the  following and using Beijing installation. Its heat 
based installation.
nexus3.onap.org:10001/onap/sparky-be             1.2.1

Where exactly I can locate this file ? Inside any specific docker ? I tried to 
search but could not get the portal profile related details inside 
aai-resources/aai-traversal.

From: Arul Nambi [mailto:[email protected]]
Sent: 02 November 2018 16:00
To: [email protected]<mailto:[email protected]>; 
Chandrashekhar Thakare 
<[email protected]<mailto:[email protected]>>
Subject: RE: [aai] Standalone AAI UI

Hi Chandra,
Are you which version of sparky are you using? If you using the one from 
master, then you should be able to disable the portal profile from 
application.properties in backend. This will make sure that you are not 
redirected to portal for authentication.
Regards
Arul

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Chandra
Sent: Friday, November 2, 2018 5:21 AM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] [aai] Standalone AAI UI

Hi,
I am trying to  access the standalone UI of AAI with below URL-

http://<AAI<http://%3cAAI> IP address>:9517/services/aai/webapp/index.html

However; it is pointing to

http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm

Is there any way to disable this redirection?
============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

“Amdocs’ email platform is based on a third-party, worldwide, cloud-based 
system. Any emails sent to Amdocs will be processed and stored using such 
system and are accessible by third party providers of such system on a limited 
basis. Your sending of emails to Amdocs evidences your consent to the use of 
such system and such processing, storing and access”.

“Amdocs’ email platform is based on a third-party, worldwide, cloud-based 
system. Any emails sent to Amdocs will be processed and stored using such 
system and are accessible by third party providers of such system on a limited 
basis. Your sending of emails to Amdocs evidences your consent to the use of 
such system and such processing, storing and access”.

“Amdocs’ email platform is based on a third-party, worldwide, cloud-based 
system. Any emails sent to Amdocs will be processed and stored using such 
system and are accessible by third party providers of such system on a limited 
basis. Your sending of emails to Amdocs evidences your consent to the use of 
such system and such processing, storing and access”.
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service

This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service 
<https://www.amdocs.com/about/email-terms-of-service>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17197): https://lists.onap.org/g/onap-discuss/message/17197
Mute This Topic: https://lists.onap.org/mt/27825888/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to