ordaggregator

command
v0.0.0-...-6d13c91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 79 Imported by: 0

README

Open Resource Discovery Aggregator

Overview

The Aggregator application collects, aggregates, and stores the ORD information from multiple ORD providers to the Compass's database.

Details

The Aggregator basic workflow is as follows:

  1. The Aggregator goes through all available applications, stored in the Compass's database.
  2. For each application that has a webhook of type OPEN_RESOURCE_DISCOVERY it calls the URL that is attached to that webhook.
  3. That URL has predefined endpoints, which provide the necessary information to the Aggregator.
  4. The Aggregator aggregates and stores the provided information in the Compass's database.

Configuration

The ORD Aggregator binary allows you to override some configuration parameters. To get a list of the configurable parameters, see main.go.

Local Development

Prerequisites

The Aggregator requires access to:

  1. A configured PostgreSQL database with the imported Director's database schema.
  2. An existing application with a OPEN_RESOURCE_DISCOVERY webhook. It can be created manually in the database or can be created via the Director GraphQL API. To run Director locally, see Director.
  3. An API that can be called to fetch and process ORD documents.
Run

Since the ORD Aggregator is usually a short-lived process, it is useful to start and debug it directly from your IDE. Make sure that you provide all required configuration properties as environment variables.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL