Skip to content

Commit

Permalink
refactor: remove grpc api (#34)
Browse files Browse the repository at this point in the history
* refactor: remove grpc api

As we added GraphQL and HTTP endpoints to download attestations the GRPC
service found itself less and less used. This is a pretty hefty refactor
of the archivist server code to pull out the GRPC service.

WIP: SPIRE mTLS with the http service

Signed-off-by: Mikhail Swift <mikhail@testifysec.com>

* perf: add additional sql indexes

* refactor: autogenerate graphql schema from entgo

* feat: add filtering and pagination to subjects

Signed-off-by: Mikhail Swift <mikhail@testifysec.com>
Co-authored-by: cole kennedy <colek42@gmail.com>
  • Loading branch information
mikhailswift and colek42 committed Oct 17, 2022
1 parent 0f4374c commit 1416744
Show file tree
Hide file tree
Showing 106 changed files with 3,840 additions and 2,573 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build-and-push-server:
KO_DOCKER_REPO: registry.gitlab.com/testifysec/judge-platform/archivist/archivist
stage: build
image:
name: registry.gitlab.com/testifysec/docker-images/ko:0.11.2
name: registry.gitlab.com/testifysec/docker-images/ko:0.11.2-go1.19.2
entrypoint: [""]
script:
- ko auth login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
Expand All @@ -31,7 +31,7 @@ build-and-push-client:
KO_DOCKER_REPO: registry.gitlab.com/testifysec/judge-platform/archivist/archivistctl
stage: build
image:
name: registry.gitlab.com/testifysec/docker-images/ko:0.11.2
name: registry.gitlab.com/testifysec/docker-images/ko:0.11.2-go1.19.2
entrypoint: [""]
script:
- ko auth login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
Expand Down
98 changes: 0 additions & 98 deletions archivist.graphql

This file was deleted.

Loading

0 comments on commit 1416744

Please sign in to comment.