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

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.
主站蜘蛛池模板: 仪陇县| 太仆寺旗| 利辛县| 奈曼旗| 东源县| 思茅市| 云林县| 杨浦区| 大悟县| 印江| 屏南县| 沙河市| 乐安县| 利川市| 湘潭县| 潢川县| 文登市| 阳东县| 广丰县| 白城市| 大连市| 东光县| 新河县| 巴马| 台南县| 闻喜县| 闻喜县| 浦北县| 临清市| 贡山| 缙云县| 东明县| 张家口市| 泗水县| 双江| 定陶县| 陕西省| 西华县| 个旧市| 湖口县| 乐昌市|