[
https://issues.jboss.org/browse/SWSQE-123?page=com.atlassian.jira.plugin....
]
Hayk Hovsepyan commented on SWSQE-123:
--------------------------------------
The Istio Related data could be get from Kubernetes REST API.
How to do it:
1. On any machine or jenkins slave where "oc login ..." is executed and logged
into Openshift cluster, start the OC Proxy "oc proxy --port 8080" to that host
will be direct proxy between Client and Openshift cluster Kubernetes REST API without any
security. For internal network usage only.
2. Listing Destination policies:
"http://127.0.0.1:8080/apis/config.istio.io/v1alpha2/namespaces/bookinfo/destinationpolicies"
3. Listing Router rules:
"http://127.0.0.1:8080/apis/config.istio.io/v1alpha2/namespaces/bookinfo/routerules"
For Openshift Related information,general Kubernetes Python client could be used:
https://github.com/kubernetes-client/python
Research - Find the source to get original data from
----------------------------------------------------
Key: SWSQE-123
URL:
https://issues.jboss.org/browse/SWSQE-123
Project: Kiali QE
Issue Type: Sub-task
Reporter: Hayk Hovsepyan
Assignee: Hayk Hovsepyan
Rest API return data for graph in Json format.
Research where is the original source of data and how to read that in automation
framework.
Get information istion related objects like routerules or destination policies from
Kubernetes like
http://127.0.0.1:8080/apis/config.istio.io/v1alpha2/namespaces/bookinfo/r...
Get information metrics from Prometheus
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)