Hi,
"
Editing the hosts file of the Portal machine is not a viable solution since the hosts file is not respected by Docker. The network should be set up such that the domain is resolvable."You can see it from the doc
https://docops.ca.com/ca-api-developer-portal-enhanced-experience/4-3/en/install-configure-and-upgrade/install-and-configure-api-portal/integrate-jarvis-analytics .
I did test with the host file and it didn't work. I think the jarvis domain name should be registered to DNS server, otherwise Portal could not recognize the jarvis domain.
So I did explicitly add host name to the 3 services - portal_apim, portal_tenant-provisioner, portal_analytics-server. Because here is no DNS server I can use.
docker service update --host-add "jarvis.example.com:IP-address" portal_apim
I add above 3 command to the end of portal.sh and it works great!
I would appreciate someone could tell another solution to resolve issue.
Original Message:
Sent: 06-12-2019 09:51 PM
From: Gary Choi
Subject: Cannot see Analytics page after intergrating Jarvis Analytics to API Portal
Hi all,
I am new in CA API Portal.
I cannot see the analytics page after I set up the Jarvis Server and integrated Jarvis analytics with the CA API Portal.
I suspect that is because I just mapped the domain in hosts file of the Portal machine but the hosts file is not respected by Docker.
Is there any way to let the docker recognizes the domain without set up the network?
Thank you.