Skip to content

Conversation

@olivakar
Copy link
Collaborator

@olivakar olivakar commented Sep 6, 2022

Some portions of provisioning service SDK which was used for tests have been utilized for the tests.
Our dependency is now only on ms-rest.

@olivakar olivakar changed the title Ok/dps e2e tests test (azure-iot-device) : DPS cert management client cert issuance tests Sep 20, 2022
@olivakar olivakar marked this pull request as ready for review September 20, 2022 19:51
Copy link
Member

@cartertinney cartertinney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this newly generated service client is here rather than in the dev_utils package? Feels more appropriate to be there, given the size of the thing.

linked_iot_hub = connection_string_to_hostname(os.getenv("IOTHUB_CONNECTION_STRING"))
# TODO Delete this line. This is a pre created variable in key vault now.
symmetric_key_for_cert_management = os.getenv("DPS_CERT_ISSUANCE_SYM_KEY_SYNC")
connection_string = os.getenv("IOTHUB_CONNECTION_STRING")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Outside the scope of this PR, but at some point we should probably try and overhaul these DPS E2Es to use some of the enhancements and shared infrastructure Bert created for IoTHub E2Es + stress tests.

Probably can wait til V3 though

@anthonyvercolano
Copy link

Ship it.

@olivakar olivakar merged commit 6c3db70 into dps-cert-mgmt-DO-NOT-DELETE Sep 22, 2022
@cartertinney cartertinney deleted the ok/dps-e2e-tests branch November 22, 2022 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants