This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.auth.repository; | |
| import org.springframework.data.repository.CrudRepository; | |
| import org.springframework.stereotype.Repository; | |
| import com.thinkmicroservices.ri.spring.auth.repository.model.Role; | |
| /** | |
| * | |
| * @author cwoodward | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.auth.service; | |
| import lombok.extern.slf4j.Slf4j; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.http.ResponseEntity; | |
| import org.springframework.stereotype.Component; | |
| import org.springframework.web.client.RestTemplate; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ####################### | |
| # RABBIT MQ Messaging # | |
| ####################### | |
| rabbitmq: | |
| image: rabbitmq:3.5.3-management | |
| ports: | |
| - 5672:5672 | |
| - 15672:15672 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-parent</artifactId> | |
| <version>2.1.8.RELEASE</version> | |
| <relativePath/> | |
| </parent> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.email.outbound; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.annotation.Profile; | |
| import springfox.documentation.builders.ApiInfoBuilder; | |
| import springfox.documentation.builders.RequestHandlerSelectors; | |
| import springfox.documentation.service.ApiInfo; | |
| import springfox.documentation.spi.DocumentationType; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.email.outbound.i18n; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.Locale; | |
| import javax.servlet.http.HttpServletRequest; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.support.ResourceBundleMessageSource; | |
| import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.auth.i18n; | |
| import java.util.Locale; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.context.i18n.LocaleContextHolder; | |
| import org.springframework.context.support.ResourceBundleMessageSource; | |
| import org.springframework.stereotype.Component; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.email.outbound.model; | |
| import lombok.Data; | |
| @Data | |
| /** | |
| * | |
| * @author cwoodward | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.email.outbound.model; | |
| import java.util.List; | |
| import lombok.Data; | |
| import lombok.NoArgsConstructor; | |
| /** | |
| * | |
| * @author cwoodward |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.thinkmicroservices.ri.spring.email.outbound.service; | |
| import java.util.List; | |
| /** | |
| * | |
| * @author cwoodward | |
| */ | |
| public interface OutboundEmailClientService { |