Conduit for Spire Martime 2.0 API.
Run make build
to build the connector.
Run make test
to run all the unit tests. Run make test-integration
to run the integration tests.
The Docker compose file at test/docker-compose.yml
can be used to run the required resource locally.
The source connector pulls data from Spire's Maritime 2.0 GraphQL API
A Spire API token is required to use this connector
name | description | required | default value |
---|---|---|---|
apiUrl |
Spire API URL to use for accessing the Maritime 2.0 GraphQL API. | false | https://api.spire.com/graphql |
token |
Access token to use when accessing the Spire GraphQL API. | true | |
query |
The query to send to the Spire GraphQL API. | false | Default graphQL Query is in query.go |
batchSize |
The maximum number of results to retrieve from the Spire GraphQL API for each request. | false | 100 |
- There's currently no pre-flight validation on the GraphQL query