Skip to content

Commit

Permalink
feat: interoperable schema changes (#870)
Browse files Browse the repository at this point in the history
Signed-off-by: Bassam Riman <[email protected]>
Signed-off-by: Benjamin Voiturier <[email protected]>
Co-authored-by: bvoiturier <[email protected]>
Signed-off-by: Shota Jolbordi <[email protected]>
  • Loading branch information
2 people authored and Shota Jolbordi committed Mar 18, 2024
1 parent cc61eb9 commit 2295d7e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ class SchemaRegistryServerEndpoints(
credentialSchemaController.getSchemaJsonByGuid(guid)(ctx)
}

val getRawSchemaByIdServerEndpoint: ZServerEndpoint[Any, Any] =
getRawSchemaByIdEndpoint
.zServerLogic { case (ctx: RequestContext, guid: UUID) =>
credentialSchemaController.getSchemaJsonByGuid(guid)(ctx)
}

val lookupSchemasByQueryServerEndpoint: ZServerEndpoint[Any, Any] =
lookupSchemasByQueryEndpoint
.zServerSecurityLogic(SecurityLogic.authorizeWalletAccessWith(_)(authenticator, authorizer))
Expand Down

0 comments on commit 2295d7e

Please sign in to comment.