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

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.
主站蜘蛛池模板: 常德市| 甘德县| 福海县| 民勤县| 克拉玛依市| 苗栗市| 四川省| 周宁县| 探索| 喜德县| 故城县| 静海县| 分宜县| 绿春县| 北安市| 基隆市| 钟山县| 舟山市| 潢川县| 汉沽区| 隆昌县| 丰都县| 乳山市| 托克逊县| 桑植县| 永清县| 屯门区| 阿拉善盟| 阳朔县| 高陵县| 富宁县| 南华县| 忻城县| 鹤壁市| 洞头县| 来安县| 文化| 江达县| 峡江县| 昌平区| 肇庆市|