-
Notifications
You must be signed in to change notification settings - Fork 3
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
Simplify core package #474
Conversation
0e900ad
to
4b5743a
Compare
@VictorGFM , I still need to fix the build issue, which is not related to the code but to the linter we use. You can start reviewing and providing feedback as you please. |
bcd600c
to
220ea6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great refactoring, thanks for working on this. Please consider my comments below before merging.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description of the change
ResourceData
andResponseData
asSchemaReader
andSchemaWriter
, respectively.NewResourceData
andNewResponseData
asSchemaReaderFactory
andSchemaWriterFactory
, respectively.CreateContext
,ReadContext
,UpdateContext
andDeleteContext
operations incore/default_context_handlers.go
. It will greatly simplify how to write resources and datasources to standard API that is comprised ofPOST
,GET
,UPDATE
andDELETE
for the respective CRUD operations and that also just return a simply ID after the create (POST
) call.log.Printf("[DEBUG] ...")
by calls totflog.Debug
.cyral_integration_hc_vault
cyral_saml_certificate
cyral_integration_slack_alerts
cyral_integration_microsoft_teams
cyral_repository_user_account
1.21
.Type of change
Checklists
Development
Code review
Testing
Testing report: