Package com.skava
Class NotificationApplication
java.lang.Object
com.skava.NotificationApplication
@EntityScan(basePackages={"com.skava","${spring.additionalPackages.scan}"})
@SpringBootApplication(scanBasePackages="com.skava,${spring.additionalPackages.scan}")
@RestController
@RequestMapping
@PropertySources(@PropertySource(value={"classpath:swagger-docs.yml","${spring.additonal-swagger-doc.ymls}"},factory=com.skava.core.yaml.YamlPropertySourceFactory.class))
public class NotificationApplication
extends Object
The Class NotificationApplication.
This class used to start a Notification MS as a spring boot application and also hold the configuration for
swagger document generation with the help of spring fox.
Starting point of the application.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationApplication
(com.skava.core.configuration.SwaggerGlobalParameters globalParamProps, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties) Instantiates a new notification application. -
Method Summary
-
Constructor Details
-
NotificationApplication
@Autowired public NotificationApplication(com.skava.core.configuration.SwaggerGlobalParameters globalParamProps, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties) Instantiates a new notification application.- Parameters:
globalParamProps
- the global param propsspringDocConfigProperties
- the spring doc config properties
-
-
Method Details
-
main
The Accounts application Spring boot.- Parameters:
args
- the arguments
-
openApi
@Lazy @Bean public io.swagger.v3.oas.models.OpenAPI openApi()Api.- Returns:
- the docket
-
customize
@Lazy @Bean public org.springdoc.core.customizers.OperationCustomizer customize() -
splitCommaSepratedString
-