minjing / uapi Goto Github PK
View Code? Open in Web Editor NEWThe UAPI Project
License: GNU General Public License v3.0
The UAPI Project
License: GNU General Public License v3.0
Check Netty documentation to see how to provide HTTP service.
Add java doc for all interfaces
Normally the service has a lifecycle: resolved, satisfied, initialized, destroyed.
It help to find performance issue easily if add support monitor service method invocation time.
Rewrite old unit tests by Spock
Fix issues which were found in https://www.codacy.com/app/min_jing/uapi
Currently load external services is in Repository.start method and it is invoked only once, the behavior is not good, since if some services are added after start method is invoked then the unresolved dependency can't be loaded by external service loader, it is better that load external service dynamically
Define a service by Java ServiceLoader, the service be able to define its dependencies.
In default, all service are lazy initialized which mean they are initialized when first use, but some service need to initialize at launch time.
Test case for annotation based code generation
Only support below command line option:
The branch named - feature/restful-refactor
Some services use resources to achieve some functionality, for these services we need to provide some methods like onInit, onUnload to make these services can apply resources and free resources when system shut down.
If the service declare Inject annotation in a field but it does not declare a Service annotation, the annotation build will fail.
Currently the generated service name construct by extended service class name plus a "_Generated" postfix, it is not good enough, the suggestion is:
The framework can inject the dependencies by service's setter method.
If the dependency does not satisfy, a run-time exception will be thrown out, the launch process should be end.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.