Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

feat: enable $docref based on the compiled IGs #83

Merged
merged 2 commits into from
May 20, 2021

Conversation

carvantes
Copy link
Contributor

The idea is to support docref but at the same time we want to make it easier to add other operations in the future.

Summary of changes:

  • Update the compiler to also accept OperationDefinition
  • Added OperationDefinitionRegistry to hold the implementation of available operations.
  • Update app.ts to hook operations into our authZ middleware and also mount their implementations.

To add another operation in the future we only need to code it’s implementation (add a folder under /operationDefinitions) and add it on initializeOperationRegistry .

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

src/app.ts Show resolved Hide resolved
src/configHandler.ts Outdated Show resolved Hide resolved
@carvantes carvantes requested a review from rsmayda May 18, 2021 00:07
@carvantes carvantes merged commit 3872bd1 into feat-docref May 20, 2021
@carvantes carvantes deleted the dev-enable-docref branch May 20, 2021 09:26
carvantes added a commit that referenced this pull request May 21, 2021
* feat: add US Core $docref implementation (#78)
* feat: enable $docref based on the compiled IGs (#83)
* feat: add docref to capability statement (#85)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants