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

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.
主站蜘蛛池模板: 苍南县| 皋兰县| 盈江县| 郑州市| 抚松县| 贺州市| 绥化市| 平安县| 阜城县| 灵宝市| 临海市| 育儿| 保山市| 德保县| 巴彦县| 内乡县| 乾安县| 杭锦旗| 留坝县| 黑河市| 和林格尔县| 儋州市| 西吉县| 枞阳县| 汉阴县| 尚志市| 开封市| 乌拉特前旗| 长治市| 若羌县| 牡丹江市| 陆河县| 修水县| 合川市| 称多县| 宜良县| 安丘市| 海淀区| 蓝田县| 西安市| 辽阳市|