GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - apache/servicecomb-java-chassis: 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

BranchesTags
Open more actions menu

Latest commit

 

History

4,669 Commits
4,669 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
ci
ci
 
 
clients
clients
 
 
common
common
 
 
core
core
 
 
coverage-reports
coverage-reports
 
 
demo
demo
 
 
dependencies
dependencies
 
 
distribution
distribution
 
 
dynamic-config
dynamic-config
 
 
edge
edge
 
 
etc
etc
 
 
foundations
foundations
 
 
governance
governance
 
 
handlers
handlers
 
 
huawei-cloud
huawei-cloud
 
 
metrics
metrics
 
 
parents
parents
 
 
providers
providers
 
 
samples
samples
 
 
service-registry
service-registry
 
 
solutions
solutions
 
 
spring-boot
spring-boot
 
 
swagger
swagger
 
 
tracing
tracing
 
 
transports
transports
 
 
.gitignore
.gitignore
 
 
.typos.toml
.typos.toml
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
README_ZH.md
README_ZH.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Java Chassis 中文 Maven Central License

Apache 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.

If you find this project helpful, please don't forget to star it.

releases

Release Train Latest Version Compiled JDK Version Tested JDK Version Open API Notes
Java Chassis 3 3.3.0 OpenJDK 17 OpenJDK 17 3.0.x Depends on Spring Boot 3
Java Chassis 2 2.8.24 OpenJDK 8 OpenJDK 8, 11, 17 2.0.x Depends on Spring 5
Java Chassis 1 1.3.11 OpenJDK 8 OpenJDK 8 2.0.x End of Support

Java Chassis core dependencies

Java Chassis Spring Boot Vert.x Swagger Jackson
3.3.x 3.4.x 4.5.x 2.2.x 2.18.x
3.2.x 3.3.x 4.5.x 2.2.x 2.18.x

NOTICE: Since Open API 3.0.x is not compatible with 2.0.x, Java Chassis 2 and Java Chassis 1 can not work together with Java Chassis 3. All related consumers, providers and edge service need use Java Chassis 3 when upgrading.

NOTICE: Java Chassis 1 reached its end of support now after it's first release from 2018.

Quick Start

  • Define API
@RequestMapping(path = "/provider")
public interface ProviderService {
  @GetMapping("/sayHello")
  String sayHello(@RequestParam("name") String name);
}
  • Provider service
@RestSchema(schemaId = "ProviderController", schemaInterface = ProviderService.class)
public class ProviderController implements ProviderService {
  @Override
  public String sayHello(String name) {
    return "Hello " + name;
  }
}
  • Consumer service
@Configuration
public class ProviderServiceConfiguration {
  @Bean
  public ProviderService providerService() {
    return Invoker.createProxy("provider", "ProviderController", ProviderService.class);
  }
}

Invoke Provider service with RPC

@RestSchema(schemaId = "ConsumerController", schemaInterface = ConsumerService.class)
public class ConsumerController implements ConsumerService {
  private ProviderService providerService;

  @Autowired
  public void setProviderService(ProviderService providerService) {
    this.providerService = providerService;
  }

  @Override
  public String sayHello(String name) {
    return providerService.sayHello(name);
  }
}

Try out this example here .

Documentation

Project documentation is available on the ServiceComb Java Chassis Developer Guide.

Building

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

  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 list: subscribe dev

Contributing

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

License

Licensed under an Apache 2.0 license.

About

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

Topics

servicecomb

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

1.9k stars

Watchers

130 watching

Forks

811 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.