generated from dataiku/dss-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/sc 245546 add multiple paths write #73
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
Open
alexbourret
wants to merge
14
commits into
master
Choose a base branch
from
feature/sc-245546-add-multiple-paths-write
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
fd883d2
return response on write operation
alexbourret 09e40e4
[sc-245546] add write recipe
alexbourret 7130cd1
Add batch mode to af downloader
alexbourret fffa68d
fix batch in ef downloader
alexbourret a3ef957
remove ef_webid column for AF
alexbourret 0a71747
initial commit - write streaks of webids in one go
alexbourret c3115c7
Adding batch endpoint
alexbourret deb7ae0
Merge pull request #76 from dataiku/feature/double-batch-af-write
alexbourret df5dacf
Merge pull request #77 from dataiku/feature/batch-write-af
alexbourret 5d11ab8
add path handling
alexbourret 685204f
Merge branch 'master' into feature/sc-245546-add-multiple-paths-write
alexbourret c6993cc
Update python-lib/osisoft_client.py
alexbourret 9d39a62
removing dead code, better logging
alexbourret 73c2697
parsing timestamp before writing
alexbourret File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,148 @@ | ||
| { | ||
| "meta": { | ||
| "label": "Write to tag", | ||
| "description": "Write values to tags", | ||
| "icon": "icon-pi-system icon-pencil" | ||
| }, | ||
| "kind": "PYTHON", | ||
| "selectableFromDataset": "input_dataset", | ||
| "inputRoles": [ | ||
| { | ||
| "name": "input_dataset", | ||
| "label": "Dataset containing paths or tags", | ||
| "description": "", | ||
| "arity": "UNARY", | ||
| "required": true, | ||
| "acceptsDataset": true | ||
| } | ||
| ], | ||
|
|
||
| "outputRoles": [ | ||
| { | ||
| "name": "api_output", | ||
| "label": "Main output displayed name", | ||
| "description": "", | ||
| "arity": "UNARY", | ||
| "required": true, | ||
| "acceptsDataset": true | ||
| } | ||
| ], | ||
| "params": [ | ||
| { | ||
| "type": "SEPARATOR", | ||
| "label": "Authentication" | ||
| }, | ||
| { | ||
| "name": "credentials", | ||
| "label": "User preset", | ||
| "type": "PRESET", | ||
| "parameterSetId": "basic-auth" | ||
| }, | ||
| { | ||
| "name": "show_advanced_parameters", | ||
| "label": "Show advanced parameters", | ||
| "type": "BOOLEAN", | ||
| "definition": "", | ||
| "defaultValue": false | ||
| }, | ||
| { | ||
| "name": "use_server_url_column", | ||
| "label": "Use server value per row", | ||
| "visibilityCondition": "model.show_advanced_parameters==true && false", | ||
| "description": "", | ||
| "type": "BOOLEAN", | ||
| "defaultValue": false | ||
| }, | ||
| { | ||
| "visibilityCondition": "(model.use_server_url_column==true) && (model.show_advanced_parameters==true)", | ||
| "name": "server_url_column", | ||
| "label": "Server domain columnn", | ||
| "description": "Should match the required path for each row", | ||
| "type": "COLUMN", | ||
| "columnRole": "input_dataset" | ||
| }, | ||
| { | ||
| "visibilityCondition": "(model.use_server_url_column==false) && (model.show_advanced_parameters==true)", | ||
| "name": "server_url", | ||
| "label": "Server URL", | ||
| "type": "STRING", | ||
| "definition": "https://my_server:8082", | ||
| "defaultValue": "" | ||
| }, | ||
| { | ||
| "name": "is_ssl_check_disabled", | ||
| "label": "Disable SSL check", | ||
| "visibilityCondition": "model.show_advanced_parameters==true", | ||
| "type": "BOOLEAN", | ||
| "definition": "", | ||
| "defaultValue": false | ||
| }, | ||
| { | ||
| "name": "ssl_cert_path", | ||
| "label": "Path to SSL certificate", | ||
| "type": "STRING", | ||
| "description": "(optional)", | ||
| "visibilityCondition": "model.show_advanced_parameters==true && model.is_ssl_check_disabled==false", | ||
| "mandatory": false | ||
| }, | ||
| { | ||
| "name": "is_debug_mode", | ||
| "label": "Verbose logging", | ||
| "visibilityCondition": "model.show_advanced_parameters==true", | ||
| "type": "BOOLEAN", | ||
| "description": "", | ||
| "defaultValue": false | ||
| }, | ||
| { | ||
| "name": "max_streak_buffer_size", | ||
| "label": "Size of streak buffer", | ||
| "visibilityCondition": "model.show_advanced_parameters==true", | ||
| "type": "INT", | ||
| "minI": 1, | ||
| "defaultValue": 500, | ||
| "description": "" | ||
| }, | ||
| { | ||
| "name": "max_requests_buffer_size", | ||
| "label": "Size of batch buffer", | ||
| "visibilityCondition": "model.show_advanced_parameters==true", | ||
| "type": "INT", | ||
| "minI": 1, | ||
| "defaultValue": 500, | ||
| "description": "" | ||
| }, | ||
| { | ||
| "type": "SEPARATOR", | ||
| "description": "Source" | ||
| }, | ||
| { | ||
| "name": "path_column", | ||
| "label": "Path column", | ||
| "description": "", | ||
| "type": "COLUMN", | ||
| "columnRole": "input_dataset" | ||
| }, | ||
| { | ||
| "name": "webid_column", | ||
| "label": "WebID column", | ||
| "description": "(faster than using path)", | ||
JaneBellaiche marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "type": "COLUMN", | ||
| "columnRole": "input_dataset" | ||
| }, | ||
| { | ||
| "name": "time_column", | ||
| "label": "Time column", | ||
| "description": "", | ||
| "type": "COLUMN", | ||
| "columnRole": "input_dataset" | ||
| }, | ||
| { | ||
| "name": "value_column", | ||
| "label": "Value column", | ||
| "description": "", | ||
| "type": "COLUMN", | ||
| "columnRole": "input_dataset" | ||
| } | ||
| ], | ||
| "resourceKeys": [] | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.