Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JSON export #3309

Merged
merged 57 commits into from
Apr 29, 2019
Merged

Add support for JSON export #3309

merged 57 commits into from
Apr 29, 2019

Commits on Mar 21, 2019

  1. Put data before extensions in JSON response.

    Javier Alvarado committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    e77d7e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2019

  1. Parse query args in export request url.

    Javier Alvarado committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    349b2e3 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2019

  1. Add json_fmt field to ExportRequest protobuf message.

    Javier Alvarado committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    62a1ceb View commit details
    Browse the repository at this point in the history
  2. Add opts arg to ExportOverNetwork().

    Javier Alvarado committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    2cf24d5 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2019

  1. First working(?) version of JSON export.

    Javier Alvarado committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    0edb635 View commit details
    Browse the repository at this point in the history
  2. Handle import of empy JSON arrays.

    Javier Alvarado committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    bf0534a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    258b74f View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2019

  1. Add reminder.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    132a3d3 View commit details
    Browse the repository at this point in the history
  2. Put data before extensions in JSON response.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    1dc16ad View commit details
    Browse the repository at this point in the history
  3. Parse query args in export request url.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    b068040 View commit details
    Browse the repository at this point in the history
  4. Add json_fmt field to ExportRequest protobuf message.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    a81c6f8 View commit details
    Browse the repository at this point in the history
  5. Add opts arg to ExportOverNetwork().

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    98dd033 View commit details
    Browse the repository at this point in the history
  6. First working(?) version of JSON export.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    394f637 View commit details
    Browse the repository at this point in the history
  7. Handle import of empy JSON arrays.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    b72439e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1f06535 View commit details
    Browse the repository at this point in the history
  9. Add reminder.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    dd31ee9 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'javier/json_export' of github.com:dgraph-io/dgraph into…

    … javier/json_export
    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    8913fb3 View commit details
    Browse the repository at this point in the history
  11. Add language tags to JSON live load test.

    Javier Alvarado committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    b6aab03 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2019

  1. Fix language support in JSON export.

    Javier Alvarado committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    97543b1 View commit details
    Browse the repository at this point in the history
  2. Add clarifying comment.

    Javier Alvarado committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    90ec634 View commit details
    Browse the repository at this point in the history
  3. Add facets to JSON live load test.

    Javier Alvarado committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    abb4cdf View commit details
    Browse the repository at this point in the history
  4. Replace one of two string facets with a numeric one.

    Javier Alvarado committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    4394527 View commit details
    Browse the repository at this point in the history
  5. Output facets in JSON export.

    Javier Alvarado committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    ccb6cfa View commit details
    Browse the repository at this point in the history
  6. Remove commented-out code from test.

    Javier Alvarado committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1834ff8 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2019

  1. Merge master.

    Javier Alvarado committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    e03b35f View commit details
    Browse the repository at this point in the history
  2. Add note about JSON exports to documentation.

    Javier Alvarado committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    46e7c8c View commit details
    Browse the repository at this point in the history
  3. Fix line length.

    Javier Alvarado committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    6c6858b View commit details
    Browse the repository at this point in the history
  4. Add export JSON test.

    Javier Alvarado committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    85f31de View commit details
    Browse the repository at this point in the history
  5. Refactor out common code from JSON and RDF export tests.

    Javier Alvarado committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    ab39fa1 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2019

  1. Simplify JSON export code.

    Javier Alvarado committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    b3e87e4 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Replace long argument list with a struct in function call. Refactor c…

    …ode for re-use.
    Javier Alvarado committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    0205c34 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2019

  1. Replace export format flag with a string.

    Javier Alvarado committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    ed3217f View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. Try to put all export format related settings in one spot.

    Javier Alvarado committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    0183e60 View commit details
    Browse the repository at this point in the history
  2. More refactoring.

    Javier Alvarado committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    21a9d64 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2019

  1. Merge master

    Javier Alvarado committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    fd5c29f View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. Merge master

    Javier Alvarado committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    7d3aeb1 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2019

  1. Replace buf.WriteString()s with fmt.Fprintf()s.

    Javier Alvarado committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    6c0c377 View commit details
    Browse the repository at this point in the history
  2. Make toRDF and toJSON methods instead of functions.

    Javier Alvarado committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    42cf706 View commit details
    Browse the repository at this point in the history
  3. Change all buf.Write* to fmt.Fprint* for consistency.

    Javier Alvarado committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    36e220f View commit details
    Browse the repository at this point in the history
  4. Return copy of buffer since buffer is re-used.

    Javier Alvarado committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    e6eec67 View commit details
    Browse the repository at this point in the history
  5. Go back to no reusing buffer. Only use buffer in function where it is…

    … created.
    Javier Alvarado committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    52ba8b9 View commit details
    Browse the repository at this point in the history
  6. Checkpoint...

    Javier Alvarado committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    1a5dc38 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2019

  1. Simplify (I think) and refactor JSON export code.

    Javier Alvarado committed Apr 19, 2019
    Configuration menu
    Copy the full SHA
    e9613ac View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2019

  1. Merge master.

    Javier Alvarado committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    b495017 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2019

  1. Fix RDF export.

    Javier Alvarado committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    2f43571 View commit details
    Browse the repository at this point in the history
  2. Fix user of old --dgraph argument.

    Javier Alvarado committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    e37db21 View commit details
    Browse the repository at this point in the history
  3. Fix logic bug.

    Javier Alvarado committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    7520041 View commit details
    Browse the repository at this point in the history
  4. Refactor RDF exporter to share more code with JSON exporter.

    Javier Alvarado committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    f990d79 View commit details
    Browse the repository at this point in the history
  5. Remove unused function.

    Javier Alvarado committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    1996e8c View commit details
    Browse the repository at this point in the history
  6. Revert unnecessary changes.

    Javier Alvarado committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    2dba25a View commit details
    Browse the repository at this point in the history
  7. Undo unnecessary change.

    Javier Alvarado committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    38b58e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2019

  1. Add test of request arg handling.

    Javier Alvarado committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    5706954 View commit details
    Browse the repository at this point in the history
  2. Set HTTP status in response.

    Javier Alvarado committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    7c070c3 View commit details
    Browse the repository at this point in the history
  3. Minor cleanup.

    Javier Alvarado committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    6893f79 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2019

  1. Changes suggested by PR review.

    Javier Alvarado committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    291d240 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2019

  1. Merge master

    Javier Alvarado committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    79ee305 View commit details
    Browse the repository at this point in the history
  2. Fix schema file extension.

    Javier Alvarado committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    ed7bb1c View commit details
    Browse the repository at this point in the history