Relation Example - https://www.openstreetmap.org/relation/7237808#map=8/28.623/77.775
Use - https://overpass-turbo.eu/ to convert
Query to run
[out:json][timeout:25];
Relation Example - https://www.openstreetmap.org/relation/7237808#map=8/28.623/77.775
Use - https://overpass-turbo.eu/ to convert
Query to run
[out:json][timeout:25];
MySQL Local Setup in MAC
brew install mysql
mysql
$(brew --prefix mysql)/bin/mysqladmin -u root password root
mysql -h localhost -P 3306 -u root -p (Enter password as root to login)
version : '3' | |
services: | |
mysql: | |
image: mysql | |
command: --default-authentication-plugin=mysql_native_password | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
ports: | |
- "3306:3306" | |
volumes: |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>2.5</version> | |
<configuration> |
import org.junit.jupiter.api.BeforeEach; | |
import org.junit.jupiter.api.Test; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; | |
import org.springframework.boot.test.context.SpringBootTest; | |
import org.springframework.boot.test.mock.mockito.MockBean; | |
import org.springframework.security.test.context.support.WithMockUser; | |
import org.springframework.test.web.servlet.MockMvc; | |
import org.springframework.test.web.servlet.setup.MockMvcBuilders; | |
import org.springframework.web.context.WebApplicationContext; |
@JsonFilter("userFilter") | |
public class User { | |
private Integer id; | |
private String name; | |
private Date dob; | |
private String city; | |
// constructors, getters & setters are ignored | |
} |