Exemplo n.º 1
0
def before_all_tests(kiali_client):
    global swagger_method_list, tested_method_list, control_plane_namespace
    control_plane_namespace = conftest.get_control_plane_namespace()
    swagger = kiali_client.swagger_parser.swagger
    swagger_method_list = []
    tested_method_list = [
        'root', 'jaegerInfo', 'grafanaInfo', 'getPermissions', 'getStatus',
        'getConfig', 'authenticate', 'namespaceList', 'namespaceMetrics',
        'namespaceHealth', 'istioStatus', 'iter8Experiments',
        'istioConfigList', 'istioConfigDetails', 'istioConfigCreate',
        'istioConfigDelete', 'objectValidations', ''
        'serviceList', 'serviceDetails', 'serviceMetrics', 'serviceHealth',
        'appHealth', 'appList', 'appDetails', 'appMetrics', 'workloadList',
        'workloadDetails', 'workloadHealth', 'workloadMetrics',
        'graphNamespaces', 'graphService', 'graphWorkload', 'graphApp',
        'graphAppVersion', 'istioConfigDetailsSubtype', 'serviceDashboard',
        'workloadDashboard', 'appDashboard', 'authenticationInfo',
        'openshiftCheckToken', 'customDashboard', 'podDetails', 'podProxyDump',
        'podProxyResource', 'podLogs', 'namespaceTls', 'getThreeScaleInfo',
        'getThreeScaleHandlers', 'getThreeScaleService', 'meshTls',
        'namespaceValidations', 'appSpans', 'appTraces', 'serviceTraces',
        'workloadSpans', 'workloadTraces', 'serviceSpans'
    ]

    for key in swagger.operation:
        swagger_method_list.append(key)
Exemplo n.º 2
0
def before_all_tests(kiali_client):
    global swagger_method_list, tested_method_list, control_plane_namespace
    control_plane_namespace = conftest.get_control_plane_namespace()
    swagger = kiali_client.swagger_parser.swagger
    swagger_method_list = []
    tested_method_list = [
        'Root', 'jaegerInfo', 'grafanaInfo', 'getStatus', 'getConfig',
        'Authenticate', 'namespaceList', 'namespaceMetrics', 'namespaceHealth',
        'istioConfigList', 'istioConfigDetails', 'objectValidations', ''
        'serviceList', 'serviceDetails', 'serviceMetrics', 'serviceHealth',
        'appHealth', 'appList', 'appDetails', 'appMetrics', 'workloadList',
        'workloadDetails', 'workloadHealth', 'workloadMetrics',
        'graphNamespaces', 'graphService', 'graphWorkload', 'graphApp',
        'graphAppVersion', 'istioConfigDetailsSubtype', 'serviceDashboard',
        'workloadDashboard', 'appDashboard', 'AuthenticationInfo',
        'OpenshiftCheckToken', 'customDashboard', 'podDetails', 'podLogs',
        'namespaceTls'
    ]

    for key in swagger.operation:
        swagger_method_list.append(key)