Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Driver Support #311

Open
dixonwhitmire opened this issue Nov 22, 2021 · 0 comments
Open

Storage Driver Support #311

dixonwhitmire opened this issue Nov 22, 2021 · 0 comments
Labels

Comments

@dixonwhitmire
Copy link
Member

dixonwhitmire commented Nov 22, 2021

This epic supports storing input messages outside of LinuxForHealth Connect's kafka topics within a storage system. Storage systems include:

  • Object Storage (using minio)
  • IPFS
  • RDBMS

Storage systems are supported through the use of a storage driver "interface" which defines the basic operations requires to store and fetch a message from a system.

def store(input_message: Any) -> str:
       # input_message is an EDI Model
       # return type is the URI to the message within the storage system
       pass
 
def fetch(uri: str) -> Any:
       # uri is the storage system uri
       # returns the input message as an EDI model
       pass       
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant