Skip to content
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

Rules not in the manifest file are not deleted with undeploy command #9

Open
duynguyen opened this issue Sep 21, 2020 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@duynguyen
Copy link

duynguyen commented Sep 21, 2020

When a user runs the command aio app undeploy, all deployed resources on Runtime would be cleaned up regardless whether they are defined in the manifest yaml file or not. However it does not apply to rules, which still rely on the manifest definition.

const manifestEntities = utils.processPackage(manifestContent.packages, {}, {}, {}, true)
entities.apis = manifestEntities.apis
entities.rules = manifestEntities.rules

Reported by @UrsBoller in Firefly Forum: https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/quot-aio-app-undeploy-quot-error-when-manifest-yaml-changed/qaq-p/379941.

@meryllblanchet meryllblanchet added the bug Something isn't working label Sep 21, 2020
@meryllblanchet
Copy link

Thanks for reporting the issue @duynguyen !
@Himavanth could you comment the expected behavior while we will work on a fix for this one?

@aiojbot
Copy link
Collaborator

aiojbot commented Sep 21, 2020

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants