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

Adding OpenAPI config to the service returns OOM #3195

Closed
ayeshLK opened this issue Aug 2, 2022 · 3 comments
Closed

Adding OpenAPI config to the service returns OOM #3195

ayeshLK opened this issue Aug 2, 2022 · 3 comments
Assignees
Labels
module/http Points/2.5 Reason/Complex Issue occurred due to complex scenario. Team/PCM Protocol connector packages related issues Type/Bug
Milestone

Comments

@ayeshLK
Copy link
Member

ayeshLK commented Aug 2, 2022

Description:
$subject

Related to #132

@ayeshLK ayeshLK added Type/Bug module/http Team/PCM Protocol connector packages related issues labels Aug 2, 2022
@ayeshLK ayeshLK added this to To Do in Sprint 61 - Standard Library PCM via automation Aug 2, 2022
@ayeshLK ayeshLK self-assigned this Aug 2, 2022
@ayeshLK ayeshLK added this to To do in HTTP Backlog via automation Aug 2, 2022
@ayeshLK ayeshLK moved this from To Do to In Progress in Sprint 61 - Standard Library PCM Aug 3, 2022
@ayeshLK
Copy link
Member Author

ayeshLK commented Aug 3, 2022

When generating the OpenAPI specification for an HTTP service of a reasonable size there will be an out of memory error while writing the generated OpenAPI spec to openApiDefinition field of http:ServiceConfig annotation.

Since our original problem was that we could not identify the proper resource path at runtime for the generated resources, runtime team has suggested to use CodeModifiers to pass that information into runtime [1]

@shafreenAnfar / @chalitha1989 WDYT ?

[1] - https://github.com/wso2-enterprise/internal-support-ballerina/issues/132#issuecomment-1189295992

@ayeshLK ayeshLK moved this from To do to Planned in HTTP Backlog Aug 3, 2022
@ayeshLK ayeshLK moved this from Planned to In progress in HTTP Backlog Aug 3, 2022
@chamil321
Copy link
Contributor

chamil321 commented Aug 3, 2022

When generating the OpenAPI specification for an HTTP service of a reasonable size there will be an out of memory error while writing the generated OpenAPI spec to openApiDefinition field of http:ServiceConfig annotation.

Since our original problem was that we could not identify the proper resource path at runtime for the generated resources, runtime team has suggested to use CodeModifiers to pass that information into runtime [1]

@shafreenAnfar / @chalitha1989 WDYT ?

[1] - wso2-enterprise/internal-support-ballerina#132 (comment)

We have to think twice before using the code modifier as there is a possibility of having lang OOM(Ongoing issue). We can give it try keeping that in our mind

@ayeshLK ayeshLK moved this from In Progress to To Do in Sprint 61 - Standard Library PCM Aug 3, 2022
@ayeshLK ayeshLK moved this from In progress to Planned in HTTP Backlog Aug 3, 2022
@ayeshLK ayeshLK added this to To Do in Sprint 62 - Standard Library PCM via automation Aug 12, 2022
@ayeshLK ayeshLK moved this from To Do to In Progress in Sprint 62 - Standard Library PCM Aug 17, 2022
@ayeshLK ayeshLK moved this from In Progress to To Do in Sprint 62 - Standard Library PCM Aug 17, 2022
@ayeshLK ayeshLK moved this from To Do to In Progress in Sprint 62 - Standard Library PCM Aug 17, 2022
@ayeshLK ayeshLK moved this from In Progress to To Do in Sprint 62 - Standard Library PCM Aug 22, 2022
@chamil321 chamil321 added this to To Do in Sprint 63 - Standard Library PCM via automation Aug 29, 2022
@chamil321 chamil321 removed this from Planned in HTTP Backlog Sep 8, 2022
@chamil321 chamil321 added this to To do in HTTP Backlog via automation Sep 8, 2022
@ayeshLK ayeshLK added this to To Do in Sprint 64 - Standard Library PCM via automation Sep 15, 2022
@ayeshLK ayeshLK moved this from To do to Planned in HTTP Backlog Sep 15, 2022
@chamil321 chamil321 added this to To Do in Sprint 65 - Standard Library PCM via automation Sep 26, 2022
@ayeshLK ayeshLK moved this from Planned to In progress in HTTP Backlog Apr 2, 2024
@ayeshLK ayeshLK added the Reason/Complex Issue occurred due to complex scenario. label Apr 3, 2024
@ayeshLK
Copy link
Member Author

ayeshLK commented Apr 3, 2024

@ayeshLK ayeshLK closed this as completed Apr 3, 2024
HTTP Backlog automation moved this from In progress to Done Apr 3, 2024
@ayeshLK ayeshLK added this to the 2201.9.0 milestone Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/http Points/2.5 Reason/Complex Issue occurred due to complex scenario. Team/PCM Protocol connector packages related issues Type/Bug
Projects
Archived in project
HTTP Backlog
  
Done
Development

No branches or pull requests

2 participants