-
Notifications
You must be signed in to change notification settings - Fork 50
func GetConnConfig, GetRegion, LookupSpec
Jihoon Seo edited this page May 12, 2020
·
1 revision
Call chain:
- GET
http://tb_ip:tb_port/tumblebug/connConfig
(in apiserver.go) -
func RestGetConnConfigList(c echo.Context) error
(in common/utility.go) -
func GetConnConfigList() (ConnConfigList, error)
(in common/utility.go)
Call chain:
- GET
http://tb_ip:tb_port/tumblebug/connConfig/:connConfigName
(in apiserver.go) -
func RestGetConnConfig(c echo.Context) error
(in common/utility.go) -
func GetConnConfig(ConnConfigName string) (ConnConfig, error)
(in common/utility.go)
Call chain:
- GET
http://tb_ip:tb_port/tumblebug/region
(in apiserver.go) -
func RestGetRegionList(c echo.Context) error
(in common/utility.go) -
func GetRegionList() (RegionList, error)
(in common/utility.go)
Call chain:
- GET
http://tb_ip:tb_port/tumblebug/region/:regionName
(in apiserver.go) -
func RestGetRegion(c echo.Context) error
(in common/utility.go) -
func GetRegion(RegionName string) (Region, error)
(in common/utility.go)
Call chain:
- GET
http://tb_ip:tb_port/tumblebug/lookupSpec
(in apiserver.go) -
func RestLookupSpecList(c echo.Context) error
(in mcir/spec.go) -
func LookupSpecList(connConfig string) (SpiderSpecList, error)
(in mcir/spec.go)
Usage: Please refer to lookupSpecList.sh
curl -sX GET http://localhost:1323/tumblebug/lookupSpec -H 'Content-Type: application/json' -d \
'{
"connectionName": "'${CONN_CONFIG[INDEX]}'"
}' | json_pp
Call chain:
- GET
http://tb_ip:tb_port/tumblebug/lookupSpec/:specName
(in apiserver.go) -
func RestLookupSpec(c echo.Context) error
(in mcir/spec.go) -
func lookupSpec(u *specReq) (SpiderSpecInfo, error)
(in mcir/spec.go)
Usage: Please refer to lookupSpec.sh
curl -sX GET http://localhost:1323/tumblebug/lookupSpec/${SPEC_NAME[INDEX]} -H 'Content-Type: application/json' -d \
'{
"connectionName": "'${CONN_CONFIG[INDEX]}'"
}' | json_pp
- Design
- Features & Usage
- Install & Start Guide
- User Interface
- Developer Guide
- Test Reports