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

refactor: user servicedata service to serve metadata #82

Merged
merged 8 commits into from
Jun 18, 2024

Conversation

ishanarya0
Copy link
Member

user servicedata service to serve metadata

@ishanarya0 ishanarya0 changed the base branch from main to servicedata-for-metadata-update-apis June 14, 2024 09:54
internal/api/v1beta1/user.go Outdated Show resolved Hide resolved
NamespaceID string `db:"namespace_id"`
EntityID string `db:"entity_id"`
Value sql.NullString `db:"value"`
Key string `db:"key"`
Copy link
Member

Choose a reason for hiding this comment

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

Probably we could be more specific on this one, whether this is KeyURN or KeyID or KeyName

core/group/filter.go Outdated Show resolved Hide resolved
core/group/filter.go Outdated Show resolved Hide resolved
@ishanarya0 ishanarya0 merged commit 9778e5c into servicedata-for-metadata-update-apis Jun 18, 2024
3 of 4 checks passed
ishanarya0 added a commit that referenced this pull request Jun 18, 2024
* feat: update user API to use servicedata

* feat: update group metadata using servicedata service

* refactor: user servicedata service to serve metadata (#82)

* feat: use servicedata service to serve metadata

* feat: change value to jsonb

* refactor

* fix: e2e-test, user, group and servicedat tests

* test: fix

* test: fix

* test: fix

* lint: fix
ishanarya0 added a commit that referenced this pull request Jul 18, 2024
* feat: user service data to serve metadata

* fix: should not return error if user email is missing

* chore: remove unwanted imports

* feat: get group metadata from servicedata

* feat: update APIs to use servicedata (#74)

* feat: update user API to use servicedata

* feat: update group metadata using servicedata service

* refactor: user servicedata service to serve metadata (#82)

* feat: use servicedata service to serve metadata

* feat: change value to jsonb

* refactor

* fix: e2e-test, user, group and servicedat tests

* test: fix

* test: fix

* test: fix

* lint: fix

* fix: field name

* lint: format

* fix: check permission on keys before create/update

* lint: formatting

* fix: check permission on keys before create/update

* refactor: change field name

* fix: add consistency to lookup resource

* feat: make servicedata key public (#86)

* feat: make servicedata key public

* fix: schema generator test

* test: spicedb image tab

* test: fix image repo

* test: fix image version

* test: fix command

* test: remove command flag

* test: add e2e-tests

* refactor: wildcard role check

* test: fix

* test: fix

* test: fix

* test: fix wrong response

* fix: self API

* test

* test

* test: update create group test

* test: update update group test
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.

2 participants