Git Product home page Git Product logo

illapa's Introduction

Illapa

CircleCI

Utility that transforms config files describing a relational DB schema into the actual SQL code.

Illapa is the Quechua word for lightning. In the Incan mythology, it was believed that the world was divided in three different entitiesi: upper world, "our" world, and lower world. The lightning was a godness able to cross between the upper and "our" world. As it stands with Illapa, the representation level drops from the highest one to a high one: config files to SQL code.

The use case for Illapa is a DROP - CREATE - LOAD loop. It is suitable during development phase, but not good for production and evolving a DB over time.

The library is opinionated since it requires that the config files follow certain structure. Each files is defined by a template.

Installation

Flow

The tables dependency is sorted by using Teseo. In that sense, Teseo can read the files and process it. However, at the moment Teseo does not return the content of the files sorted.

  1. input the config files

    • define a dir and the format
    • inject schema as a dependency
  2. read files and parse them from config format to js

  3. order them using teseo

  4. create schema using illapa

Usage

Contributing

Roadmap

License

Project Status

Testing with Docker

POSTGRESS_passeord MIGHT NOT be needed

docker run --name pg-test -e POSTGRESS_PASSWORD=admin -d postgres
docker exec -it pg-test psql -U postgres

docker run --name mysql-test -e MYSQL_ROOT_HOST=* -e MYSQL_ROOT_PASSWORD=admin -d percona:5 docker exec -it mysql-test bash bash-4.2$ mysql -u root -p

illapa's People

Contributors

dllatas avatar

Watchers

 avatar  avatar

illapa's Issues

[DepShield] (CVSS 9.8) Vulnerability due to usage of lodash:4.17.11

Vulnerabilities

DepShield reports that this application's usage of lodash:4.17.11 results in the following vulnerability(s):


Occurrences

lodash:4.17.11 is a transitive dependency introduced by the following direct dependency(s):

eslint:5.10.0
        └─ inquirer:6.2.1
              └─ lodash:4.17.11
        └─ lodash:4.17.11
        └─ table:5.1.1
              └─ lodash:4.17.11

eslint-plugin-import:2.14.0
        └─ lodash:4.17.11

nyc:13.3.0
        └─ istanbul-lib-instrument:3.1.0
              └─ @babel/generator:7.4.0
                    └─ lodash:4.17.11
              └─ @babel/traverse:7.4.0
                    └─ lodash:4.17.11
              └─ @babel/types:7.4.0
                    └─ lodash:4.17.11
        └─ istanbul-reports:2.1.1
              └─ handlebars:4.1.0
                    └─ async:2.6.2
                          └─ lodash:4.17.11

winston:3.2.1
        └─ async:2.6.2
              └─ lodash:4.17.11

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of acorn:6.0.4

Vulnerabilities

DepShield reports that this application's usage of acorn:6.0.4 results in the following vulnerability(s):


Occurrences

acorn:6.0.4 is a transitive dependency introduced by the following direct dependency(s):

eslint:5.10.0
        └─ espree:5.0.0
              └─ acorn:6.0.4

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 8.8) Vulnerability due to usage of minimist:0.0.10

Vulnerabilities

DepShield reports that this application's usage of minimist:0.0.10 results in the following vulnerability(s):


Occurrences

minimist:0.0.10 is a transitive dependency introduced by the following direct dependency(s):

nyc:13.3.0
        └─ istanbul-reports:2.1.1
              └─ handlebars:4.1.0
                    └─ optimist:0.6.1
                          └─ minimist:0.0.10

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 8.8) Vulnerability due to usage of handlebars:4.1.0

Vulnerabilities

DepShield reports that this application's usage of handlebars:4.1.0 results in the following vulnerability(s):


Occurrences

handlebars:4.1.0 is a transitive dependency introduced by the following direct dependency(s):

nyc:13.3.0
        └─ istanbul-reports:2.1.1
              └─ handlebars:4.1.0

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of mocha:5.2.0

Vulnerabilities

DepShield reports that this application's usage of mocha:5.2.0 results in the following vulnerability(s):

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of yargs-parser:11.1.1

Vulnerabilities

DepShield reports that this application's usage of yargs-parser:11.1.1 results in the following vulnerability(s):


Occurrences

yargs-parser:11.1.1 is a transitive dependency introduced by the following direct dependency(s):

nyc:13.3.0
        └─ yargs:12.0.5
              └─ yargs-parser:11.1.1
        └─ yargs-parser:11.1.1

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 8.8) Vulnerability due to usage of eslint-utils:1.3.1

Vulnerabilities

DepShield reports that this application's usage of eslint-utils:1.3.1 results in the following vulnerability(s):


Occurrences

eslint-utils:1.3.1 is a transitive dependency introduced by the following direct dependency(s):

eslint:5.10.0
        └─ eslint-utils:1.3.1

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 8.8) Vulnerability due to usage of minimist:0.0.8

Vulnerabilities

DepShield reports that this application's usage of minimist:0.0.8 results in the following vulnerability(s):


Occurrences

minimist:0.0.8 is a transitive dependency introduced by the following direct dependency(s):

eslint:5.10.0
        └─ mkdirp:0.5.1
              └─ minimist:0.0.8

nyc:13.3.0
        └─ spawn-wrap:1.4.2
              └─ mkdirp:0.5.1
                    └─ minimist:0.0.8

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of debug:2.6.9

Vulnerabilities

DepShield reports that this application's usage of debug:2.6.9 results in the following vulnerability(s):


Occurrences

debug:2.6.9 is a transitive dependency introduced by the following direct dependency(s):

eslint-plugin-import:2.14.0
        └─ eslint-import-resolver-node:0.3.2
              └─ debug:2.6.9
        └─ eslint-module-utils:2.2.0
              └─ debug:2.6.9
        └─ debug:2.6.9

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 8.8) Vulnerability due to usage of js-yaml:3.13.0

Vulnerabilities

DepShield reports that this application's usage of js-yaml:3.13.0 results in the following vulnerability(s):


Occurrences

js-yaml:3.13.0 is a transitive dependency introduced by the following direct dependency(s):

chumpi:0.1.4
        └─ js-yaml:3.13.0

eslint:5.10.0
        └─ js-yaml:3.13.0

husky:1.2.1
        └─ cosmiconfig:5.0.7
              └─ js-yaml:3.13.0

teseo:0.1.7
        └─ js-yaml:3.13.0

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.4) Vulnerability due to usage of lodash.flattendeep:4.4.0

Vulnerabilities

DepShield reports that this application's usage of lodash.flattendeep:4.4.0 results in the following vulnerability(s):


Occurrences

lodash.flattendeep:4.4.0 is a transitive dependency introduced by the following direct dependency(s):

nyc:13.3.0
        └─ caching-transform:3.0.1
              └─ package-hash:3.0.0
                    └─ lodash.flattendeep:4.4.0

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

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.