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

Migrate Admin APIs from Ballerina to Node #3346

Closed
DivyaPremanantha opened this issue Nov 7, 2024 · 4 comments
Closed

Migrate Admin APIs from Ballerina to Node #3346

DivyaPremanantha opened this issue Nov 7, 2024 · 4 comments

Comments

@DivyaPremanantha
Copy link

DivyaPremanantha commented Nov 7, 2024

Description

As per the architectural change, the backend logic of admin APIs needs to be moved to the node backend. This task will include

  • Organization CRUD operation
  • Organization content/layout CRUD operation (including zip uploading logic)
  • Loading UI HTML, CSS and Image content from the database
  • Create a separate API for dev portal user specific functionalities

API schemas designed for the above tasks:

Admin API: https://app.swaggerhub.com/apis/DivyaPremanantha/AdminAPI/1.0.0#/Devportal%20Organization/postOrganization

Devportal API:
https://app.swaggerhub.com/apis/PREMANANTHADIVYA/DevportalAPI/1.0.0#/Organization%20Template/getOrgImage

Affected Component

APIM

Version

4.5.0

Related Issues

No response

Suggested Labels

No response

@DivyaPremanantha
Copy link
Author

DivyaPremanantha commented Nov 7, 2024

  • Backend and Frontend updated according to the API review discussion
  • Modified the ER diagram according to the reviewed changes
  • Modified the API according to the reviewed changes,

Admin API: https://app.swaggerhub.com/apis/DivyaPremanantha/AdminAPI/1.0.0#/Devportal%20Organization/postOrganization

Devportal API:
https://app.swaggerhub.com/apis/PREMANANTHADIVYA/DevportalAPI/1.0.0#/Organization%20Template/getOrgImage

  • Discussed the approaches to package the backend node dependency
  • Discussed and proposed a solution for the issue of syncing styles in the portal
  • Discussed and proposed a solution for mounting the portal files to the backend
  • Started implementing the core logic to move backend Admin APIs from Ballerina to Node according to the revised API and ER

@DivyaPremanantha
Copy link
Author

DivyaPremanantha commented Nov 11, 2024

Completed integrating the core logic of admin APIs in the node module,

PR: https://github.com/wso2/api-developer-portal-core/pull/35/files

@DivyaPremanantha DivyaPremanantha changed the title [DevPortal] Migrate Admin APIs from Ballerina to Node Migrate Admin APIs from Ballerina to Node Nov 12, 2024
@DivyaPremanantha
Copy link
Author

Conducted a PR review and reviewed the code. Integrated ES Lint and fixed all the issues addressed by the tool.

PR: https://github.com/wso2/api-developer-portal-core/pull/35/files

@DivyaPremanantha
Copy link
Author

This task was completed with this PR wso2/api-developer-portal-core#38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant