Skip to content

HINTERLAND-software/lambda.sync-estate-api

Repository files navigation

lambda.sync-estate-api

This lambda fetches estates from Immobilienscout24 or FlowFact and synchronises with Contentful.

As the runtime is most of the time more than 30 seconds, the invocation of the Lambda is asynchronous and the request returns immediately while letting the Lambda run the tasks.

Tasks

  1. Receive payload

    {
       "updates": {
          "created": ["5"],
          "deleted": ["1"],
          "updated": ["2", "4"]
       },
       "config": {
          "domain": "hinterland.software",
          "portal": {
             "type": "immobilienscout24",
             "version": "v1"
          },
          "contentful": {
             "estateContentTypeId": "estate",
             "environmentId": "master",
             "spaceId": "spaceId",
          }
       }
    }
  2. Fetch created & updated (detailed) estates from portal

  3. Parse portal estates to Contentful estate

  4. Import parsed estates to Contentful

TODO

  • CiCd
  • Tests
  • E2E Tests
  • development d
  • production deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •