Giter VIP home page Giter VIP logo

data-api-builder's Issues

MsSql/PgSql : ReplaceOne REST PUT using body

Abstract Operation​ SQL DB / PG​ Doc API​ REST​ Notes
ReplaceOne​ UPDATE <1 row w/ overwrite>​ replace(items)​ PUT Orders/[PK] w/ flag​ Full replace – same as upsert, but without insert​
ReplaceMany​ UPDATE <N rows w/ overwrite>​ bulk(replace(items))​ PUT Orders w/ flag​ ​  

MsSql: FindById REST GET

FindById​ SELECT WHERE PK=​ readItem(SK, ID)​ GET Orders/​​ GetOrder(pk)​​
FindMany​ SELECT WHERE​ SELECT WHERE​ GET Orders/?f=<>​ GetOrders(filter)

Cosmos DB: Rest Query

Point lookup by Id/primary key for select,update,insert

Simple Query with filter (no perf expectation, and no pagination)

MsSql/PgSql : UpsertById REST PUT

Abstract Operation​ SQL DB / PG​ Doc API​ REST​ Notes
UpsertById​ “UPSERT” <1 row w/ overwrite>​ upsertItem(item)​ PUT Orders/[PK]​

MsSql/PgSql: UpsertMany REST PUT

Abstract Operation​ SQL DB / PG​ Doc API​ REST​ Notes
UpsertMany​ “UPSERT” <N row w/ overwrite>​ Bulk(upserts(items))​ PUT Orders​

MsSql/PgSql : DeleteById REST DELETE

Abstract Operation​ SQL DB / PG​ Doc API​ REST​ Notes
DeleteById​ DELETE <1 row>​ deleteItem(item)​ DELETE Orders/[PK]​ ​

MsSql/PgSql: Infer schema from database to populate memory objects

Today we have a FileMetadataProvider.
Implement a DatabaseMetadataProvider that reads the schema from database and fills in the same config values that we do today using the FileMetadataProvider.
The goal would be to get to a point where we can run all tests using either the File or the DatabaseMetadataProvider

config file loading for docker scenario.

Docker container should not be shipped with a config file. We need to specify the location of config file that Data Gateway should look for. Either via environment variable or using well-known path when mount docker volume that contains config file.

MsSql/PgSql : UpdateOne REST PATCH

Abstract Operation​ SQL DB / PG​ Doc API​ REST​ Notes
UpdateOne​ UPDATE <1 row>​ patchItem(item)​ PATCH Orders/[PK]​ ​ Partial update​
UpdateMany​ UPDATE ​ bulk(patches(item))​ PATCH Orders​ ​  

MsSql/PgSql : DeleteMany REST DELETE

Abstract Operation​ SQL DB / PG​ Doc API​ REST​ Notes
DeleteMany​ DELETE ​ DELETE Orders​ * Body should just need […PKs]

Support hot reloading of configuration

Allow specifiying something like a --watch to make the runtime watch the provided configs and reload when they change.

Relevant comment from @jarupatj in #50:

You should look at using IOptionsMonitor
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-5.0#options-interfaces

#892

Tasks

  1. do-not-merge refactor
    ayush3797 seantleonard
  2. enhancement 🔥Hot Reload
    aaronburtle
  3. enhancement 🔥Hot Reload
    aaronburtle
  4. enhancement 🔥Hot Reload
    aaronburtle abhishekkumams
  5. refactor
    aaronburtle
  6. refactor 🔥Hot Reload
    aaronburtle

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.