Internal Email Finder Provider
Current API implementation uses dropwizard framework. Follow these instructions to start the API services
- mvn clean package (to build the fat jar) - This produces a fat jar XXXX-executable.jar
- from the api directory,run "java -Dorg.jboss.logging.provider=slf4j -jar target/dfiefp-x.0-SNAPSHOT-executable.jar server src/main/resources/api-config.yaml"
To run from eclipse, set up the following run configuration:
- Project: dfiefp
- Main class: com.demandforce.api.spring.common.SpringService
- Include system libraries when searching for a main class
- Program arguments: server src/main/resources/api-config.yaml
- VM arguments: -Dorg.jboss.logging.provider=slf4j -Ddw.http.port=8080 -Ddw.http.adminPort=8081
To run the services on different ports other than 8080 and 8081(for admin), run the java process with following port config -Ddw.http.port=9090 -Ddw.http.adminPort=9091.