Cut the release of java-chassis 0.1.0-m1
72 files changed
tree: bb27e7351cb7b556392798d65fcf227e2acbd028
  1. common-javassist/
  2. common-protobuf/
  3. common-rest/
  4. core/
  5. demo/
  6. etc/
  7. foundation-common/
  8. foundation-config/
  9. foundation-metrics/
  10. foundation-ssl/
  11. foundation-vertx/
  12. handler-bizkeeper/
  13. handler-flowcontrol-qps/
  14. handler-loadbalance/
  15. integration-tests/
  16. java-chassis-dependencies/
  17. java-chassis-distribution/
  18. parent/
  19. provider-jaxrs/
  20. provider-pojo/
  21. provider-rest-common/
  22. provider-springmvc/
  23. scripts/
  24. service-registry/
  25. spring-boot-starter/
  26. swagger/
  27. transport-grpc/
  28. transport-highway/
  29. transport-rest/
  30. .gitignore
  31. .travis.settings.xml
  32. .travis.yml
  33. LICENSE
  34. NOTICE
  35. pom.xml
  36. README.md
README.md

Java Chassis Build StatusCoverage Status

ServiceComb Java Chassis is a Software Development Kit (SDK) for rapid development of microservices in Java, providing service registration, service discovery, dynamic routing, and service management features

Quick Start

Provider service:

import io.servicecomb.*;
@RpcSchema(schemaId = "helloworld")
public class HelloWorldProvider implements HelloWorld {
    public String sayHello(String name) {
        return "Hello " + name;
    }
}

Consumer service:

import io.servicecomb.*;
@Component
public class HelloWorldConsumer  {
	@RpcReference(microserviceName = "pojo", schemaId = "helloworld")
	private static HelloWorld helloWorld;

	public static void main(String[] args) {
		helloWorld.sayHello("Tank");
	}
}

Documentation

Project documentation is available on the ServiceComb website.

Building

You don’t need to build from source to use Java Chassis (binaries in repo.servicecomb.io), but if you want to try out the latest and greatest, Java Chassis can be easily built with the maven. You also need JDK 1.8.

  mvn clean install

The first build may take a longer than expected as Maven downloads all the dependencies.

Automated Testing

To build the docker image and run the integration tests with docker, you can use maven docker profile

  mvn clean install -Pdocker

If you are using docker machine, please use the following command

  mvn clean install -Pdocker -Pdocker-machine

Contact

Mailing list:

Planning/Roadmap: milestones, roadmap

Bugs: issues

Contributing

See CONTRIBUTING for details on submitting patches and the contribution workflow.

Reporting Issues

See reporting bugs for details about reporting any issues.