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

implement migration to create workspace_service_account table #11943

Merged
merged 4 commits into from
Apr 26, 2022

Conversation

subodh1810
Copy link
Contributor

@subodh1810 subodh1810 commented Apr 12, 2022

Issue : #11968

@subodh1810 subodh1810 self-assigned this Apr 12, 2022
@subodh1810 subodh1810 marked this pull request as ready for review April 13, 2022 13:25
@subodh1810 subodh1810 requested review from edgao and tuliren April 19, 2022 14:51
final Field<String> serviceAccountId = DSL.field("service_account_id", SQLDataType.VARCHAR(31).nullable(false));
final Field<String> serviceAccountEmail = DSL.field("service_account_email", SQLDataType.VARCHAR(256).nullable(false));
final Field<JSONB> jsonCredential = DSL.field("json_credential", SQLDataType.JSONB.nullable(true));
final Field<JSONB> hmacKey = DSL.field("hmac_key", SQLDataType.JSONB.nullable(true));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should both json_credential and hmac_key columns be required?

Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm pending #11944 (comment)

@subodh1810 subodh1810 temporarily deployed to more-secrets April 25, 2022 20:50 Inactive
@subodh1810 subodh1810 temporarily deployed to more-secrets April 25, 2022 20:51 Inactive
* implement persistence code for workspace_service_account table

* update yaml

* implement secret handling for workspace_service_account table (#11946)

* implement secret handling for workspace_service_account table

* add new line to the mock json

* get rid of file

* address review comments

* update method name and add comment
@subodh1810 subodh1810 temporarily deployed to more-secrets April 26, 2022 13:51 Inactive
@subodh1810 subodh1810 temporarily deployed to more-secrets April 26, 2022 13:51 Inactive
@subodh1810 subodh1810 merged commit 367b863 into master Apr 26, 2022
@subodh1810 subodh1810 deleted the create-workspace-service-accounts-table branch April 26, 2022 14:19
suhomud pushed a commit that referenced this pull request May 23, 2022
* implement migration to create workspace_service_account table

* make all columns non nullable

* introduce persistence code for service account table (#11944)

* implement persistence code for workspace_service_account table

* update yaml

* implement secret handling for workspace_service_account table (#11946)

* implement secret handling for workspace_service_account table

* add new line to the mock json

* get rid of file

* address review comments

* update method name and add comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants