-
Notifications
You must be signed in to change notification settings - Fork 24
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
Uninstall app in scope:dev using ALops Admincenter API #634
Comments
Are you sure it's possible to uninstall an app through the API that hasn't been installed through the API (dev-scope is installed through the dev endpoint...)? We're merely using the API, so whatever error that comes back from the API endpoint, we throw in the pipeline.. 🤔 |
Nope not sure, but I can get a list of Installed Apps from the api (also those in dev scope) so was hoping it was possible :-) |
Not sure if this is helpful, but I can share some insights on this with the ALOpsExtensionAPI. When a extensions is installed through the API (dev-scope), then using the ALOpsExtensionAPI it will run into a failure. When going into the environment and opening the Extension Deployment Status page, the error there shows |
Not sure what we need to do here.. I have a feeling you're mixing different things here .. dev-extensions uninstalling with devops flows .. that's going to be difficult (keep in mind you're not able to uninstall with VSCode either). Also to investigate .. 🤔 |
Hi, let me try to explain my situation maybe another approach from my site is needed. We use Partner Sandbox as UAT, and we have around 40 apps where we have a library apps which all 40 apps has a dependency app on. We publish through Release Pipelines with the ALOps Extension API in Devscope. when we publish an update of the Library app with Dev Schema Update Mode: Synchronize or Forcesync it will : -Uninstall all 40 apps (due to dependency) But the Release Pipeline never gets an "OK" response so it will continue until timeout (event through it is actually is finished) but the status of the release Pipeline is then failed and next step is not run (I have allowed it to continue on Error but would like it to actually show correct status) I did manually test that if I uninstall library app and run the release pipeline for the update if goes through fine. That was why I tried to use the ALops Admincenter API to uninstall the Library app first before updating the app. Hence my Issue. Any Ideas for another Approach |
Can you send us a complete log about this (from the release pipeline)? |
Here is the log. |
Describe the bug
I´m trying to uninstall an app which is deployed as scope:dev in a partner Saas Sandbox using ALops Admincenter API but get this error and not sure if this is setup or it is because the scope is dev or not supported.
BCConnector.PostAPIData: {"code":"EntityValidationFailed","message":"Entity validation failed: App to uninstall is not installed.\r\n-App ID: '9cf9feca-8d2d-49f3-a03d-6ae05f910b2c'\r\n-Environment: 'App-UAT'"}
the used yaml
please provide the yaml that you used. It helps you put the yaml like this:
the output
Also the complete output is necessary for us to see what is going on. Also use backtics:
Expected behavior
the app to be uninstalled
The text was updated successfully, but these errors were encountered: