2 Star 5 Fork 0

jianqiu_huang/vertx-in-action

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Build Status

Vert.x in Action book examples

👋 Welcome!

These are the working examples for Vert.x in Action (ISBN 9781617295621) from Manning Publications Co and written by Julien Ponge.

How to open and run the examples?

Readers of the book should directly open projects from subfolders: they are all independent.

You will find both Gradle and Maven build descriptors for each project, so you can load the projects with text editors or integrated development environments such as IntelliJ IDEA, Eclipse IDE or Microsoft Visual Studio Code.

As an example if you want to build the chapter 1 with Gradle, open a terminal and run:

$ cd chapter1
$ ./gradlew build

or with Maven run:

$ cd chapter1
$ mvn package

The book examples work best using some Unix environment: Linux, macOS or the Windows Subsystem for Linux from Microsoft.

What is the structure of the repository?

The following folders are available:

  • chapter1
  • chapter2
  • chapter3
  • chapter4
  • chapter5
  • chapter6
  • part2-steps-challenge (covers chapters 7 to 12)
  • chapter13

The master branch is where you must look for working examples.

Chapter 12 provides variants of the same code which you can get from the following branches:

  • chapter12/public-api-with-timeouts
  • chapter12/public-api-with-circuit-breaker
  • chapter12/public-api-with-circuit-breaker-and-timeouts

Will there be updates?

The book went to production with Manning in August 2020.

This repository contains samples against Eclipse Vert.x 4.0.3 (see tag vertx-4.0.3) that was released in March 2021.

At my own discretion I may update to newer versions of Vert.x when they are published.

Note that the Vert.x core team has made a goal of ensuring that Vert.x 4.0.3 will work against all examples in this repository.

Can I contribute?

Due to the nature of this project I will not accept any contribution to this repository.

What if I have a question / issue?

If you are a Manning customer then you have access to forums. Please refer to Vert.x in Action on the Manning website where a link to the forum is provided.

If you have a question on Vert.x then please get in touch with the Eclipse Vert.x community. There are several channels that you can use including public mailing-lists and chat.

If you have a problem with your book order or any special request, then please contact Manning.

Errata

November 2020

Due to a peculiarities in how TestContainers supports Docker Compose it may be necessary to explicitly await for containers to be exposed, or test executions can sometimes fail because a container port hasn't been exposed yet.

This can be done by calling the withExposedService method on a DockerComposeContainer instance, as in:

@Container
private static final DockerComposeContainer CONTAINERS = new DockerComposeContainer(new File("../docker-compose.yml"))
  .withExposedService("mongo_1", 27017);

This fix has been applied to the tests in part2-steps-challenge.

MIT License Copyright (c) 2018 - 2020 Julien Ponge for Manning Publications Co. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Vert.x in Action book examples 展开 收起
MIT
取消

发行版

暂无发行版

贡献者 (3)

全部

近期动态

接近4年前创建了仓库
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jianqiu_huang/vertx-in-action.git
git@gitee.com:jianqiu_huang/vertx-in-action.git
jianqiu_huang
vertx-in-action
vertx-in-action
master

搜索帮助