Giter VIP home page Giter VIP logo

grove-node's People

Contributors

audarth avatar dependabot[bot] avatar grtjn avatar patrickmcelwee avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grove-node's Issues

Migrate to Github

  • check and resolve pending PR's
  • import from internal bitbucket to github
  • add deprecation message to bitbucket
  • migrate unresolved PR's
  • prune unnecessary branches
  • fix README, package*, NOTICE/LICENSE
  • publish under @marklogic-community

Add middletier CA option..

options.js:

middleTierCA: {
variable: 'GROVE_MIDDLETIER_CA'
},

node-server.js:

  if (options.middleTierCA) {
    credentials.ca = fs.readFileSync(options.middleTierCA, 'utf8');
  }

Tests fail

Running npm run test results in failures, from the crud.test.js file.

e.g.:

  1. defaultCrudRoute
    with CRUD server
    allows config of default view transform:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/grove-node/test/grove-default-routes/crud.test.js)
    at listOnTimeout (internal/timers.js:537:17)
    at processTimers (internal/timers.js:481:7)

Override backend Host header

backend.js (around line 65):
// front-end may be using a hostname different from the ML host's hostname
// use options.mlHost because ML doesn't like it when the Host header is different from its domain (and rightfully so)
backendOptions.headers.host = options.mlHost;

Update documentation to detail middle-tier HTTPS variables

When setting up a grove server to use SSL we were only to find documentation detailing the GROVE_ENABLE_HTTPS_IN_MIDDLETIER, GROVE_MIDDLETIER_SSLCERT, and GROVE_MIDDLETIER_SSLKEY variables in an internal bitbucket repo. The documentation is out of date and suggests to point the SSLCERT variable at a .csr file, rather than the .crt file grove is actually expecting.

Support SAML auth

I've been trying to get a grove-based application to use SAML and have run into difficulties. The MarkLogic Node.js Client API can handle SAML, but Grove doesn't use that. auth-helper.js relies on www-authenticate, but it looks like that library doesn't support SAML.

Is there any documentation or an example somewhere that could help with this?

Allow specifying database

backend.js:

var params = ['database=' + options.mlTargetDbName];

Adding a check if that option exists might be wise..

Read-only mode for crud route

For instance if you have an 'all.xml', but also more specific options, and you want to prevent accidental creation of content via /api/crud/all/..

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.