-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data ingest example - more work. Bump to Fluxtion 9.2.21. Move @Nopro…
…pagte Function and use @ExportService(propagate = false), possible bug in Fluxtion. Added .jmvm config to cookbook build so google code formatter works when running maven in this project
- Loading branch information
greg
committed
Apr 17, 2024
1 parent
5f82f0e
commit 698e832
Showing
18 changed files
with
117 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED | ||
--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED | ||
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED |
4 changes: 0 additions & 4 deletions
4
...k/src/main/java/com/fluxtion/example/cookbook/dataingestion/DataIngestConfigListener.java
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
cookbook/src/main/java/com/fluxtion/example/cookbook/dataingestion/api/DataIngestConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.fluxtion.example.cookbook.dataingestion.api; | ||
|
||
public record DataIngestConfig(String name) { | ||
} |
6 changes: 6 additions & 0 deletions
6
...c/main/java/com/fluxtion/example/cookbook/dataingestion/api/DataIngestConfigListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.fluxtion.example.cookbook.dataingestion.api; | ||
|
||
public interface DataIngestConfigListener { | ||
|
||
boolean configUpdate(DataIngestConfig config); | ||
} |
2 changes: 1 addition & 1 deletion
2
...ple/cookbook/dataingestion/HouseData.java → ...cookbook/dataingestion/api/HouseData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 14 additions & 1 deletion
15
...c/main/java/com/fluxtion/example/cookbook/dataingestion/builder/DataIngestionBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...src/main/java/com/fluxtion/example/cookbook/dataingestion/node/CsvHouseDataValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 12 additions & 2 deletions
14
...in/java/com/fluxtion/example/cookbook/dataingestion/node/HouseDataRecordBinaryWriter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
package com.fluxtion.example.cookbook.dataingestion.node; | ||
|
||
import com.fluxtion.example.cookbook.dataingestion.HouseData; | ||
import com.fluxtion.example.cookbook.dataingestion.api.DataIngestConfig; | ||
import com.fluxtion.example.cookbook.dataingestion.api.DataIngestConfigListener; | ||
import com.fluxtion.example.cookbook.dataingestion.api.HouseData; | ||
import com.fluxtion.runtime.annotations.ExportService; | ||
import com.fluxtion.runtime.annotations.NoPropagateFunction; | ||
|
||
public class HouseDataRecordBinaryWriter { | ||
public class HouseDataRecordBinaryWriter implements @ExportService DataIngestConfigListener { | ||
|
||
public void validHouseDataRecord(HouseData message){ | ||
System.out.println("RecordBinaryWriter::validHousingRecord - " + message); | ||
} | ||
|
||
@Override | ||
@NoPropagateFunction | ||
public boolean configUpdate(DataIngestConfig config) { | ||
return false; | ||
} | ||
} |
14 changes: 12 additions & 2 deletions
14
.../main/java/com/fluxtion/example/cookbook/dataingestion/node/HouseDataRecordCsvWriter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
package com.fluxtion.example.cookbook.dataingestion.node; | ||
|
||
import com.fluxtion.example.cookbook.dataingestion.HouseData; | ||
import com.fluxtion.example.cookbook.dataingestion.api.DataIngestConfig; | ||
import com.fluxtion.example.cookbook.dataingestion.api.DataIngestConfigListener; | ||
import com.fluxtion.example.cookbook.dataingestion.api.HouseData; | ||
import com.fluxtion.runtime.annotations.ExportService; | ||
import com.fluxtion.runtime.annotations.NoPropagateFunction; | ||
|
||
public class HouseDataRecordCsvWriter { | ||
public class HouseDataRecordCsvWriter implements @ExportService DataIngestConfigListener { | ||
|
||
public void validHouseDataRecord(HouseData message){ | ||
System.out.println("RecordCsvWriter::validHousingRecord - " + message); | ||
} | ||
|
||
@Override | ||
@NoPropagateFunction | ||
public boolean configUpdate(DataIngestConfig config) { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
.../main/java/com/fluxtion/example/cookbook/dataingestion/node/HouseDataRecordValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters