Git Product home page Git Product logo

lihua8712051 / servicecomb-java-chassis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/servicecomb-java-chassis

0.0 2.0 0.0 4.56 MB

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

License: Apache License 2.0

Java 99.89% Python 0.05% Shell 0.06%

servicecomb-java-chassis's Introduction

Java Chassis Build StatusCoverage Status

Maven Central License

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 -Pit

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

  mvn clean install -Pdocker -Pit -Pdocker-machine

Contact

Bugs: issues

mailing lists: users , developers

Contributing

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

Reporting Issues

See reporting bugs for details about reporting any issues.

servicecomb-java-chassis's People

Contributors

wujimin avatar seanyinx avatar willemjiang avatar liubao68 avatar eric-lee-ltk avatar asifdxtreme avatar acsukesh avatar tanktian avatar zhuhoudong avatar aseto2016 avatar mabingo avatar yhs0092 avatar wldandan avatar yhj7727 avatar weichao666 avatar qiuxd avatar coolhongluo avatar aifeng1214 avatar jasononion avatar kangfoo avatar laijianbin avatar linshihang avatar lvtaoleo avatar m20082008m avatar newlightdd avatar oenpig avatar shengzhang90 avatar smilemusic avatar xiearthur avatar xieyunmeng avatar

Watchers

James Cloos avatar  avatar

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.