Skip to content

Commit

Permalink
Add new endpoint for fetching rule evaluations
Browse files Browse the repository at this point in the history
  • Loading branch information
evankanderson committed Mar 1, 2024
1 parent 53c5c5a commit 6e63763
Show file tree
Hide file tree
Showing 8 changed files with 2,333 additions and 1,635 deletions.
2 changes: 1 addition & 1 deletion cmd/cli/app/artifact/artifact_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func artifactEvalStatus(
Project: &project,
},
Name: profile.GetName(),
Entity: &minderv1.GetProfileStatusByNameRequest_EntityTypedId{
Entity: &minderv1.EntityTypedId{
Id: artifact.ArtifactPk,
Type: minderv1.Entity_ENTITY_ARTIFACTS,
},
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/app/profile/status/status_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func getCommand(ctx context.Context, cmd *cobra.Command, conn *grpc.ClientConn)
resp, err := client.GetProfileStatusByName(ctx, &minderv1.GetProfileStatusByNameRequest{
Context: &minderv1.Context{Provider: &provider, Project: &project},
Name: profileName,
Entity: &minderv1.GetProfileStatusByNameRequest_EntityTypedId{
Entity: &minderv1.EntityTypedId{
Id: entityId,
Type: minderv1.EntityFromString(entityType),
},
Expand Down
72 changes: 57 additions & 15 deletions docs/docs/ref/proto.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

127 changes: 113 additions & 14 deletions pkg/api/openapi/minder/v1/minder.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e63763

Please sign in to comment.