Class OMAGServerPlatform

java.lang.Object
org.odpi.openmetadata.platformchassis.springboot.OMAGServerPlatform

@SpringBootApplication(scanBasePackages="${scan.packages:org.odpi.openmetadata.*}") public class OMAGServerPlatform extends Object
OMAGServerPlatform provides the main program for the OMAG Server Platform.
  • Constructor Details

    • OMAGServerPlatform

      public OMAGServerPlatform()
  • Method Details

    • main

      public static void main(String[] args)
      Java main
      Parameters:
      args - program arguments used to override environment variables
    • getInitialize

      @Bean public org.springframework.beans.factory.InitializingBean getInitialize()
      Make adjustments to the local environment.
      Returns:
      bean
    • getRequestHeadersFilter

      @Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<HTTPRequestHeadersFilter> getRequestHeadersFilter()
      Initialization of HTTPRequestHeadersFilter. headerNames is a list of headers defined in application properties.
      Returns:
      bean of an initialized FilterRegistrationBean