Skip to content

#154 - AIO-CLI cannot deploy APIs under the same <base path>#156

Merged
purplecabbage merged 14 commits intoadobe:masterfrom
solaris007:154
Apr 28, 2020
Merged

#154 - AIO-CLI cannot deploy APIs under the same <base path>#156
purplecabbage merged 14 commits intoadobe:masterfrom
solaris007:154

Conversation

@solaris007
Copy link
Copy Markdown
Member

@solaris007 solaris007 commented Apr 23, 2020

Description

Adjust processPackage to correctly provide all routes defined within a manifest's api section, including multiple actions per resource definition.

Related Issue

#154

Motivation and Context

Change is necessary due to the bug described in #154

How Has This Been Tested?

Added test case for multi-action resource API.
Released internal aio-cli and deployed our project with it.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2020

Codecov Report

Merging #156 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #156   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           57        57           
  Lines         1827      1830    +3     
  Branches       333       333           
=========================================
+ Hits          1827      1830    +3     
Impacted Files Coverage Δ
src/runtime-helpers.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff4c742...f65190c. Read the comment docs.

@meryllblanchet meryllblanchet added the bug Something isn't working label Apr 23, 2020
Comment thread src/runtime-helpers.js Outdated
Comment thread src/runtime-helpers.js Outdated
Comment thread src/runtime-helpers.js
@meryllblanchet meryllblanchet requested review from sandeep-paliwal and removed request for purplecabbage April 24, 2020 12:40
Comment thread src/runtime-helpers.js Outdated
@sandeep-paliwal
Copy link
Copy Markdown
Contributor

@solaris007 These changes will affect aio app deploy/undeploy usecases. Can you confirm that the action/apis deployment/undeploy for apps works fine. I will also try to give it a try locally.

@solaris007
Copy link
Copy Markdown
Member Author

@sandeep-paliwal as mentioned in the PR, i wrote a test case, but more imporantly deployed our whole project suffering from this issue with a self-built aio-cli - it deploys and undeploys as expected on AIO

@solaris007
Copy link
Copy Markdown
Member Author

@sandeep-paliwal all done

Copy link
Copy Markdown
Contributor

@sandeep-paliwal sandeep-paliwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@purplecabbage purplecabbage merged commit 332f3a8 into adobe:master Apr 28, 2020
bhageena pushed a commit to bhageena/aio-cli-plugin-runtime that referenced this pull request Jul 21, 2021
…obe#156)

* multi actions per resource
* naming and use push instead of concat
* more verbose log output
* fix undefined on log operations
* optimize logging
* rename to API route
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

Successfully merging this pull request may close these issues.

6 participants