1.4.6 • Published 8 months ago

@openfn/language-progres v1.4.6

Weekly downloads
-
License
LGPLv3
Repository
github
Last release
8 months ago

language-progres

An OpenFn adaptor for building integration jobs for use with the UNHCR ProGres v4 API.

Design notes

  • Integration must run through UNHCR's DTP, a middleware layer that provides a public API for UNHCR internal software.
  • An API token and a self-signed certificate must be provided for communication with UNHCR's DTP.
  • Two-way sync must be possible between Primero and ProGres
  • Teams still in discussion about whether the most common use-case will be a timed sync or real-time/event-based sync.

Documentation

View the docs site for full technical documentation.

Configuration

View all the required and optional properties for state.configuration in the official configuration-schema definition.

Posting data to an endpoint with SSL cert authentication

postData({
  url: urlDTP,
  body: { a: 1 },
  headers: {
    'Subscription-Key': configuration['token'],
  },
  agentOptions: {
    key,
    cert,
  },
});

Development

Clone the adaptors monorepo. Follow the Getting Started guide inside to get set up.

Run tests using pnpm run test or pnpm run test:watch

Build the project using pnpm build.

To just build the docs run pnpm build docs

1.4.6

8 months ago

1.4.5

8 months ago

1.4.4

10 months ago

1.4.3

11 months ago

1.4.2

11 months ago

1.4.1

12 months ago

1.4.0

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.3.11

1 year ago

1.3.12

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.8

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

3 years ago