-
Notifications
You must be signed in to change notification settings - Fork 8
Allow a user to update manifest on a CF appliance #27
Comments
Progress: @mturley : You are the one who is going to use this API, aren't you? |
Pretty sure this is that issue @martinpovolny 😉 What requirements are you missing? Maybe I can help fill in any blanks |
@agrare : do you have an idea about the name of the endpoint? Something like I remember there was also some talk about downloading the file. Shall I also add that or just the upload/import?
Do you want to keep some history? Such as 10 files back named Should this be somehow accessible? Or just save it now and figure what's next later? |
If we create a user_manifest or custom_manifest endpoint that we can GET/POST/DELETE that gives us some options but I don't feel strongly about the names of things. The "custom" manifest just has to be stored at
It would make the API a bit more complicated so unless there is a need we could just keep it simple, @bthurber ? |
I was thinking JSON body of a request, but either way works for me, whatever is easiest for you. I don't expect the data to be very large, the current default manifest is ~8 KB. As for keeping history, I'm not sure that's necessary, but we should definitely implement the DELETE method on that endpoint so the user can "restore default manifest" by deleting the custom one. There's no need to remember an original file at this |
As for the DELETE: the API is not ready to implement a DELETE w/o an ID (can not do So I'd rather implement the resetting of the manifest using POST. |
Sounds good to me 😄 |
Use case:
As a Migration Analytics user/admin, I would like the ability to update the manifest on my CF appliance through the UI. This will provide the ability to enhance data collection used to generate the needed payload when analyzing my environment. Required support:
API: import a new manifest
Check to see if a manifest exists and if so save the existing to a new file and import the new manifest
UI: provide an import/upload button where a file path can be selected for the new manifest file
The text was updated successfully, but these errors were encountered: