Coder Social home page Coder Social logo

gcm's Introduction

gcm(incubator)

Google Guice component management System!

gcm is an acronym for Guice Component Management, which is used to simplify various service components based on the Guice container. It allows you to quickly use certain components without having to write the logic of certain components. It is just a set of Bridges integrated into the Guice container, and the specific business implementation needs to be customized by users. It's easy to get started, it's quick, and it doesn't have too much redundancy, so you can inject it into an existing Guice container anytime, anywhere. Come and experience it!

Status

GitHub license GitHub issues GitHub forks GitHub stars

Fork me on Gitee Fork me on GitHub

How to compile?


use shell script:

./mvnw clean install package

if you skip test, please run:

./mvnw clean install package -DskipTests

check that the code is formatted correctly, please run:

./mvnw clean install checkstyle:check -DskipTests

check the code for code-level bugs, please run:

./mvnw clean install findbugs:check -DskipTests

How to use code style by IntelliJ IDEA?


  • Open IntelliJ IDEA to select the top Preferences.. or use the shortcut Command + ,
  • Select Editor --> Code Style in turn
  • Select Scheme --> Import Scheme --> IntelliJ IDEA code style XML
  • Select the idea-code-style.xml file in the project root directory

gcm's People

Contributors

24kgarry avatar qianmoq avatar why198852 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gcm's Issues

Feature request for Support security on netty component

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
Can the permission management framework be incorporated into the netty component?

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.

Bug report for Page does not support static file rendering On Netty

Describe the bug
Page does not support static file rendering

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component (please set component name):

  • Component: [e.g. Netty]
  • Version [e.g. 1.0.2]

Additional context
Add any other context about the problem here.

Bug report for Parameter does not support enumeration On Netty

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component (please set component name):

  • Component: [e.g. Netty]
  • Version [e.g. 1.0.2]

Additional context
Add any other context about the problem here.

Bug report for client request parameters cannot be obtained On netty

Describe the bug
When the back-end restcontroller contains two parameters, requestparam and requestbody, all parameters cannot be resolved

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component (please set component name):

  • Component: Netty
  • Version: >= 1.0.7

Additional context
Add any other context about the problem here.

Bug report for Nested subclasses cannot be resolved On Netty

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component (please set component name):

  • Component: [e.g. Netty]
  • Version [e.g. 1.0.2]

Additional context
Add any other context about the problem here.

Release notes for 1.2.0

Release time

2021-05-07

Components involved

  • Netty
  • Kafka

Check list

  • Fix return garbled code in Chinese
  • Fix unable to jump because of multiple requests on the same path
  • Support quartz component
  • Refactoring component directory
  • Support kafka component
  • Support static file rendering

Release notes for 1.1.0

Release time

2021-04-09

Components involved

  • e.g: Netty

Check list

  • Netty
  • Common
  • General
  • Presto
  • ClickHouse

Dao layer optimization

Is your feature request related to a problem? Please describe.
Now we need to add one by one to write the mapper class, which consumes a lot of times. Can we do a function similar to 'mybatis-plus'

Support bean validate feature

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

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.

Feature request for support default value

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

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.

Release notes for 1.0.9

Release time

2021-03-21

Components involved

  • Netty
  • Common
  • ClickHouse
  • Postgres

Check list

Commons chages

  • Classs support scan in jar file
  • Add maven install script
  • Support elasticsearch by api
  • Support hive

Netty changes

  • Fix that the program cannot start when the specified controller package is empty
  • Fix the scan error of non externally provided method in controller
  • Fix path is not specified / prefix makes path unrecognized
  • Fixed that the service could not scan the specified controller when using compressed packages
  • Fix that the view did not pass parameters, causing the service to fail to resolve

Postgres changes

  • Add @PostgresSource annotation

ClickHouse changes

  • Add @ClickHouseSource annotation

Docs changes

  • Add elasticsearch docs
  • Add hive doc

Example changes

  • Add elasticsearch example
  • Add hive example
  • Add zookeeper example

The same controller, the same method and the same function name cannot be recognized

@GetMapping(value = "/api/dataset/scheduler/list")
public ReturnMsg getList(
@RequestParam(value = "page", defaultValue = "1") Integer page,
@RequestParam(value = "size", defaultValue = "1") Integer size,
@RequestParam(value = "q", defaultValue = "") String q,
@RequestParam(value = "status", defaultValue = "") String status,
@RequestParam(value = "app_names", defaultValue = "") String appNames,
@RequestParam(value = "engine_names", defaultValue = "") String engineNames,
@RequestParam(value = "run_status", defaultValue = "") String lastRunStatus,
@RequestParam(value = "failed_type", defaultValue = "") String failedType,
@RequestParam(value = "user_name", defaultValue = "") String userName,
@RequestParam(value = "start_time", defaultValue = "") String startTime,
@RequestParam(value = "end_time", defaultValue = "") String endTime
) {}

@GetMapping(value = "/api/dataset/scheduler/detail")
public ReturnMsg getList(@RequestParam(value = "schedulerId", defaultValue = "0") Integer schedulerId){}

Bug report for Error message oversimplification On netty

Describe the bug
The error message is too simplified to check the specific error message.

To Reproduce
Steps to reproduce the behavior:

  1. Access a nonexistent routing address

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Component (please set component name):

  • Component: Netty
  • Version: <=1.0.7

Additional context
Add any other context about the problem here.

Bug report for @RequestBody On Netty

Describe the bug
The @RequestBody API interface is not specified and cannot be used.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component (please set component name):

  • Component: [e.g. Netty]
  • Version [e.g. 1.0.2]

Additional context
Add any other context about the problem here.

Support test case for mysql 'transaction'

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

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.

Bug report for @RestController On netty component

Describe the bug
To use @RestController, you must add @ResponseBody to the method with the specified address, otherwise the connection will be unavailable

To Reproduce
Steps to reproduce the behavior:

  1. java class
    @GetMapping(value = {"/api/test/mapping/get"})
    public String getMapping(@RequestParam(value = "value") String value)
    {
        return String.format("This is @GetMapping test case, value %s", value);
    }
  1. See error
> $ curl -X GET 'http://localhost:8080/api/test/mapping/post?value=123'

Expected behavior
return "This is @PostMapping test case, value 123"%

Component (please set component name):

  • Component: netty
  • Version 1.0.6

Add more basic methods to manipulate redis key/value

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
Add method like RedisClient.get(String key) String to get value for key.
Add method like RedisClient.set(String key, String value) to overwrite/set value for key.
Add method like RedisClient.expire(String key) to set expiration for key.
Add method like RedisClient.persist(String key) to persist key.
Add method like RedisClient.ttl(String key) Long to get ttl of key.

Describe alternatives you've considered
No.

Additional context
No.

Feature request for support view on netty

Is your feature request related to a problem? Please describe.
Can view rendering be supported in netty framework?

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

Describe alternatives you've considered
It is similar to @Controller annotation function in springmvc

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

Support hologres query

Is your feature request related to a problem? Please describe.
We need to query hologres. Can we add the function of supporting hologres data source?

Release notes for 1.0.8

Release time

2021-02-28

Components involved

  • Netty

Check list

  • Rebuilding object based routing buffer
  • Refactoring the parsing method of client request parameters
  • Fix new String(byte[]) DM_DEFAULT_ENCODING
  • Fix ParameterDispatcher file conflict
  • Fix @PathVariable not working issues-24
  • Support freemaker based view issues-19
  • Rename PathHandler to HttpPathHandler
  • Fix Error message oversimplification On netty issues-22

Bug report for Detailed error not returned after interface error On Netty

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component (please set component name):

  • Component: [e.g. Netty]
  • Version [e.g. 1.0.2]

Additional context
Add any other context about the problem here.

Bug report for @PathVariable not working on netty

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component (please set component name):

  • Component: Netty
  • Version: >= 1.0.7

Additional context
Add any other context about the problem 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.