Class AppMarketPlaceServiceApplication

java.lang.Object
com.skava.marketplace.AppMarketPlaceServiceApplication

@RestController @RequestMapping("/") @SpringBootApplication(scanBasePackages="com.skava,com.skava.marketplace") @PropertySource(value="classpath:swagger-docs.yml", factory=com.skava.core.yaml.YamlPropertySourceFactory.class) public class AppMarketPlaceServiceApplication extends Object
This class used to start a App Marketplace Service 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 Details

    • AppMarketPlaceServiceApplication

      public AppMarketPlaceServiceApplication()
  • Method Details

    • textEncryptor

      @Lazy @Bean public org.springframework.security.crypto.encrypt.TextEncryptor textEncryptor()
      Returns:
      DefaultTextEncryptorImpl
    • main

      public static void main(String[] args)
    • openApi

      @Lazy @Bean public io.swagger.v3.oas.models.OpenAPI openApi()
      Swagger Configuration
      Returns:
      Docket object
      See Also:
      • A builder which is intended to be the primary interface into the Springfox framework
    • splitCommaSepratedString

      public static List<String> splitCommaSepratedString(String commaSepratedString)
    • customize

      @Lazy @Bean public org.springdoc.core.customizers.OperationCustomizer customize()