pengerno / penger-export   1.2.2

MIT License GitHub

Exported and public data models from Penger.no

Scala versions: 2.13 2.12

Penger Export Latest version Build Status

Purpose

To provide a versioned and described data format for exchanging data with external entities. Since Avro is used at FINN for data exchange, it seems as a good fit for describing our externally delivered data.

Features

Billån

Boliglån

Utleieforsikring

Forsikringspakke

Consuming data

For the API integration a multipart POST is issued to the configured endpoint, on the format:

POST /some-url
Content-Type: multipart/form-data; boundary=------------------------d74496d66958873e
--------------------------d74496d66958873e
Content-Disposition: form-data; name="body.json"
Content-Type: application/json

{.. json content ..}
--------------------------d74496d66958873e
Content-Disposition: form-data; name="files"; filename="attachment-name.pdf"
Content-Transfer-Encoding: binary

.. data ..
--------------------------d74496d66958873e--

If request is successfully consumed, respond with 200 OK.

TODO:

  • Bindings: Avro provides bindings for multiple languages. We could therefore aim to provide an integration library for the commonly most used languages at our providers.