Coder Social home page Coder Social logo

gemini-projects / gemini Goto Github PK

View Code? Open in Web Editor NEW
175.0 22.0 23.0 17.07 MB

Cloud Native and Low Code Platform to create FullStack web Admin applications in minutes

java rest-api rest microservices micronaut domain-driven-design cloud cloudnative model-driven-development restful

gemini's Issues

[DSL-CORE-API]: Singleton Entity

A singleton Entity is a one record Entity, where we can only GET and PUT. No POST and DELETE are allowed. Todo:

  • DSL new ENTITY Type
  • CORE persistence and APIs (no delete or new one, only modify and get)
  • Special API handling (no POST and DELETE)

[AUTH-MODULE] RBAC: role based access control

Need a way to limit operations on APIs accordingly to User roles. TODO:

  • define the model
  • define a way to identify the user role and integrate with OAuth2

We could use different strategie here...

For example bind in some way the OAuth2 scope concept to one or some user role. Or handle the RBAC to work only inside the core Framewoek accordingly to the logged user role decoupling role/scope and access_token. This mean that no OAuth2 scope are used, instead all the logic is made by Gemini core by using user roles.

[CORE-DSL-API/EntityManager] Ordered Logical Key for Entities

Entities can have multiple logical key but at the moment the is a lexicographic order. Need to specify the order on DSL and implement it in the Core Entity Manager and API Paths.

For example:
ENTITY MultipleLK {
TEXT lk *1
TEXT lk2 *2
NUMBER a
}

*1 and *2 give the order

[CORE-API] Entity Controller Method ALLOW/DISABLE

Need a way to avoid to bind unnecessary METHOD to Entity.

For example with singleton Entities of #1 the POST / DELETE method should be not allowed.

There is always a single record for that entity returned by the GET on entity root path (no need to have logical key).

[OPENAPI]: Parametric Info

Using the feature implemented in #1 make the openapi documentation info configurable.

In a singleton entity put all the information needed and the refactor the default.

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.