-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#245 Add the ability to query REST endpoints from Reader module #297
base: master
Are you sure you want to change the base?
Changes from all commits
b97b603
e623974
5e4eadb
2e1e2ea
738c904
df8c9bd
5affd82
0f1e121
d773a93
0776f9c
38fde1c
1ac2233
e6dcb52
6968b02
b9bacef
bbb1e7f
33e6628
f7ced56
ca2116b
e5e6f63
fe07272
7656f6f
eb9a678
7641c07
bc82a5b
0e7675e
432716a
11b0a16
2c3f145
e07dffb
3955a50
b287a66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -205,7 +205,6 @@ We can even say, that `Checkpoint` is a result of particular `Measurements` (ver | |
The journey of a dataset throughout various data transformations and pipelines. It captures the whole journey, | ||
even if it involves multiple applications or ETL pipelines. | ||
|
||
|
||
## Usage | ||
|
||
### Atum Agent routines | ||
|
@@ -247,6 +246,7 @@ Code coverage wil be generated on path: | |
To make this project runnable via IntelliJ, do the following: | ||
- Make sure that your configuration in `server/src/main/resources/reference.conf` | ||
is configured according to your needs | ||
- When building within the UI be sure to have the option `-language:higherKinds` on in the compiler options | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand - what UI do you mean? |
||
|
||
## How to Run Tests | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,26 +7,26 @@ | |
|
||
## Usage | ||
|
||
Create multiple `AtumContext` with different control measures to be applied | ||
Create multiple `AtumContext` with different control measures to be applied | ||
|
||
### Option 1 | ||
```scala | ||
val atumContextInstanceWithRecordCount = AtumContext(processor = processor) | ||
.withMeasureAdded(RecordCount(MockMeasureNames.recordCount1, measuredColumn = "id")) | ||
.withMeasureAdded(RecordCount(MockMeasureNames.recordCount1)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am curious why you changed it to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't change the code. But I believe the example in the README was outdated, so I fixed it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Possibly IntelliJ refactoring in the past, should be changed though |
||
|
||
val atumContextWithSalaryAbsMeasure = atumContextInstanceWithRecordCount | ||
.withMeasureAdded(AbsSumOfValuesOfColumn(measuredColumn = "salary")) | ||
``` | ||
|
||
### Option 2 | ||
### Option 2 | ||
Use `AtumPartitions` to get an `AtumContext` from the service using the `AtumAgent`. | ||
```scala | ||
val atumContext1 = AtumAgent.createAtumContext(atumPartition) | ||
``` | ||
|
||
#### AtumPartitions | ||
A list of key values that maintains the order of arrival of the items, the `AtumService` | ||
is able to deliver the correct `AtumContext` according to the `AtumPartitions` we give it. | ||
A list of key values that maintains the order of arrival of the items, the `AtumService` | ||
is able to deliver the correct `AtumContext` according to the `AtumPartitions` we give it. | ||
```scala | ||
val atumPartitions = AtumPartitions().withPartitions(ListMap("name" -> "partition-name", "country" -> "SA", "gender" -> "female" )) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.