GithubHelp home page GithubHelp logo

durango's Introduction

Durango

Durango is a database wrapper for ArangoDB.

This is alpha software for the moment.

I will be adding more features rapidly over the next few weeks and months.

PRs with passing tests are welcome.

durango's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jnylen

durango's Issues

Should we migrate from Xarango to Durango

Hello @elbow-jason
We were using Xarango for some time now. However, due to recent changes in ArangoDB and Elixir the library is no more suitable for use. Would you suggest we migrate to Durango?

Most of my work is related to CRUD operations in Collections, Edges, Vertices. And a few Transactions.

Edges

Hi @elbow-jason,
How does edges work with this hex?

In Xarango it had a specific type of document for graphs.

Issues with Rancher/Docker and containers

Hi @elbow-jason,
I have an issue where its complaining it can't reach the hostname of "arangodb" even though I can ping it fine:

2018-08-09 14:16:5312:16:53.539 [info] OpenExchangeRates Updating Rates...
2018-08-09 14:16:5312:16:53.548 [info] Running ServerWeb.Endpoint with Cowboy using http://0.0.0.0:4000
2018-08-09 14:16:5312:16:53.565 [info] Application server exited: Server.Application.start(:normal, [:durango]) returned an error: shutdown: failed to start child: Server.Repo
2018-08-09 14:16:53    ** (EXIT) an exception was raised:
2018-08-09 14:16:53        ** (RuntimeError) Invalid Durango.Repo.Auth response :nxdomain for Elixir.Server.Repo
2018-08-09 14:16:53            (durango) lib/repo/auth.ex:24: Durango.Repo.Auth.refresh_token/1
2018-08-09 14:16:53            (server) lib/server/repo.ex:2: Server.Repo.refresh_token/1
2018-08-09 14:16:53            (server) lib/server/repo.ex:2: Server.Repo.init/1
2018-08-09 14:16:53            (stdlib) gen_server.erl:374: :gen_server.init_it/2
2018-08-09 14:16:53            (stdlib) gen_server.erl:342: :gen_server.init_it/6
2018-08-09 14:16:53            (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2018-08-09 14:16:55{"Kernel pid terminated",application_controller,"{application_start_failure,server,{{shutdown,{failed_to_start_child,'Elixir.Server.Repo',{#{'__exception__' => true,'__struct__' => 'Elixir.RuntimeError',message => <<\"Invalid Durango.Repo.Auth response :nxdomain for Elixir.Server.Repo\">>},[{'Elixir.Durango.Repo.Auth',refresh_token,1,[{file,\"lib/repo/auth.ex\"},{line,24}]},{'Elixir.Server.Repo',refresh_token,1,[{file,\"lib/server/repo.ex\"},{line,2}]},{'Elixir.Server.Repo',init,1,[{file,\"lib/server/repo.ex\"},{line,2}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,374}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,342}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}}},{'Elixir.Server.Application',start,[normal,[durango]]}}}"}
2018-08-09 14:16:55Kernel pid terminated (application_controller) ({application_start_failure,server,{{shutdown,{failed_to_start_child,'Elixir.Server.Repo',{#{'__exception__' => true,'__struct__' => 'Elixir.RuntimeError
2018-08-09 14:16:55
2018-08-09 14:16:55Crash dump is being written to: erl_crash.dump...done

Any ideas?

function nil.token_refresh_interval/0 is undefined

Hi,
After running for a while it crashes with this:

2018-08-12 22:23:5520:23:55.605 [error] GenServer Server.Repo terminating
2018-08-12 22:23:55** (UndefinedFunctionError) function nil.token_refresh_interval/0 is undefined
2018-08-12 22:23:55    nil.token_refresh_interval()
2018-08-12 22:23:55    (server) lib/server/repo.ex:2: Server.Repo.handle_info/2
2018-08-12 22:23:55    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2018-08-12 22:23:55    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2018-08-12 22:23:55    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2018-08-12 22:23:55Last message: :refresh_token
2018-08-12 22:23:5520:23:55.611 [info] Application server exited: shutdown
2018-08-12 22:23:57{"Kernel pid terminated",application_controller,"{application_terminated,server,shutdown}"}
2018-08-12 22:23:57Kernel pid terminated (application_controller) ({application_terminated,server,shutdown})

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.