integrationtest

package
v1.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

README

Service-Center Integration Tests

These are high-level tests for the Service-Center that tests all the API's of the Service-Center

These tests assumes that you have docker installed in your system.

How to run:

This test starts etcd in docker container and then builds and runs the service-center from source present in your GOPATH. This test assumes you have already downloaded all the dependencies using 'glide install'.

bash -x scripts/integration_test.sh 

Documentation

Overview

* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var ADDRULE = "/v4/default/registry/microservices/:serviceId/rules"

Rules API's

View Source
var ADDTAGE = "/v4/default/registry/microservices/:serviceId/tags"

Tag API's

View Source
var CHECKEXISTENCE = "/v4/default/registry/existence"

Micro-Service API's

View Source
var CREATEDEPENDENCIES = "/v4/default/registry/dependencies"
View Source
var DELETE = "DELETE"
View Source
var DELETERULES = "/v4/default/registry/microservices/:serviceId/rules/:rule_id"
View Source
var DELETESCHEMA = "/v4/default/registry/microservices/:serviceId/schemas/:schemaId"
View Source
var DELETETAG = "/v4/default/registry/microservices/:serviceId/tags/:key"
View Source
var DUMP = "/v4/default/admin/dump"

Admin API's

View Source
var FINDINSTANCE = "/v4/default/registry/instances"

Instance API's

View Source
var GET = "GET"

HTTP METHODS

View Source
var GETALLAPPS = "/v4/default/govern/apps"
View Source
var GETALLSERVICE = "/v4/default/registry/microservices"
View Source
var GETALLSERVICEGOVERNANCEINFO = "/v4/default/govern/microservices"
View Source
var GETCONPRODEPENDENCY = "/v4/default/registry/microservices/:consumerId/providers"
View Source
var GETGOVERNANCESERVICEDETAILS = "/v4/default/govern/microservices/:serviceId"

Governance API's

View Source
var GETINSTANCE = "/v4/default/registry/microservices/:serviceId/instances"
View Source
var GETINSTANCEBYINSTANCEID = "/v4/default/registry/microservices/:serviceId/instances/:instanceId"
View Source
var GETPROCONDEPENDENCY = "/v4/default/registry/microservices/:providerId/consumers"
View Source
var GETRELATIONGRAPH = "/v4/default/govern/relations"
View Source
var GETRULES = "/v4/default/registry/microservices/:serviceId/rules"
View Source
var GETSCHEMABYID = "/v4/default/registry/microservices/:serviceId/schemas/:schemaId"
View Source
var GETSCHEMAS = "/v4/default/registry/microservices/:serviceId/schemas"
View Source
var GETSERVICEBYID = "/v4/default/registry/microservices/:serviceId"
View Source
var GETTAGS = "/v4/default/registry/microservices/:serviceId/tags"
View Source
var HEALTH = "/v4/default/registry/health"

Basic API

View Source
var INSTANCEACTION = "/v4/default/registry/instances/action"
View Source
var INSTANCEHEARTBEAT = "/v4/default/registry/microservices/:serviceId/instances/:instanceId/heartbeat"
View Source
var INSTANCELISTWATCHER = "/v4/default/registry/microservices/:serviceId/listwatcher"
View Source
var INSTANCEWATCHER = "/v4/default/registry/microservices/:serviceId/watcher"
View Source
var POST = "POST"
View Source
var REGISTERINSTANCE = "/v4/default/registry/microservices/:serviceId/instances"
View Source
var REGISTERMICROSERVICE = "/v4/default/registry/microservices"
View Source
var UNREGISTERINSTANCE = "/v4/default/registry/microservices/:serviceId/instances/:instanceId"
View Source
var UNREGISTERMICROSERVICE = "/v4/default/registry/microservices/:serviceId?force=true"
View Source
var UPDATE = "PUT"
View Source
var UPDATEINSTANCEMETADATA = "/v4/default/registry/microservices/:serviceId/instances/:instanceId/properties"
View Source
var UPDATEINSTANCESTATUS = "/v4/default/registry/microservices/:serviceId/instances/:instanceId/status"
View Source
var UPDATEMICROSERVICE = "/v4/default/registry/microservices/:serviceId/properties"
View Source
var UPDATERULES = "/v4/default/registry/microservices/:serviceId/rules/:rule_id"
View Source
var UPDATESCHEMA = "/v4/default/registry/microservices/:serviceId/schemas/:schemaId"
View Source
var UPDATESCHEMAS = "/v4/default/registry/microservices/:serviceId/schemas"
View Source
var UPDATETAG = "/v4/default/registry/microservices/:serviceId/tags/:key"
View Source
var VERSION = "/v4/default/registry/version"

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL