Constants module

A central repository for the constants used throughout the library. Can be used by both internal and external users, though external users might prefer to just use strings instead.

enum arrowhead_client.constants.AccessPolicy(value)

Access policies

Member Type

str

Valid values are as follows:

UNRESTRICTED = <AccessPolicy.UNRESTRICTED: 'NOT_SECURE'>
CERTIFICATE = <AccessPolicy.CERTIFICATE: 'CERTIFICATE'>
TOKEN = <AccessPolicy.TOKEN: 'TOKEN'>
enum arrowhead_client.constants.CoreSystem(value)

Core systems

Member Type

str

Valid values are as follows:

SERVICE_REGISTRY = <CoreSystem.SERVICE_REGISTRY: 'service_registry'>
ORCHESTRATOR = <CoreSystem.ORCHESTRATOR: 'orchestrator'>
AUTHORIZATION = <CoreSystem.AUTHORIZATION: 'authorization'>
EVENT_HANDLER = <CoreSystem.EVENT_HANDLER: 'event_handler'>
DATAMANAGER = <CoreSystem.DATAMANAGER: 'datamanager'>
CERTIFICATE_AUTHORITY = <CoreSystem.CERTIFICATE_AUTHORITY: 'certificate_authority'>
CHOREOGRAPHER = <CoreSystem.CHOREOGRAPHER: 'choreographer'>
ONBOARDING_CONTROLLER = <CoreSystem.ONBOARDING_CONTROLLER: 'onboarding_controller'>
SYSTEM_REGISTRY = <CoreSystem.SYSTEM_REGISTRY: 'system_registry'>
DEVICE_REGISTRY = <CoreSystem.DEVICE_REGISTRY: 'device_registry'>
GATEKEEPER = <CoreSystem.GATEKEEPER: 'gatekeeper'>
GATEWAY = <CoreSystem.GATEWAY: 'gateway'>
enum arrowhead_client.constants.HttpMethod(value)

HTTP methods

Member Type

str

Valid values are as follows:

GET = <HttpMethod.GET: 'GET'>
POST = <HttpMethod.POST: 'POST'>
PUT = <HttpMethod.PUT: 'PUT'>
DELETE = <HttpMethod.DELETE: 'DELETE'>
enum arrowhead_client.constants.Misc(value)

Auxiliary constants

Member Type

str

Valid values are as follows:

ERROR_MESSAGE = <Misc.ERROR_MESSAGE: 'errorMessage'>
flag arrowhead_client.constants.OrchestrationFlags(value)

An enumeration.

Valid values are as follows:

MATCHMAKING = <OrchestrationFlags.MATCHMAKING: 1>
ONLY_PREFERRED = <OrchestrationFlags.ONLY_PREFERRED: 4>
PING_PROVIDERS = <OrchestrationFlags.PING_PROVIDERS: 8>
OVERRIDE_STORE = <OrchestrationFlags.OVERRIDE_STORE: 16>
ENABLE_INTER_CLOUD = <OrchestrationFlags.ENABLE_INTER_CLOUD: 32>
TRIGGER_INTER_CLOUD = <OrchestrationFlags.TRIGGER_INTER_CLOUD: 64>
enum arrowhead_client.constants.Payload(value)

Payload types

Member Type

str

Valid values are as follows:

JSON = <Payload.JSON: 'JSON'>
TEXT = <Payload.TEXT: 'TEXT'>
enum arrowhead_client.constants.Protocol(value)

Protocols

Member Type

str

Valid values are as follows:

HTTP = <Protocol.HTTP: 'HTTP'>
WS = <Protocol.WS: 'WS'>
enum arrowhead_client.constants.Security(value)

Security Modes

Member Type

str

Valid values are as follows:

INSECURE = <Security.INSECURE: 'INSECURE'>
SECURE = <Security.SECURE: 'SECURE'>