Code Monkey home page Code Monkey logo

generic-fybrik-datacatalog-connector's Introduction

datacatalog-connector

Generic Fybrik Connector. Implements the Fybrik Data-Catalog specification.

Compiling and Running

To compile the connector code, run:

make

To run the connector locally, run:

make run

make run runs the connector with the configuration file in conf/conf.yaml. This configuration assumes that the data catalog is running on localhost and listening on port 8585. In addition, it assumes that Vault is running on localhost too and listening on port 8200. If that is not the case, change the configuration file or employ port-forwarding. The configuration file also contains a path to a JWT file which is used to identify against Vault.

Experiment with Connector

curl -X POST localhost:8081/createAsset -d @mysql.json
curl -X POST localhost:8081/getAssetInfo -d '{"assetID": "AssetID", "operationType": "read"}'

Directory Structure

  • pkg/database-types: Currently, could support data sources such as mysql and s3. The direcory contains the database_type.go file, which defines the DatabaseType interface.
  • pkg/datacatalog-connector-core: The core files of datacatalog connector, they are implement the connector REST API.
  • pkg/utils: Includes utility methods used in the connector code
  • pkg/vault: Includes methods to obtain a token and secrets from Vault
  • conf: Contains a sample configuration file
  • auto-generated: Automatically generated OpenAPI code, both for data catalog (client code) and Fybrik Data Catalog (server code)

generic-fybrik-datacatalog-connector's People

Contributors

cdoron avatar

Watchers

 avatar

generic-fybrik-datacatalog-connector's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.