-
Notifications
You must be signed in to change notification settings - Fork 35
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
Allow managers to delete API Backends that they manage #616
Comments
Highly needed :) Should have safe mechanism. Perhaps something like when deleting repository from Github. |
@ashakunt and @Alapan Definition of done has been added. Wireframe to be added later today. Assigning task to Alapan. |
Great, long waited feature for admin also 👍 |
@Alapan, we may already have code related to API Backend administrator permissions that would be useful here. Specifically, every API Backend document has a |
@Alapan Can you comment whether this is in progress and what would be the estimation for completion? This week? |
@bajiat Yes, this issue is in progress and I have implemented most of the front-end. It should be completed by this week. |
@brylie I wanted to know if the REST endpoint for API backend deletion has been implemented? I was looking through https://github.com/apinf/meteor-api-umbrella/blob/master/server/apiUmbrellaWeb.js, where it seems the REST interfaces are defined, and couldn't find anything related to deletion. |
Right, go ahead and add the |
The deleteApiBackend method was implemented. Despite this, I am currently getting an error "Object [object Object] has no method 'deleteApiBackend'" when making the REST call apiUmbrellaWeb.adminApi.v1.apiBackends.deleteApiBackend(backendId) in apiBackends.js. |
Make sure to update the package version and publish it to Atmosphere. Then, run |
http://info.meteor.com/blog/meteor-091-organizations-blaze-apis
Am Mittwoch, 9. März 2016 schrieb Brylie Christopher Oxley :
|
@sebbel what is your Meteor.com username? |
@brylie I had to make another small change to the deleteApiBackend method in API umbrella - I had written HTTP.delete instead of HTTP.del - like PUT, POST and GET, I thought the function name is the same as the action. I fixed it and created a pull request (apinf/meteor-api-umbrella#17). |
First working version created. Created a pull request. |
@brylie my meteor account is sebbel |
@brylie I resolved the conflicts in the Issue#616 branch and pushed it. |
@Alapan see my line comment for |
I have tested 'delete' feature on my local machine.
|
thanks, @saralavanip |
Findings:
|
Tested on local host.
|
@saralavanip will you please verify with @Alapan that your previous observation is resolved? |
Noticed on review: |
@brylie , verified the resolved issue: 'confirmation dialog is shown after successful delete API backend from Catalog view'. |
I am not sure about the cause of that error, but it should still be possible to delete the API Backend. Please file a bug report, so that we can troubleshoot. |
@brylie , please find issue reported https://github.com/apinf/api-umbrella-dashboard/issues/919. |
@Alapan, I have tested this feature. It seems ready for merging, and we can work on enhancements/bugs in upcoming sprints. |
User story
Feature
Add a method for API Managers to delete API Backends they manage. The deletion should also remove the API Backend from API Umbrella.
Wireframes
User Managed APIs
View API Backend
Definition of done
The text was updated successfully, but these errors were encountered: