Skip to content

Conversation

@jakedoublev
Copy link
Contributor

@jakedoublev jakedoublev commented Jan 26, 2024

Closes: #75
Now the following get/list requests for attributes look like this:

Request: 
grpcurl -plaintext localhost:9000 attributes.AttributesService/ListAttributes

Response: 
{
  "attributes": [
    {
      "id": "ebec024c-9ec2-4465-9b5a-dc643abf07cb",
      "metadata": {
        "createdAt": "2024-01-26T21:45:15.978314Z",
        "updatedAt": "2024-01-26T21:45:15.978314Z"
      },
      "namespace": {
        "id": "348f3698-a0c9-4ed6-a90c-e589aaf59c57",
        "name": "example.com"
      },
      "name": "attribute_name",
      "rule": "ATTRIBUTE_RULE_TYPE_ENUM_ALL_OF"
    }
  ]
}

@jakedoublev jakedoublev changed the base branch from main to policy-config-changes January 26, 2024 22:37
@jakedoublev jakedoublev marked this pull request as ready for review January 26, 2024 22:57
@jakedoublev jakedoublev changed the title chore(issue 70): integration tests for attributes and consumption of namespaces table within attributes protos/schema chore(issue 75): integration tests for attributes and consumption of namespaces table within attributes protos/schema Jan 26, 2024
@jakedoublev jakedoublev merged commit 7d30b89 into policy-config-changes Jan 29, 2024
@jakedoublev jakedoublev deleted the issue-75/attributes-tests branch January 29, 2024 15:10
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