4.4.4 • Published 6 years ago

electrode-ota-server-dao-factory v4.4.4

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
6 years ago

electrode-ota-server-dao-factory

This project is part of the electrode-ota-server

It is not meant to be used as a standalone module, use at your own risk.

This service provides an abstraction layer for the DAO data store. It allows for pluggable datastore driver used to power DAO storage. Currently support datastores are MariaDB (electrode-ota-server-dao-mariadb) and Cassandra (electrode-ota-server-dao-cassandra).

Install

$ npm install electrode-ota-server-dao-factory

Usage

  • Install this module in your package.json.
  • Update your config to use this package, specify a driver.
  • Add the driver and driver options.

In this sample configuration, we are using the MariaDB driver to save DAO instances.

{
    "electrode-ota-server-dao-factory": {
        "options": {
            "driver": "electrode-ota-server-dao-mariadb"
        }
    },
    "electrode-ota-server-dao-mariadb": {
        "options": {
            host: '127.0.0.1',
            user: 'root',
            password: 'root'
        }
    }
}
4.4.4

6 years ago

4.4.3

6 years ago

4.4.2

6 years ago

4.4.1-0

6 years ago

4.4.0-0

6 years ago

4.3.0-0

6 years ago

4.2.4-0

6 years ago

4.2.3-0

6 years ago

4.2.2-0

6 years ago

4.2.1-0

6 years ago

4.2.0-0

6 years ago

4.1.0-0

6 years ago

4.0.0-0

6 years ago

3.2.6-0

6 years ago

3.2.5-0

6 years ago

3.2.4-0

6 years ago

3.2.3-0

6 years ago

3.2.1-0

6 years ago