<parent>
<groupId>org.onap.dcaegen2.services.components</groupId>
<artifactId>datalake-handler</artifactId>
- <version>1.2.0-SNAPSHOT</version>
+ <version>1.1.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.dcaegen2.services.components.datalake-handler</groupId>
<artifactId>des</artifactId>
<packaging>jar</packaging>
- <name>DataLake Exposure Service</name>
+ <name>DataLake Extraction Service</name>
<properties>
<swagger.version>2.9.2</swagger.version>
<dependency>
<groupId>org.onap.dcaegen2.services.components.datalake-handler</groupId>
<artifactId>feeder</artifactId>
+ <version>${project.version}</version>
</dependency>
</dependencies>
String query = sub.replace(sqlTemplate);
log.info("Going to start Datalake Data Exposure Service ... query=" + query);
// https://prestodb.io/docs/current/installation/jdbc.html
- String url = String.format("jdbc:presto://dl-presto:8080/%s/%s", dataExposure.getDb().getPrestoCatalog(),
+ String url = String.format("jdbc:presto://dl-presto:8080/%s/%s", dataExposure.getDb().getHost(),
dataExposure.getDb().getDatabase());
Properties properties = new Properties();
properties.setProperty("user", "test");
<build>
<plugins>
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ <configuration>
+ <classifier>exec</classifier>
+ </configuration>
+ </plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<module>feeder</module>
<module>admin</module>
<module>collector</module>
+ <module>des</module>
</modules>
<properties>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
+ </plugin>
+
</plugins>
</build>