public void deployEndpoints() throws IOException {
  if (log != null) {
    log.info("API Gateway deployment is being initialized.");
  }
  List<Resource> resources=getResources();
  if (log != null) {
    log.info(resources.size() + " resources found in JAR File.");
  }
  createOrUpdateApi();
  walkThroughResources(resources);
  createDeployment();
}

public void deployEndpoints ( ) throws IOException { if ( log != null ) { log . info ( "API Gateway deployment is being initialized." ) ; } List < Resource > resources = getResources ( ) ; if ( log != null ) { log . info ( resources . size ( ) + " resources found in JAR File." ) ; } createOrUpdateApi ( ) ; walkThroughResources ( resources ) ; createDeployment ( ) ; }
this method scans the compiled jar package for jax - rs annotations and create api gateway endpoints .
