1
0
Fork 0
Commit Graph

49 Commits

Author SHA1 Message Date
Alan Plum 0f5c65e636 gharial: added missing body params. 2014-07-25 16:23:34 +02:00
Alan Plum 28cd18a8dd Linting. 2014-07-23 19:41:59 +02:00
Alan Plum 9e13e84b31 Workaround for booleans-as-numbers (thank you, PHP). 2014-07-23 17:05:04 +02:00
Alan Plum 9d752c951f Converted gharial and aardvark to joi. 2014-07-23 11:20:35 +02:00
Michael Hackstein 472240948a Fixed JSLint warning in gharial 2014-07-21 14:41:34 +02:00
Michael Hackstein 05a6760adb Fixed return code in gharial, when trying to delete a non existing vertex collection. 2014-07-21 10:23:54 +02:00
Michael Hackstein 6481c3217f Fixed ordering of error responses in gharial 2014-07-18 10:53:52 +02:00
Michael Hackstein 871db072e7 Added tests for gharial error return codes. Fixed a bug pn false return code on the way 2014-07-16 11:04:39 +01:00
Michael Hackstein db33dd22d2 Fixed a minor bug in gharial where there was no correct error code was thrown when trying to store a vertex in a non existing graph. Also allowed the _create method of graph module to take options like waitForSync 2014-07-15 16:57:24 +01:00
Michael Hackstein 47c8f709a9 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-09 15:15:39 +02:00
Michael Hackstein 5d90ffef37 Fixed parameter types for boolean query parameter. Fixed return code for edge creation. 400 is thrown on invalid edge, 404 is thrown if collection or graph not found 2014-07-09 15:15:25 +02:00
scottashton 267c8ba451 minor fixes in gharial and ahuacatl 2014-07-09 14:43:06 +02:00
Michael Hackstein 1f795fec66 Improved gharial and general graph documentation. Gharial now documents waitForSync, keepNull and if-match 2014-07-08 17:18:15 +02:00
Michael Hackstein f763f0aa13 Added an error for the graph module. It will be thrown on the attempt to add an orphan collection that is already used. Also alloed orphan collections for restrictions in fluentAQL 2014-07-08 13:53:39 +02:00
Michael Hackstein aeacb9279a Fixed a problem with waitForSync parameter. Returned type is string, not boolean as expected 2014-07-08 13:08:09 +02:00
Michael Hackstein 3f6e1c3555 Unified gharial error responses with normal API 2014-07-08 10:46:18 +02:00
Michael Hackstein 3f7e2a7b76 Fixed failing gharial examples 2014-07-08 08:03:03 +02:00
Michael Hackstein 7383fc4fdd Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-07 15:18:39 +02:00
Michael Hackstein 72a9b7e5aa Added waitForSync support for creation of vertices and edges in gharial 2014-07-07 15:18:35 +02:00
scottashton 64a72ed12b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-07 14:22:41 +02:00
scottashton c5bfe5a33c changed gharial to match php api 2014-07-07 14:21:58 +02:00
Michael Hackstein a9a8efb14b Fixed documentation of gharial. Status code assertion did fail due to waitForSync parameter 2014-07-07 09:51:05 +02:00
Michael Hackstein 202deaae85 Fixed issues in gharial module. By default the do not wait for sync http codes are returned. You can now optionally send waitForSync true to all modifying endpoints 2014-07-03 10:53:18 +02:00
Michael Hackstein 7b22c0c2a5 Added a correct 404 return code to gharial when trying to remove a vertex/edge which does not exists. Also added tests for return codes 2014-07-02 15:03:06 +02:00
Michael Hackstein 75059ac757 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-02 14:16:28 +02:00
Michael Hackstein 0ad3a34266 Added a simple get graph function to gharial. 2014-07-02 14:07:12 +02:00
Jan Steemann a5cf53d417 fixed examples 2014-07-01 16:48:47 +02:00
Michael Hackstein 2b12499f40 Added optional drop collection path parameters to gharial 2014-06-30 16:03:31 +02:00
gschwab 51389fcfd6 fixed graph managment 2014-06-25 16:32:23 +02:00
Alan Plum 91cfd860b2 Added other system apps to jslint task. 2014-06-25 14:48:24 +02:00
Michael Hackstein ac014bbfe0 Fixed a bug in gharial which was not allowed to create orphan collections during graph creation 2014-06-24 17:27:47 +02:00
Michael Hackstein 7e3d0be402 Beautified examples of gharial 2014-06-23 15:53:31 +02:00
Michael Hackstein ff709e92b6 Fixed examples for graph http module 2014-06-18 16:50:14 +02:00
gschwab 6ff46bb068 docu fixed 2014-06-18 11:12:10 +02:00
Michael Hackstein 25293a4d20 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-18 10:51:06 +02:00
gschwab 6dc18982aa graph._removeVertexCollection(...): dropCollection default set to false 2014-06-18 10:50:07 +02:00
gschwab 7366e8a6d9 renamed removeOrphanCollection(..) -> removeVertexCollection(..) 2014-06-18 09:29:34 +02:00
gschwab 903dce0fbf renamed getOrphanCollections() -> orphanCollections() 2014-06-18 09:01:04 +02:00
Michael Hackstein 17b088fcc8 Fixed example generation for new graph module 2014-06-17 13:22:31 +02:00
Michael Hackstein f8969a5de2 Added more code examples to the graph module 2014-06-16 16:28:48 +02:00
Michael Hackstein b8e96d54ba Started adding examples to the http graph module 2014-06-15 22:42:51 +02:00
Michael Hackstein fdece972d0 Added tests for vertex and edge collection lists in http interface. Added docu for _list in general-graph module 2014-06-13 16:41:48 +02:00
Michael Hackstein 7541149200 Added functions to list all graphs and all vertex/edge collections of a specific graph to http-api 2014-06-13 15:11:59 +02:00
Michael Hackstein ba3a3914fa Included change of existing edge definition in graph-http-module 2014-06-13 09:49:33 +02:00
Michael Hackstein e9f161c061 Added a route to add an additional edge definition to the graph 2014-06-12 15:32:50 +02:00
Michael Hackstein 2198a03b49 Implemented edge crud in http-graph-module. TODO: Modify definitions 2014-06-12 14:43:21 +02:00
Michael Hackstein 3a0fddb901 Moved the unspecific route to the end of graph-http foxx, was matched too often 2014-06-12 13:15:25 +02:00
Michael Hackstein 25e97eafee Further implemented graph-http-module. Now offers complete vertex interaction. Tests for Vertex Interaction and Edge Interaction added 2014-06-12 08:09:37 +01:00
Michael Hackstein dcac399fa7 Started implementation of graph-http-module foxx app. Current State: Can create and drop new graphs. Can execute CRUD on vertices 2014-06-11 11:48:16 +02:00