-
Notifications
You must be signed in to change notification settings - Fork 13
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
Op asset specificity #3841
Op asset specificity #3841
Conversation
bump: (minor) @terascope/[email protected], [email protected]
When you're back Jared, you'll need to rebase this and bump the version to 2.10.0 since we did a 2.9.0 release today. |
To test this out, setup a running teraslice instance, and use teraslice-cli to upload assets
Sample Job that should fail because we don't know which asset to use for the op, please adjust index and any other settings for your setup
Sample job that should pass, please make the same updates to index and any other changes neccessary
|
Here's my test job config:
When I tried to run with this config I got the error I also tried the job will multiple |
Example of real job that can work with the elasticsearch-assets {
"name": "test",
"lifecycle": "once",
"workers": 1,
"analytics": true,
"assets": [
"elasticsearch:4.0.2",
"elasticsearch:4.0.5"
],
"apis": [
{
"_name": "elasticsearch_sender_api@elasticsearch:4.0.5",
"index": "op_asset_version_test",
"preserve_id": true,
"size": 10000
},
{
"_name": "elasticsearch_reader_api@elasticsearch:4.0.2",
"index": "ts_test_example-1000",
"size": 10000,
"date_field_name": "created",
"preserve_id": true
}
],
"operations": [
{
"_op": "elasticsearch_reader@elasticsearch:4.0.2",
"api_name": "elasticsearch_reader_api@elasticsearch:4.0.2",
"index": "ts_test_example-1000",
"size": 10000,
"date_field_name": "created",
"preserve_id": true
},
{
"_op": "elasticsearch_bulk@elasticsearch:4.0.5",
"api_name": "elasticsearch_sender_api@elasticsearch:4.0.5",
"index": "op_asset_version_test",
"preserve_id": true,
"size": 10000
}
]
} |
bump: (patch) @terascope/[email protected], @terascope/[email protected] bump: (patch) [email protected], [email protected] bump: (patch) [email protected], [email protected] bump: (patch) [email protected], @terascope/[email protected] bump: (patch) @terascope/[email protected], @terascope/[email protected]
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.
Consider some of my comments inline, I think I found the parseName tests, I didn't expect them included inside another specfile.
Please try and document the extent of the changes you have made in the documentation. What all is now possible? What scenarios are prohibited? What are tags?
I was testing this and it looks like using a plain |
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.
Looks good. There were just a few typos, etc I noticed.
op-name@assetName:v1.4.0
orop-name@assetName