-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New module: azure_rm_eventhub #519
Conversation
@Fred-sun Can you please review this PR for new module, Thanks. |
Thank you for your contribution, under review! |
This comment has been minimized.
This comment has been minimized.
2281f46
to
8dfc8ed
Compare
@saurabh3796 Please help resolve these confilict files! Thank you very much! |
@Fred-sun Resolved the conflicts, thanks for review. |
@Fred-sun Can you please review this PR whenever you are available. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saurabh3796 Please help to delete these ignores on ignore2.11.txt, 2.9.txt, 2.10.txt and 2.12.txt. It has been fixed by #540!
I have run them manually in playbook. changed: [localhost] => { |
`- name: Update Namespace
changed: [localhost] => { |
@Fred-sun All tests are running fine, attached results for couple of ones. Thanks |
@saurabh3796 Update event_hub fail! thanks! |
Update event hub Result - |
@saurabh3796 Failed when testing for idempotency! Thank you very much! |
@Fred-sun Can you share the steps to run integration tests, I am trying to run same on local but not able to run. |
Execute the tasks,
|
Result for integration tests -- TASK [Gathering Facts] ********************************************************* TASK [create resource gorup] *************************************************** TASK [Create random event hub and namespace] *********************************** TASK [Create Event Hub Namespace (check mode)] ********************************* TASK [assert] ****************************************************************** TASK [Create Event Hub (check mode)] ****************************************** TASK [assert] ****************************************************************** TASK [Create Event Hub Namespace] ********************************************** TASK [assert] ****************************************************************** TASK [Create Event Hub] ******************************************************** TASK [assert] ****************************************************************** TASK [Update Namespace] ******************************************************** TASK [assert] ****************************************************************** TASK [Update Event Hub] ******************************************************** TASK [assert] ****************************************************************** TASK [Retrieve Namespace] ****************************************************** TASK [Test idempotent] ********************************************************* TASK [assert] ****************************************************************** TASK [Delete Event Hub] ******************************************************** TASK [Delete Event Hub (idempotent)] ******************************************* TASK [assert] ****************************************************************** TASK [Delete Namespace] ******************************************************** TASK [Pause for 5 minutes to check namespace deleted] ************************** TASK [Delete Namespace (idempotent)] ******************************************* TASK [assert] ****************************************************************** PLAY RECAP ********************************************************************* ` |
@Fred-sun Ran all integration tests successfully, attached the result. Thanks. |
New updated integration tests results - TASK [create resource gorup] ******************************************************************************************************************************************************************************* TASK [Create random event hub and namespace] *************************************************************************************************************************************************************** TASK [Create Event Hub Namespace (check mode)] ************************************************************************************************************************************************************* TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Create Event Hub (check mode)] ********************************************************************************************************************************************************************** TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Create Event Hub Namespace] ************************************************************************************************************************************************************************** TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Create Event Hub] ************************************************************************************************************************************************************************************ TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Update Namespace] ************************************************************************************************************************************************************************************ TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Update Event Hub] ************************************************************************************************************************************************************************************ TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Retrieve Namespace] ********************************************************************************************************************************************************************************** TASK [Test idempotent] ************************************************************************************************************************************************************************************* TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Delete Event Hub] ************************************************************************************************************************************************************************************ TASK [Delete Event Hub (idempotent)] *********************************************************************************************************************************************************************** TASK [assert] ********************************************************************************************************************************************************************************************** TASK [Delete Namespace] ************************************************************************************************************************************************************************************ TASK [Pause for 1 minutes to check namespace deleted] ****************************************************************************************************************************************************** TASK [Delete Namespace (idempotent)] *********************************************************************************************************************************************************************** TASK [assert] ********************************************************************************************************************************************************************************************** PLAY RECAP ************************************************************************************************************************************************************************************************* |
SUMMARY
This module introduces a wide variety of configurations for creating a Event Hub Namespace and Event Hub on Azure.
Create Event Hub Namespace on Azure.
Create Event Hub on Azure.
Update Event Hub Namespace on Azure.
Update Event Hub on Azure.
Delete Event Hub Namespace on Azure.
Delete Event Hub on Azure.
Get Event Hub Namespace on Azure.
Get Event Hub on Azure.
ISSUE TYPE
New Module Pull Request
COMPONENT NAME
azure_rm_eventhub
ADDITIONAL INFORMATION
This module allows users to create/update or delete the Event Hub Namespace and Event Hub on Azure.
It also provides all the parameters given by:
https://docs.microsoft.com/en-us/azure/templates/microsoft.eventhub/namespaces?tabs=json
https://docs.microsoft.com/en-us/azure/templates/microsoft.eventhub/namespaces/eventhubs?tabs=json
Example,