Angular Handy Code Following components are involved in installing and using angular Node, npm(node packaging manager), ng(angular) Node – server (where over angular application deployed locally to run and test) NPM – Responsible to install angular and all other libraries, packages, and packaging deployment jar etc. 1. After installing node, npm in your machine to download and install angular we need Angular CLI tool, which will help us to create angular application Angular CLI (command line interface) is a tool to install which will create and run angular application. Below command will install angular in your local machine. Cmd: npm -g angular@cli 2. After installing angular we can use “ng” commands to create angular application and adding features through terminal - to create new application cmd: ng new <project name> - to create compon...
Interview Preparation Spring Boot 1. management.endpoints.web.exposure.include=httptrace When we work with microservices or web services in general, it's quite useful to know how our users interact with our services. This can be achieved by tracing all the requests that hit our services and collect this information to analyze it later. There some systems available out there that can help us with this and can be easily integrated with Spring like Zipkin . However, Spring Boot Actuator has this functionality built-in and can be used through its httpTrace endpoint which traces all HTTP requests. In this tutorial, we'll show how to use it and how to customize it to fit better our requirements. @Repository public class CustomTraceRepository implements HttpTraceRepository { “From above for tracing we can use zipkin server and spring boot actuator” 2. ...
Spring Boot Handy Code Notes from infybuzz tutorial 1. Spring Cloud - It is providing projects to quickly create micro services - Official website, https://spring.io/projects/spring-cloud 2. We learning following Spring cloud projects - Spring cloud web client (this will help in communicating between 2-different micro services without rest template in a programmatic way , for more details click here) - Spring cloud open feign (this will help in communicating between 2-different micro services without rest template in declarative way , for more details click here) - Spring cloud netfilx Eureka (this is service discover and registry s...
Comments
Post a Comment