Coder Social home page Coder Social logo

Comments (3)

rjrudin avatar rjrudin commented on July 18, 2024

This may not be necessary - the databases endpoint already allows for subdatabases to be configured on a database.

from ml-app-deployer.

cskeefer avatar cskeefer commented on July 18, 2024

I was just looking at the 9.0 REST API docs. 8.0 had a dedicated section called Super-databases and Sub-databases under the Management API section. 9.0 does not have that.

from ml-app-deployer.

cskeefer avatar cskeefer commented on July 18, 2024

Seems like in 8.0 you could both:

  • Create a sub-database based on an existing database: POST to /manage/v2/databases/{id|name}/sub-databases
  • Create a super-database based on an existing database: POST /manage/v2/databases/{id|name}/super-databases

The 9.0 docs leave out the those endpoints but I did just try creating a sub-database using it (on a 9.0-1.1 instance) and it created the sub-database just fine (including range index settings, etc). I wonder if it is a doc oversight.

I haven't tried creating a sub-database using /manage/v2/databases/{id|name}/properties (I'm assuming that is what you are talking about) but the docs don't look like you can specify the same parameters. They seem to say you specify database-name and cluster-name where as the docs for the /manage/v2/databases/{id|name}/sub-databases endpoint say to specify database-name and kind (active or archive)

from ml-app-deployer.

Related Issues (20)

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.