Skip to content
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

[Utility] Created REST-2-CARML module that allows users to generate most of a module's code for them #2130

Draft
wants to merge 142 commits into
base: main
Choose a base branch
from

Conversation

AlexanderSehr
Copy link
Contributor

@AlexanderSehr AlexanderSehr commented Sep 24, 2022

Description

  • A REST-2-CARML module that allows users to generate most of a module's code for them

    • Module itself with parameters, resource & outputs
    • Azure DevOps pipeline & GitHub workflow
    • Extension code such as
      • Diagnostic Settings
      • RBAC
      • Locks
      • Private Endpoints
  • A generated module AVS PrivateCloud

  • Out of scope in this version

    • Child-Modules
    • Idempotency

This is the result of a joined effort by @krbar @shrivastavarashmi @georgedobrin @prteotia and @MrMCake

TODO:

  • Create ReadMe
  • Finish documentation
  • Create Test Pipeline

Pipeline references

For module/pipeline changes, please create and attach the status badge of your successful run.

Pipeline

Type of Change

Please delete options that are not relevant.

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Update to documentation

AlexanderSehr and others added 30 commits September 19, 2022 10:35
* Latest draft

* Added additional files

* Formatted functions

* Update to latest

* Update to latest
Checks if lock can be applied on resource or not
AlexanderSehr and others added 30 commits October 29, 2022 13:46
…le REST2CARML idempotency (#2256)

* Update to latest

* Update to latest

* Added var extraction

* Added outputs extraction

* Update to latest

* Extended resource extraction function

* Update to latest

* Extended resources evaluation

* Enabled detailed content for modules

* Moved function

* Simplified code

* Added documentation

* Update to latest

* Update to latest
* Added sorting

* Added cleanup & adjusted indents

* Additinoal functional updates

* Update to latest

* Update to latest
* Added sorting

* Added cleanup & adjusted indents

* Additinoal functional updates

* Update to latest

* Update to latest

* Enabled variable idempotency

* Add regions

* Enabled idempotency for resource deployment

* Added additional logic for idempotency

* Further updates to idempotency

* Fixed typo

* Update to latest

* Update to latest

* Update to latest

* Added loc

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Started extraction

* Refactored a lot of logic into dedicated functions

* Re-generated module

* Improved idempotency

* Added docs

* Updated docs

* Update to latest

* Updated docs + updated module gen

* Updated docs

* Update to latest

* Update to latest
* First refactoring to api crawler

* Next bach

* Cleanup

* More updates

* small fixes

* Update to latest

* Update to latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: REST2CARML PoC
5 participants