- Hands-On Microservices:Monitoring and Testing
- Dinesh Rajput
- 187字
- 2021-06-24 18:24:26
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."
- 面向物聯(lián)網(wǎng)的CC2530與傳感器應(yīng)用開(kāi)發(fā)
- 物聯(lián)網(wǎng)短距離無(wú)線通信技術(shù)應(yīng)用與開(kāi)發(fā)
- GPS/GNSS原理與應(yīng)用(第3版)
- Force.com Development Blueprints
- HCNA網(wǎng)絡(luò)技術(shù)
- 智慧城市中的移動(dòng)互聯(lián)網(wǎng)技術(shù)
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見(jiàn):2014年中國(guó)互聯(lián)網(wǎng)安全大會(huì)文集
- React:Cross-Platform Application Development with React Native
- 2018網(wǎng)信發(fā)展報(bào)告
- IPv6網(wǎng)絡(luò)切片:使能千行百業(yè)新體驗(yàn)
- 面向5G-Advanced的關(guān)鍵技術(shù)
- 物聯(lián)網(wǎng)工程概論
- 設(shè)備監(jiān)控技術(shù)詳解
- 中國(guó)互聯(lián)網(wǎng)發(fā)展報(bào)告2021
- Professional Scala