Skip to content

Sinopia in Airflow

Jeremy Nelson edited this page Nov 12, 2021 · 4 revisions

To successfully save a new localAdminMetadata back to the Sinopia, requires the following:

Airflow Connections

  • Connection Id: aws_lambda_connection
  • Connection Type: Amazon Web Services
  • Login: AWS access key ID for the Sinopia API user (in shared configs)
  • Password: AWS secret id for Sinopia API user (in shared configs)

Extra configuration

{"region_name": "us-west-2"}

Airflow Variables

  • cognito_client_id: Retrieve from AWS Cognito user pool for either Development, Stage, or Production environments
  • marc_s3_bucket: For development sinopia-marc-development
  • rdf2marc_lambda: For development sinopia-rdf2marc-development
  • sinopia_env: dev, stage, or prod
  • sinopia_user: ils_middleware
  • sinopia_password: {retrieve from shared configs}
  • sinopia_api_uri: Should be one of three values depending on environment:
    1. https://api.development.sinopia.io/resource
    2. https://api.stage.sinopia.io/resource
    3. https://api.sinopia.io/resource
Clone this wiki locally