-
Notifications
You must be signed in to change notification settings - Fork 17
Auto generate actions #11
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
Conversation
|
Installed this on a test instance of stackstorm (2.9.0-7) and pointed at a test instance of netbox (2.4.6)
Otherwise this is looking good. Thank you for working on this! |
|
Tested DELETE today on a fresh I'm getting the same behavior, but i noticed something else. When I run a delete action against an ID that does not exist, the action succeeds with a message of Success output: |
|
Tested DELETE on device, Rack, provider, site, circuit. All completed successfully and the resource was deleted. lgtm |
|
@namachieli thank you very much for your continued testing efforts! @LindsayHill would you mind giving this a once-over? I am interested in your thoughts on conveying the backward incompatible changes (I have bumped the pack version 1.0.0 as such). The interesting stuff is in |
|
Change looks good. Only concern I have is about number of actions. There's work going on to speed up action registration, but things still get a bit ugly with large packs. Hopefully they won't be adding large amounts of new endpoints to the netbox API |
|
Thanks! We do have some new things in the pipeline for NetBox obviously, but I don't see us ever getting as bad as the old aws pack :) It is a good point to be conscious of moving forward. |
Pack overhaul to now use an action auto-generation script. The script in
/binuses the NetBox OpenAPI (Swagger) spec to generate all pack actions (per API endpoint).cc: @namachieli