查看 ä¸ć–‡ć–‡ćˇŁ.
VRML is a set of common extension tools based on Java 8, designed to provide more robust and easy to use common tools to solve common problems in the workplace.
It provides monitoring metrics, logging components, network request agents, error code design specifications, alarms and event listening, and more.
VRML provides elegant and powerful solutions to the problems you might encounter in a common scenario in these jobs.
The usage environment is mainly integrated with Spring
, based on Spring to implement the mechanism of dynamic interface discovery, but also provides non-Spring custom configuration functions.
VRML is built primarily on the Spring
library (and other commonly used libraries), and the coding references the functional style of VAVR.
Because VRML provides a modular mechanism, you can easily refer to the functionality you need in your classpath, or import all using -all.
To stay up to date, Please follow the blog.
The core concept of VRML design is the same as Cloud-Runtimes API design concept.
That is, a set of unrelated APIs such as frame / platform / specific implementation is defined, and the interface is programmed, thereby obtaining better expansion and cross-platform characteristics.
Compared to the Cloud-Runtimes-API language-independent design idea, VRML is mainly designed for JVM programming language, so in the API design combines Java characteristics and Spring's usage.
The concept of API programming determines: VRML can be integrated in different platforms, different framework systems, you can enjoy the feature of Write, Run Anywhere
.
Please refer to VRML-CloudRuntimes
Combine the VRML API with the Cloud-Runtimes API:
- Ability to implement VRML Config by Cloud-Runtimes Config
- Ability to implement VRML RPC by Cloud-Runtimes RPC
- ...
This way, you can use VRML's capabilities on any Cloud-Runtimes support, for example:
- CAPA
- Layotto
- DAPR
- ...
You can implement the VRML API directly using the specific platform / framework system.
This allows you to use VRML in a specific platform / frame system.
An alert API that supports multiple methods for vrml library
A Aspect to log request process for vrml library
The adaptor of statistical triggering, and different Runnable operations can be performed based on statistical indicators.
It encapsulates Spring's Bean operations and provides some basic tools such as: safe log printing, mark annotations, etc.
A common data structure extension API for vrml library
A set of error code definition specifications for vrml library
A publish event API for vrml library
Other auxiliary tools library
Operation encapsulation of Java JMX.
A API to log by the key for vrml library
A API to record application's metrics data for vrml library
Maven related operation tool class.
Netty helper utils for vrml library
Reactor Reactive library extension tool set.
Java reflection extension toolset.
A proxy API to wrap remote request with log/record/check/... for vrml library
Java File utils for vrml library
JVM Shutdown extension tool set.
Java SPI utils for vrml library
Extended Stop Watch execution monitor.
Different Runnable can be executed conveniently according to the switches configuration, avoiding a lot of if-else switches logic.
A time API with timezone/cron for vrml library
An extended toolset for the Tomcat container.
A api of MDC/MAP traces for vrml library
You can import all vrml modules:
<dependency>
<groupId>group.rxcloud</groupId>
<artifactId>vrml</artifactId>
<version>1.1.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Latest feature branch:
<dependency>
<groupId>group.rxcloud</groupId>
<artifactId>vrml</artifactId>
<version>1.1.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
A small number of users have reported problems building vrml. Read our contribution guide for details.