Code Monkey home page Code Monkey logo

j-arc's People

Contributors

adilsde avatar harshadk-sourcefuse avatar mlakdawala-sf avatar samarpan-b avatar shadab-sf avatar yeshamavani avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

nagarajuatti

j-arc's Issues

RND: Using Multiple Datasource in spring application

Is your feature request related to a problem? Please describe.
If there is scenario where we want some multiple datasource to be provided for some repositories/ or services.
I.e. if we want Auditing to happens at diff database and normal workflow should happen at diff database then for this scenario the multiple datasources will be needed

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Permission Check

Is your feature request related to a problem? Please describe.
Code level permission added and use cases are listed below.

Eg : 1. If user has VIEW_ANY_USER permission then then is no need to compare the tenantId with CurrentUser tenantId as user has any permission to view .
2.Similarly If user does not have VIEW_ANY_USER permission then it is require to compare the tenantId with CurrentUser tenantId as user should not be able to see other tenant data.

3.If user has UPDATE_TENANT permission then we check if the data is present against userId and TenantId ,
if yes we update the data else return the corresponding error,
Similarly if user has UPDATE_ANY_USER permission the there no need to check whether data is present against userId and TenantId because user can update any user.
4. Similarly more checks are added wherever required.

Describe the solution you'd like

Conclusion: Method level permission are 1st level check but these code level check are also required as explain above.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

RND on Creation OpenAPI md doc

Is your feature request related to a problem? Please describe.
We need open api md doc creation for readme

Describe the solution you'd like
Need to search for plugins which we can use to create openapi md doc

Describe alternatives you've considered

Additional context

user-tenant-services-sandbox example

Is your feature request related to a problem? Please describe.
User-Tenant-Services sandbox example created ,so that A consumer/user can easily access the Api's through swagger Open API.

Describe the solution you'd like
β€œThe OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.”

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Required changes in all services

Is your feature request related to a problem? Please describe.
Required changes in all services added for eg fields types changes in Model ,

  1. Enum ordinal values(integer) are getting store in Db hence change it to String type in Authentication service model.
  2. fields types changed from integer type to enum types where ever required.
  3. unnecessary componentScan in services and dependency removed

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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.