ProvisioningCommon 类

定义

public class ProvisioningCommon extends IntegrationTest
继承
java.lang.Object
ProvisioningCommon

继承成员

构造函数

ProvisioningCommon(ProvisioningDeviceClientTransportProtocol protocol, AttestationType attestationType)

字段

CUSTOM_ALLOCATION_WEBHOOK_API_VERSION
CUSTOM_ALLOCATION_WEBHOOK_URL_VAR_NAME
customAllocationWebhookUrl
DPS_CONNECTION_STRING_ENV_VAR_NAME
DPS_CONNECTION_STRING_WITH_INVALID_CERT_ENV_VAR_NAME
DPS_GLOBAL_ENDPOINT_WITH_INVALID_CERT_ENV_VAR_NAME
DPS_ID_SCOPE_ENV_VAR_NAME
FAR_AWAY_IOT_HUB_CONNECTION_STRING_ENV_VAR_NAME
farAwayIotHubConnectionString
IOT_HUB_CONNECTION_STRING_ENV_VAR_NAME
iotHubConnectionString
MAX_TIME_TO_WAIT_FOR_REGISTRATION_MILLISECONDS
MAX_TPM_CONNECT_RETRY_ATTEMPTS
MAX_TWIN_PROPAGATION_WAIT_SECONDS
provisioningServiceConnectionString
provisioningServiceGlobalEndpoint
provisioningServiceGlobalEndpointWithInvalidCert
provisioningServiceIdScope
provisioningServiceWithInvalidCertConnectionString
registryManager
testInstance

方法

assertProvisionedDeviceCapabilitiesAreExpected(DeviceCapabilities expectedDeviceCapabilities, String provisionedHubConnectionString)
getHostName(String connectionString)
getSecurityProviderInstance(EnrollmentType enrollmentType)
getSecurityProviderInstance(EnrollmentType enrollmentType, AllocationPolicy allocationPolicy, ReprovisionPolicy reprovisionPolicy, CustomAllocationDefinition customAllocationDefinition, List<String> iothubs)
getSecurityProviderInstance(EnrollmentType enrollmentType, AllocationPolicy allocationPolicy, ReprovisionPolicy reprovisionPolicy, CustomAllocationDefinition customAllocationDefinition, List<String> iothubs, DeviceCapabilities deviceCapabilities)
inputs()
inputs(AttestationType attestationType)
inputsCommon()
inputsCommon(AttestationType attestationType)
registerDevice(ProvisioningDeviceClientTransportProtocol protocol, SecurityProvider securityProvider, String globalEndpoint, boolean withRetry, List<String> expectedIotHubsToProvisionTo)
registerDevice(ProvisioningDeviceClientTransportProtocol protocol, SecurityProvider securityProvider, String globalEndpoint, boolean withRetry, List<String> expectedIotHubsToProvisionTo, String jsonPayload)
registerDevice(ProvisioningDeviceClientTransportProtocol protocol, SecurityProvider securityProvider, String globalEndpoint, boolean withRetry, String jsonPayload, String... expectedIotHubsToProvisionTo)
setUp()
tearDown()
waitForRegistrationCallback(ProvisioningStatus provisioningStatus)

适用于