Skip to content

Commit

Permalink
HERE Data SDK for Java & Scala Release 2.72.4
Browse files Browse the repository at this point in the history
  • Loading branch information
heremaps-bot authored and heremaps-bot committed Feb 26, 2025
1 parent 1ba15f0 commit ee33a6d
Show file tree
Hide file tree
Showing 47 changed files with 196 additions and 169 deletions.
7 changes: 3 additions & 4 deletions data-archive/java/avro-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ needed for a local run of the archiving application.
Execute the following command in the [`avro-example`](../avro-example) directory to run the Avro Archiving Application:

```bash
mvn compile exec:java \
-Dexec.mainClass=com.here.platform.data.archive.example.Main \
-Padd-dependencies-for-local-run
mvn compile exec:exec \
-Dexec.args="-cp %classpath com.here.platform.data.archive.example.Main" -Padd-dependencies-for-local-run
```

At a certain point after start, the application pauses and waits for you to ingest data you want to archive.
Expand Down Expand Up @@ -446,7 +445,7 @@ Use the [`olp pipeline template create`](https://developer.here.com/documentatio

```bash
olp pipeline template create avro-pipeline-template \
stream-5.0 \
stream-6.0 \
$PATH_TO_JAR \
com.here.platform.dal.DALMain \
--input-catalog-ids=source \
Expand Down
40 changes: 18 additions & 22 deletions data-archive/java/avro-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.here.platform.data.archive</groupId>
<artifactId>data-archive-avro-example</artifactId>
<version>0.0.934</version>
<version>0.0.938</version>
<packaging>jar</packaging>

<!-- Meta information section start -->
Expand All @@ -23,15 +23,17 @@
<connection>scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git</connection>
<developerConnection>scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git</developerConnection>
<url>https://github.com/heremaps/here-workspace-examples-java-scala</url>
<tag>2.71.8</tag>
<tag>2.72.4</tag>
</scm>

<!-- Meta information section end -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<exec.classpathScope>compile</exec.classpathScope>
<exec.executable>java</exec.executable>

<sdk-bom.version>2.71.8</sdk-bom.version>
<sdk-bom.version>2.72.4</sdk-bom.version>
<scala.compat.version>2.12</scala.compat.version>
<artifact.wagon.version>2.0.24</artifact.wagon.version>

Expand Down Expand Up @@ -218,14 +220,19 @@
<profile>
<id>add-dependencies-for-local-run</id>
<dependencies>
<dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-core</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.compat.version}</artifactId>
<artifactId>flink-runtime</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-7</artifactId>
<artifactId>flink-shaded-asm-9</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -240,7 +247,7 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-optimizer_${scala.compat.version}</artifactId>
<artifactId>flink-optimizer</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -268,11 +275,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-core</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
Expand All @@ -285,12 +287,12 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_${scala.compat.version}</artifactId>
<artifactId>flink-streaming-java</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients_${scala.compat.version}</artifactId>
<artifactId>flink-clients</artifactId>
<scope>compile</scope>
</dependency>
<!-- The following dependencies are added to this profile to address the following-->
Expand All @@ -300,12 +302,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.typesafe</groupId>
<artifactId>config</artifactId>
Expand Down

This file was deleted.

14 changes: 14 additions & 0 deletions data-archive/java/avro-example/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<configuration>

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%date{HH:mm:ss.SSS} %-5p %-60c - %m%n</pattern>
</encoder>
</appender>

<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
7 changes: 3 additions & 4 deletions data-archive/java/parquet-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ needed for a local run of the archiving application.
Execute the following command in the [`parquet-example`](../parquet-example) directory to run the Parquet Archiving Application:

```bash
mvn compile exec:java \
-Dexec.mainClass=com.here.platform.data.archive.example.Main \
-Padd-dependencies-for-local-run
mvn compile exec:exec \
-Dexec.args="-cp %classpath com.here.platform.data.archive.example.Main" -Padd-dependencies-for-local-run
```

At a certain point after start, the application pauses and waits for you to ingest data you want to archive.
Expand Down Expand Up @@ -457,7 +456,7 @@ Use the [`olp pipeline template create`](https://developer.here.com/documentatio

```bash
olp pipeline template create parquet-pipeline-template \
stream-5.0 \
stream-6.0 \
$PATH_TO_JAR \
com.here.platform.dal.DALMain \
--input-catalog-ids=source \
Expand Down
25 changes: 10 additions & 15 deletions data-archive/java/parquet-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.here.platform.data.archive</groupId>
<artifactId>data-archive-parquet-example</artifactId>
<version>0.0.934</version>
<version>0.0.938</version>
<packaging>jar</packaging>

<!-- Meta information section start -->
Expand All @@ -23,15 +23,17 @@
<connection>scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git</connection>
<developerConnection>scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git</developerConnection>
<url>https://github.com/heremaps/here-workspace-examples-java-scala</url>
<tag>2.71.8</tag>
<tag>2.72.4</tag>
</scm>

<!-- Meta information section end -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<exec.classpathScope>compile</exec.classpathScope>
<exec.executable>java</exec.executable>

<sdk-bom.version>2.71.8</sdk-bom.version>
<sdk-bom.version>2.72.4</sdk-bom.version>
<scala.compat.version>2.12</scala.compat.version>
<artifact.wagon.version>2.0.24</artifact.wagon.version>

Expand Down Expand Up @@ -221,12 +223,12 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.compat.version}</artifactId>
<artifactId>flink-runtime</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-7</artifactId>
<artifactId>flink-shaded-asm-9</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -241,7 +243,7 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-optimizer_${scala.compat.version}</artifactId>
<artifactId>flink-optimizer</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -276,12 +278,12 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_${scala.compat.version}</artifactId>
<artifactId>flink-streaming-java</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients_${scala.compat.version}</artifactId>
<artifactId>flink-clients</artifactId>
<scope>compile</scope>
</dependency>
<!-- The following dependencies are added to this profile to address the following-->
Expand All @@ -291,20 +293,13 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.typesafe</groupId>
<artifactId>config</artifactId>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>1.10.0</version>
</dependency>
<dependency>
<groupId>com.here.platform.data.client</groupId>
Expand Down

This file was deleted.

14 changes: 14 additions & 0 deletions data-archive/java/parquet-example/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<configuration>

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%date{HH:mm:ss.SSS} %-5p %-60c - %m%n</pattern>
</encoder>
</appender>

<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
7 changes: 3 additions & 4 deletions data-archive/java/sensoris-protobuf-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ needed for a local run of the archiving application.
Execute the following command in the [`sensoris-protobuf-example`](../sensoris-protobuf-example) directory to run the Sensoris Protobuf Archiving Application:

```bash
mvn compile exec:java \
-Dexec.mainClass=com.here.platform.data.archive.example.Main \
-Padd-dependencies-for-local-run
mvn compile exec:exec \
-Dexec.args="-cp %classpath com.here.platform.data.archive.example.Main" -Padd-dependencies-for-local-run
```

At a certain point after start, the application pauses and waits for you to ingest data you want to archive.
Expand Down Expand Up @@ -472,7 +471,7 @@ Use the [`olp pipeline template create`](https://developer.here.com/documentatio

```bash
olp pipeline template create sensoris-protobuf-pipeline-template \
stream-5.0 \
stream-6.0 \
$PATH_TO_JAR \
com.here.platform.dal.DALMain \
--input-catalog-ids=source \
Expand Down
27 changes: 11 additions & 16 deletions data-archive/java/sensoris-protobuf-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.here.platform.examples</groupId>
<artifactId>data-archive-sensoris-protobuf-example</artifactId>
<version>0.0.934</version>
<version>0.0.938</version>
<packaging>jar</packaging>

<!-- Meta information section -->
Expand All @@ -25,18 +25,20 @@
<connection>scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git</connection>
<developerConnection>scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git</developerConnection>
<url>https://github.com/heremaps/here-workspace-examples-java-scala</url>
<tag>2.71.8</tag>
<tag>2.72.4</tag>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<exec.classpathScope>compile</exec.classpathScope>
<exec.executable>java</exec.executable>

<artifact.wagon.version>2.0.24</artifact.wagon.version>

<sdk-bom.version>2.71.8</sdk-bom.version>
<sdk-bom.version>2.72.4</sdk-bom.version>
<scala.compat.version>2.12</scala.compat.version>

<avro.version>1.10.0</avro.version>
<commons-logging.version>1.2</commons-logging.version>

<junit.version>4.12</junit.version>
Expand Down Expand Up @@ -184,12 +186,12 @@
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.compat.version}</artifactId>
<artifactId>flink-runtime</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-7</artifactId>
<artifactId>flink-shaded-asm-9</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -204,7 +206,7 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-optimizer_${scala.compat.version}</artifactId>
<artifactId>flink-optimizer</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -249,12 +251,12 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_${scala.compat.version}</artifactId>
<artifactId>flink-streaming-java</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients_${scala.compat.version}</artifactId>
<artifactId>flink-clients</artifactId>
<scope>compile</scope>
</dependency>
<!-- The following dependencies are added to this profile to address the following-->
Expand All @@ -264,20 +266,13 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.typesafe</groupId>
<artifactId>config</artifactId>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>${avro.version}</version>
</dependency>
<dependency>
<groupId>com.here.platform.data.client</groupId>
Expand Down
Loading

0 comments on commit ee33a6d

Please sign in to comment.