官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "As you can see, the service name is account-service, and it will run on port 1111."

A block of code is set as follows:

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

@Service
public class AccountServiceImpl implements AccountService {
@Autowired
@LoadBalanced
RestTemplate restTemplate;

@HystrixCommand(fallbackMethod = "defaultAccount")
public Account findAccount(Integer accountId) {
return
restTemplate.getForObject("http://ACCOUNT-SERVICE/account/{accountId}", Account.class, accountId);
}

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "As you can see in the preceding screenshot, this is done by right-clicking on Test Plan and then selecting Add | Threads (Users) | Thread Group."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 武鸣县| 南丹县| 望谟县| 合山市| 宁海县| 抚顺市| 门头沟区| 乐东| 合作市| 凤冈县| 徐州市| 东城区| 大邑县| 郸城县| 松江区| 定边县| 灌南县| 韩城市| 鄂托克旗| 北碚区| 河源市| 西贡区| 炉霍县| 泽州县| 巴东县| 西乡县| 时尚| 安远县| 临高县| 准格尔旗| 潢川县| 陈巴尔虎旗| 公安县| 万宁市| 神农架林区| 都江堰市| 嘉鱼县| 陆良县| 广河县| 泸西县| 华蓥市|