Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Changelog

## [Version 1.5.0](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.5.0) - Bugfix release - 2026-02-02

- Add blank OAuth SSO preset
- Add OAuth with secret preset

## [Version 1.4.2](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.4.2) - Bugfix release - 2026-04-17

- Fix issue with writing single value to static AF attributes


## [Version 1.4.1](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.4.1) - Bugfix release - 2026-01-27

- Fix issue with writing
Expand Down
28 changes: 27 additions & 1 deletion custom-recipes/pi-system-retrieve-event-frames/recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,37 @@
"type": "SEPARATOR",
"label": "Authentication"
},
{
"name": "credentials_type",
"label": "Credentials type",
"type": "SELECT",
"selectChoices":[
{"value": "basic_auth", "label": "User / Password"},
{"value": "oauth_sso", "label": "Single Sign On"},
{"value": "oauth_secret", "label": "OAuth with secret"}
],
"defaultValue": "basic_auth"
},
{
"name": "credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "basic-auth"
"parameterSetId": "basic-auth",
"visibilityCondition": "model.credentials_type=='basic_auth'"
},
{
"name": "oauth_credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "oauth-sso",
"visibilityCondition": "model.credentials_type=='oauth_sso'"
},
{
"name": "oauth_secret",
"label": "Oauth with secret preset",
"type": "PRESET",
"parameterSetId": "oauth-secret",
"visibilityCondition": "model.credentials_type=='oauth_secret'"
},
{
"name": "show_advanced_parameters",
Expand Down
28 changes: 27 additions & 1 deletion custom-recipes/pi-system-retrieve-list/recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,37 @@
"type": "SEPARATOR",
"label": "Authentication"
},
{
"name": "credentials_type",
"label": "Credentials type",
"type": "SELECT",
"selectChoices":[
{"value": "basic_auth", "label": "User / Password"},
{"value": "oauth_sso", "label": "Single Sign On"},
{"value": "oauth_secret", "label": "OAuth with secret"}
],
"defaultValue": "basic_auth"
},
{
"name": "credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "basic-auth"
"parameterSetId": "basic-auth",
"visibilityCondition": "model.credentials_type=='basic_auth'"
},
{
"name": "oauth_credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "oauth-sso",
"visibilityCondition": "model.credentials_type=='oauth_sso'"
},
{
"name": "oauth_secret",
"label": "Oauth with secret preset",
"type": "PRESET",
"parameterSetId": "oauth-secret",
"visibilityCondition": "model.credentials_type=='oauth_secret'"
},
{
"name": "show_advanced_parameters",
Expand Down
28 changes: 27 additions & 1 deletion custom-recipes/pi-system-write/recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,37 @@
"type": "SEPARATOR",
"label": "Authentication"
},
{
"name": "credentials_type",
"label": "Credentials type",
"type": "SELECT",
"selectChoices":[
{"value": "basic_auth", "label": "User / Password"},
{"value": "oauth_sso", "label": "Single Sign On"},
{"value": "oauth_secret", "label": "OAuth with secret"}
],
"defaultValue": "basic_auth"
},
{
"name": "credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "basic-auth"
"parameterSetId": "basic-auth",
"visibilityCondition": "model.credentials_type=='basic_auth'"
},
{
"name": "oauth_credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "oauth-sso",
"visibilityCondition": "model.credentials_type=='oauth_sso'"
},
{
"name": "oauth_secret",
"label": "Oauth with secret preset",
"type": "PRESET",
"parameterSetId": "oauth-secret",
"visibilityCondition": "model.credentials_type=='oauth_secret'"
},
{
"name": "show_advanced_parameters",
Expand Down
66 changes: 66 additions & 0 deletions parameter-sets/oauth-secret/parameter-set.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"meta" : {
"label": "OAuth Secret",
"description": "",
"icon": "icon-pi-system icon-cogs"
},
"defaultDefinableInline": true,
"defaultDefinableAtProjectLevel": true,
"params": [
{
"name": "default_server",
"label": "Server URL",
"type": "STRING",
"description": "my.pi-system.server.com"
},
{
"name": "can_override_server_url",
"label": "Users can override server URL",
"type": "BOOLEAN",
"description": "Unsafe !",
"defaultValue": false
},
{
"name": "can_disable_ssl_check",
"label": "Users can disable SSL checks",
"type": "BOOLEAN",
"description": "Unsafe !",
"defaultValue": false
},
{
"name": "ssl_cert_path",
"label": "Path to SSL certificate",
"type": "STRING",
"description": "(optional)",
"defaultValue": ""
},
{
"name": "tokenEndpoint",
"label": "Token endpoint",
"type": "STRING",
"description": "",
"mandatory": false
},
{
"name": "client_id",
"label": "Client ID",
"type": "STRING",
"description": "",
"mandatory": false
},
{
"name": "client_secret",
"label": "Client secret",
"type": "PASSWORD",
"description": "",
"mandatory": false
},
{
"name": "scope",
"label": "Scope",
"type": "STRING",
"description": "",
"mandatory": false
}
]
}
70 changes: 70 additions & 0 deletions parameter-sets/oauth-sso/parameter-set.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"meta" : {
"label": "OAuth SSO",
"description": "",
"icon": "icon-pi-system icon-cogs"
},
"defaultDefinableInline": false,
"defaultDefinableAtProjectLevel": false,
"params": [
{
"name": "default_server",
"label": "Server URL",
"type": "STRING",
"description": "my.pi-system.server.com"
},
{
"name": "can_override_server_url",
"label": "Users can override server URL",
"type": "BOOLEAN",
"description": "Unsafe !",
"defaultValue": false
},
{
"name": "can_disable_ssl_check",
"label": "Users can disable SSL checks",
"type": "BOOLEAN",
"description": "Unsafe !",
"defaultValue": false
},
{
"name": "ssl_cert_path",
"label": "Path to SSL certificate",
"type": "STRING",
"description": "(optional)",
"defaultValue": ""
},
{
"name": "secure_token",
"type": "CREDENTIAL_REQUEST",
"label": "Single Sign On",
"credentialRequestSettings": {
"type": "OAUTH2",
"authorizationEndpoint": " ",
"tokenEndpoint": " ",
"scope": " "
}
},
{
"name": "authorizationEndpoint",
"label": "Authorization endpoint",
"type": "STRING",
"description": "",
"mandatory": false
},
{
"name": "tokenEndpoint",
"label": "Token endpoint",
"type": "STRING",
"description": "",
"mandatory": false
},
{
"name": "scope",
"label": "Scope",
"type": "STRING",
"description": "",
"mandatory": false
}
]
}
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "pi-system",
"version": "1.4.2",
"version": "1.5.0",
"meta": {
"label": "PI System",
"description": "Retrieve data from your OSIsoft PI System servers",
Expand Down
28 changes: 27 additions & 1 deletion python-connectors/pi-system_attribute-search/connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,37 @@
"kind": "PYTHON",
"paramsPythonSetup": "browse_attributes.py",
"params": [
{
"name": "credentials_type",
"label": "Credentials type",
"type": "SELECT",
"selectChoices":[
{"value": "basic_auth", "label": "User / Password"},
{"value": "oauth_sso", "label": "Single Sign On"},
{"value": "oauth_secret", "label": "OAuth with secret"}
],
"defaultValue": "basic_auth"
},
{
"name": "credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "basic-auth"
"parameterSetId": "basic-auth",
"visibilityCondition": "model.credentials_type=='basic_auth'"
},
{
"name": "oauth_credentials",
"label": "SSO preset",
"type": "PRESET",
"parameterSetId": "oauth-sso",
"visibilityCondition": "model.credentials_type=='oauth_sso'"
},
{
"name": "oauth_secret",
"label": "Oauth with secret preset",
"type": "PRESET",
"parameterSetId": "oauth-secret",
"visibilityCondition": "model.credentials_type=='oauth_secret'"
},
{
"name": "show_advanced_parameters",
Expand Down
28 changes: 27 additions & 1 deletion python-connectors/pi-system_event-frames-search/connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,37 @@
"kind": "PYTHON",
"paramsPythonSetup": "browse_event_frames.py",
"params": [
{
"name": "credentials_type",
"label": "Credentials type",
"type": "SELECT",
"selectChoices":[
{"value": "basic_auth", "label": "User / Password"},
{"value": "oauth_sso", "label": "Single Sign On"},
{"value": "oauth_secret", "label": "OAuth with secret"}
],
"defaultValue": "basic_auth"
},
{
"name": "credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "basic-auth"
"parameterSetId": "basic-auth",
"visibilityCondition": "model.credentials_type=='basic_auth'"
},
{
"name": "oauth_credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "oauth-sso",
"visibilityCondition": "model.credentials_type=='oauth_sso'"
},
{
"name": "oauth_secret",
"label": "Oauth with secret preset",
"type": "PRESET",
"parameterSetId": "oauth-secret",
"visibilityCondition": "model.credentials_type=='oauth_secret'"
},
{
"name": "show_advanced_parameters",
Expand Down
28 changes: 27 additions & 1 deletion python-connectors/pi-system_pi-explorer/connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,37 @@
"kind": "PYTHON",
"paramsPythonSetup": "browse_tags.py",
"params": [
{
"name": "credentials_type",
"label": "Credentials type",
"type": "SELECT",
"selectChoices":[
{"value": "basic_auth", "label": "User / Password"},
{"value": "oauth_sso", "label": "Single Sign On"},
{"value": "oauth_secret", "label": "OAuth with secret"}
],
"defaultValue": "basic_auth"
},
{
"name": "credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "basic-auth"
"parameterSetId": "basic-auth",
"visibilityCondition": "model.credentials_type=='basic_auth'"
},
{
"name": "oauth_credentials",
"label": "User preset",
"type": "PRESET",
"parameterSetId": "oauth-sso",
"visibilityCondition": "model.credentials_type=='oauth_sso'"
},
{
"name": "oauth_secret",
"label": "Oauth with secret preset",
"type": "PRESET",
"parameterSetId": "oauth-secret",
"visibilityCondition": "model.credentials_type=='oauth_secret'"
},
{
"name": "show_advanced_parameters",
Expand Down
Loading