8000 GitHub - timurgen/sesam-firestoresink: Sesam.io sink to GCP cloud firestore
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sesam.io sink to GCP cloud firestore

Notifications You must be signed in to change notification settings

timurgen/sesam-firestoresink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sesam-firestoresink

Sesam.io sink to GCP cloud firestore

  • This sinsk use Sesam _id property as firestore document reference
  • This sink will delete entity from firestore if entity has attribute _deleted which is equal to true

System setup

{
  "_id": "test-firestore",
  "type": "system:microservice",
  "docker": {
    "environment": {
      "GCP_PROJECT_ID": "<GCP project id>",
      "GOOGLE_APPLICATION_CREDENTIALS": "credentials.json",
      "GOOGLE_APPLICATION_CREDENTIALS_CONTENT": {
        //GCP credentials as json or as string
      },
      "PORT": "<default port 8080 but can be overridden here>"
    },
    "image": "ohuenno/firestoresink",
    "port": 8080
  },
  "verify_ssl": true
}

Pipe setup

{
  "_id": "test-pipe-firestore-sink",
  "type": "pipe",
  "source": {
    "type": "embedded",
    "entities": [{
      "_id": "1",
      "key": "value"
    }, {
      "_id": "2",
      "key2": "value2"
    }, {
      "_id": "3",
      "key3": "value3"
    }]
  },
  "sink": {
    "type": "json",
    "system": "test-firestore",
    "url": "/test-collection-a"
  },
  "pump": {
    "cron_expression": "0 0 1 1 ?"
  }
}

About

Sesam.io sink to GCP cloud firestore

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0