NextGen APIs

Integration API project used as a standalone custom project

If you decide to use the Integration API as a standalone custom project, you need to

  1. configure dependencies → insert integration-api-rest.boot-parent (as parent) and integration-api-rest.boot-starter dependencies into your project's pom, like the following:

XML
    <parent>
        <groupId>com.overit.integration</groupId>
        <artifactId>integration-api-rest.boot-parent</artifactId>
        <version>0.1-SNAPSHOT</version>
    </parent>
    .
    .
    .
      <dependencies>
        <dependency>
            <groupId>com.overit.integration</groupId>
            <artifactId>integration-api-rest.boot-starter</artifactId>
        </dependency>
    </dependencies>
  1. configure Server port and context-path in this case boot-starter is imported so default configurations are used; to override them create your own application.yml file by writing the properties you want to modify.

    YAML
    server:
      port: xxxx
      servlet:
        contextPath: /yourContext
    
  2. configure setup.properties configure the following:

Setup.Properties