test

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AUTH_HOST = "localhost:30000"
View Source
const AUTH_HTTP_HOST = "localhost:30001"
View Source
const C2C_CONNECTOR_HOST = "localhost:30006"
View Source
const OAUTH_MANAGER_CLIENT_ID = "service"
View Source
const RESOURCE_AGGREGATE_HOST = "localhost:30003"
View Source
const RESOURCE_DIRECTORY_HOST = "localhost:30004"

Variables

View Source
var C2C_CONNECTOR_EVENTS_URL = "https://" + C2C_CONNECTOR_HOST + c2curi.Events
View Source
var C2C_CONNECTOR_OAUTH_CALLBACK = "https://" + C2C_CONNECTOR_HOST + "/oauthCbk"
View Source
var JWKS_URL = "https://" + AUTH_HTTP_HOST + uri.JWKs
View Source
var OAUTH_MANAGER_ENDPOINT_AUTHURL = "https://" + AUTH_HTTP_HOST + uri.AuthorizationCode
View Source
var OAUTH_MANAGER_ENDPOINT_TOKENURL = "https://" + AUTH_HTTP_HOST + uri.AccessToken

Functions

func MakeConfig

func MakeConfig(t *testing.T) refImpl.Config

func New

func New(t *testing.T, cfg refImpl.Config) func()

NewC2CConnector creates test c2c-connector.

func SetUp

func SetUp(t *testing.T) (TearDown func())

func SetUpCloudWithConnector

func SetUpCloudWithConnector(t *testing.T) (TearDown func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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