You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using these sources, it should be possible to determine the parameters for PUT/POST commands and as such use the data to generate the CARML module structure.
We should further try to adhear certain design descision we follow such as
If a resource property is only an object with a single value, the corresponding input parameter should be a simplified combination of the two. For example the property something: something where something is an object with only an id property should be simplified to something: { id: somethingId }.
In general, we should follow the guidlines specified in the Module Design section of the Wiki
Note: The end result will likely not get us 100% of the way as modules usually always have some specifics to them. However, if it gets us already 70% of the way, it would be a big win.
Stretch goal: Have the utility give you a 'diff' - i.e., would there be anything to update for a new API version Stretch goal: In an ideal world we may even be able to run the function idempotently to add new properties to an existing template (e.g. if a new API version was released).
Given that the modules were migrated to AVM by now, I'll close this issue in CARML. If we were to reapproach the topic, it will definitely be in there.
cc: @matebarabas (for awareness)
Description
Idea: Automatically generate new CARML modules from the Azure REST API.
To elaborate a bit further:
something: something
where something is an object with only anid
property should be simplified tosomething: { id: somethingId }
.Implementation takes place in branch
users/hack-REST2CARML
.The text was updated successfully, but these errors were encountered: