-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support hard delete in core #371
Comments
Implementation steps :
|
tried hard delete using OsGrapg, Graph, Transaction but removeVertex() of Graph and rollbackTransaction() of DataProvider showing error- cannot resolve method. So will tring to solve this error |
write logic for hard delete, set variable / flag , but in Postman its showing response OK but when I tried to check database its showing soft delete even Hard delete enable is true, so trying to solve this |
I have to get sign data from JSON node and need to convert to string so in RegistryEntityController |
Now hard delete function is worked on database and deleted entity will add in revocation list, revocation list table name is RevokedCredentialto |
Started working for Support hard delete for Elastic Search, Write hard delete code in ElasticServiceImpl class, In ElasticSearchActor add delete case for both Soft and hard delete, in this used if condition , for hard delete wrote getDeleteType() in ESMessage class and added getter setter methods. In application.yml file make search - Provder name -ElasticSearchService |
now hard delete supports Elastic search also, Raised PR and shared link with Tejash Varde |
I want to make some changes in code, I tried for this and make some changes but now my project build is failed so trying to solve that issue |
now project build failed error is overcome, trying to run soft delete API, working on that |
Hard delete is working, trying for Soft delete, not able to find deleted flag in ES after call Delete API, facing nullPointerException cause jsonNode was not able to get osSigned data solved that exception |
Trying to for soft delete, whenever I try to call DELETE API its shows successful response but record is not deleting logically even the Environment variable set false |
Task is completed, now Hard delete supports DB and ES both, will raise the PR today |
Raised PR |
@holashchand can you review this PR and close? |
Currently, only soft delete functionality is supported.
We need to provide an option via an env flag to switch between hard/soft delete (the default is soft delete).
When a hard delete is executed, the respective record from all the respective tables and from ES needs to be removed/deleted.
The text was updated successfully, but these errors were encountered: