Skip to content

KonnexionsGmbH/dderl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

77b33f9 · May 26, 2020
Apr 28, 2020
Apr 24, 2020
Jul 17, 2013
May 26, 2020
May 26, 2020
Apr 28, 2020
Mar 28, 2017
Mar 25, 2020
Mar 23, 2017
Apr 24, 2020
Apr 24, 2020
Jan 26, 2015
May 17, 2018
Apr 24, 2020
Apr 24, 2020
May 8, 2020
May 19, 2016

Repository files navigation

DDErl: Data Discovery Tool.

Build

  1. Build backend and frontend rebar3 as ui compile
  2. Build backend only rebar3 compile
  3. Build frontend only bash ./build_fe.sh

Start Console

  1. rebar3 shell or ESCRIPT_EMULATOR=werl rebar3 shell (for GUI in windows) or ERL_FLAGS="-proto_dist imem_inet_tcp" rebar3 shell (to start with imem_inet_tcp as proto_dist)
  2. go to https://127.0.0.1:8443/dderl in your browser

Features

  1. Browse mnesia and oracle tables in the browser
  2. Add and update data
  3. Import and Export data
  4. Send and receive data from one desitination to other on the same session
  5. SQL support for queries
  6. Filter, Sort, Distinct and Statistics on data
  7. Multifactor authentication support (SMS, SAML and username/password)
  8. JSON parsing with SQL
  9. Tailing of tables
  10. Log table rotation and purging
  11. Snapshot and restore table
  12. Cluster backup and restore
  13. Configuration encryption for ssl certificates and passwords
  14. D3 graph support to plot graphs
  15. Save views of tables
  16. Query history support
  17. Connect to other imem server over TCP with SSL
  18. CSV file parsing

Certificates

DDErl runs on SSL. A default certificate/key pair is supplied. This, however can be changed either by replacing these files at installation or modifying configuration in ddConfig table ([{dderl,dderl,dderlSslOpts}]). A sample configuration is given below:

[{cert,<<48,...,107>>},
 {key,{'RSAPrivateKey',<<48,...,192>>}},
 {versions,['tlsv1.2','tlsv1.1',tlsv1]}]

erlang:ssl describes all possible options above. To convert a PEM crt/key files to DER (accepted by erlang SSL binary certificate/key option above) public_key:pem_decode/1 may be used as follows to obtain the DER binary of the PEM certificate files:

> {ok, PemCrt} = file:read_file("server.crt").
{ok,<<"-----BEGIN CERTIFICATE-----\nMIICyTC"...>>}
> public_key:pem_decode(PemCrt).
[{'Certificate',<<48,130,2,201,48,130,2,50,2,9,0,241,25,...>>,not_encrypted}]
> {ok, PemKey} = file:read_file("server.key").
{ok,<<"-----BEGIN RSA PRIVATE KEY-----\nMIICXAI"...>>}
> public_key:pem_decode(PemKey).              
[{'RSAPrivateKey',<<48,130,2,92,2,1,0,2,129,129,0,160,95,...>>,not_encrypted}]

Using the Docker Image from DockerHub

On DockerHub an image is available for the further development of dderl. For details, the corresponding documentation can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published