legend-sdlc icon indicating copy to clipboard operation
legend-sdlc copied to clipboard

A comprehensive error handling strategy of pulling entities

Open irisyngao opened this issue 2 years ago • 0 comments

Feature Request

Description of Problem:

When supporting function overloading, the changes made in Engine Parser cause an issue of pulling entities from Gitlab. This inspires supporting a comprehensive error handling strategy for all breaking grammar changes or any reason, which avoids providing workarounds for each different case.

Potential Solutions:

  • [ ] Provide an API for getting an entities with an option of turning off error exceptions. Similar to GET [​/projects​/{projectId}​/groupWorkspaces​/{workspaceId}​/entities(http://localhost:7070/api/swagger#/Entities/getAllEntities_12) Get entities of the group workspace, getAllEntities API will have a parameter that is used for passing through all validations even if there are corrupted entities due to non-backward-compatible grammar changes.

  • [ ] Provide an API for getting all corrupted entities

  • [ ] Generate useful/concrete failure analysis and throw corresponding exceptions

  • [ ] Create a mechanism(APIs) to fix all corrupted entities

irisyngao avatar Sep 22 '22 19:09 irisyngao