npearce / CaC-Github_Webhook_Server

Automated Network Configuration-as-Code (NCaC) deployments using Github webhook to F5 BIG-IP.
https://redtalks.live/cac/
MIT License
14 stars 5 forks source link

Service Definition: Do we need to provide an 'id' #20

Closed npearce closed 6 years ago

npearce commented 6 years ago

Did AS3 implement the 'autogeneration' of 'id' as part of build 34 release. Test this and, if so, remove 'id' values from example service definitions.

kreynoldsf5 commented 6 years ago

In build 34 a declaration without an 'id' key will fail with the following response:

{
    "code": 500,
    "declarationFullId": ""
}
npearce commented 6 years ago

Thanks, Kevin. I got it in the AS3 backlog but hadn't yet tested if it made the release. Thanks for saving me the time!!! I'll keep this here, and open, in case the next release of AS3 is out before I release v0.2...