Documentation ¶
Index ¶
- Constants
- Variables
- func MakeAuthorizationConfig() service.AuthorizationConfig
- func MakeConfig(t require.TestingT) service.Config
- func MakeStorageConfig() service.StorageConfig
- func New(t require.TestingT, cfg service.Config) func()
- func NewMongoStore(t *testing.T) (*mongodb.Store, func())
- func SetUp(t require.TestingT) (tearDown func())
- func SetUpCloudWithConnector(t *testing.T) (tearDown func())
- func SetUpClouds(ctx context.Context, t *testing.T, deviceID string, ...) func()
Constants ¶
View Source
const ( IDENTITY_STORE_HOST = "localhost:30000" RESOURCE_AGGREGATE_HOST = "localhost:30003" RESOURCE_DIRECTORY_HOST = "localhost:30004" C2C_CONNECTOR_HOST = "localhost:30006" OAUTH_HOST = "localhost:30007" GRPC_GATEWAY_HOST = "localhost:30008" C2C_CONNECTOR_DB = "cloudConnectorDB" C2C_CONNECTOR_NATS_URL = "nats://localhost:34222" )
View Source
const ( OAUTH_MANAGER_CLIENT_ID = oauthTest.ClientTest OAUTH_MANAGER_AUDIENCE = "localhost" )
Variables ¶
View Source
var ( C2C_CONNECTOR_EVENTS_URL = http.HTTPS_SCHEME + C2C_CONNECTOR_HOST + c2curi.Events C2C_CONNECTOR_OAUTH_CALLBACK = http.HTTPS_SCHEME + C2C_CONNECTOR_HOST + c2curi.OAuthCallback OAUTH_MANAGER_ENDPOINT_TOKENURL = http.HTTPS_SCHEME + OAUTH_HOST + uri.Token )
Functions ¶
func MakeAuthorizationConfig ¶
func MakeAuthorizationConfig() service.AuthorizationConfig
func MakeStorageConfig ¶
func MakeStorageConfig() service.StorageConfig
func SetUpCloudWithConnector ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.