Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ddc57a8
merging template and category search on tree explorer
alexbourret Jan 26, 2026
ad1402f
use more generic batched search approach
alexbourret Jan 27, 2026
5f030e7
fix virtual links
alexbourret Jan 27, 2026
19af286
use the database name for batched search
alexbourret Feb 3, 2026
0940e2c
UI for authentication params
JaneBellaiche Feb 3, 2026
ca4f68a
*temporary frontend fix to have attributes unselected by default afte…
JaneBellaiche Feb 3, 2026
533a773
*use js better practices
JaneBellaiche Feb 3, 2026
572b69d
*add attribute description and hide path
JaneBellaiche Feb 3, 2026
d5ab146
better handling of check boxes
alexbourret Feb 4, 2026
414610c
activate the SSL switch
alexbourret Feb 4, 2026
ff15065
UI enhancements
JaneBellaiche Feb 4, 2026
0b77bae
update get_templates_from_db to retrieve data in tree
alexbourret Feb 5, 2026
ef361dd
*fix collapse/expand on click
JaneBellaiche Feb 9, 2026
ff13648
make expanding chevron appears only if the node has children
alexbourret Feb 10, 2026
0102b07
search based on selected nodes, add maxCounts
alexbourret Feb 11, 2026
bfa1762
add network stats
alexbourret Feb 17, 2026
33c3b61
* remove multiselect
JaneBellaiche Feb 18, 2026
80bf922
template tree part2
JaneBellaiche Feb 18, 2026
5e3955e
*save active tab state (element/template)
JaneBellaiche Feb 18, 2026
b4b8e16
enhance configuration UI
JaneBellaiche Feb 18, 2026
1d95e19
fix has_children use for both elements and templates trees
alexbourret Feb 19, 2026
3e26980
remove recipe input dataset
JaneBellaiche Feb 23, 2026
08ba22a
update datas on database selection change
JaneBellaiche Feb 23, 2026
7acfa0d
fix element unselection
JaneBellaiche Feb 23, 2026
cca26d1
fix template selection
JaneBellaiche Feb 23, 2026
d102349
*add label for "select all" checkbox
JaneBellaiche Feb 23, 2026
1b67c5a
fix output columns content
JaneBellaiche Feb 23, 2026
8b92413
turn category_names into a string column
JaneBellaiche Feb 24, 2026
a3b1429
change output dataset label
JaneBellaiche Feb 25, 2026
3418ee3
move select all checkbox
JaneBellaiche Feb 26, 2026
928b57a
v1.4.2-beta.1
alexbourret Feb 26, 2026
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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [Version 1.4.1](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.4.1) - Feature release - 2025-11-26
## [Version 1.4.2](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.4.2) - Feature release - 2025-11-26

- Add a AF hierarchy downloader

Expand Down
11 changes: 1 addition & 10 deletions custom-recipes/pi-system-af-tree/recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,14 @@
"icon": "icon-pi-system icon-cogs"
},
"kind": "PYTHON",
"selectableFromDataset": "input_dataset",
"paramsPythonSetup": "browse_af_tree.py",
"inputRoles": [
{
"name": "input_dataset",
"label": "Dataset containing paths or tags",
"description": "",
"arity": "UNARY",
"required": false,
"acceptsDataset": true
}
],

"outputRoles": [
{
"name": "api_output",
"label": "Main output displayed name",
"label": "Attributes dataset",
"description": "",
"arity": "UNARY",
"required": true,
Expand Down
6 changes: 3 additions & 3 deletions custom-recipes/pi-system-af-tree/recipe.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dataiku
from dataiku.customrecipe import get_input_names_for_role, get_recipe_config, get_output_names_for_role
from dataiku.customrecipe import get_recipe_config, get_output_names_for_role
from safe_logger import SafeLogger
from osisoft_plugin_common import (
get_credentials, PerformanceTimer
Expand Down Expand Up @@ -34,14 +34,14 @@ def next_tree_item(tree_data):
yield item


input_dataset = get_input_names_for_role('input_dataset')
output_names_stats = get_output_names_for_role('api_output')
config = get_recipe_config()
tree_data = config.get("treeData", [])

logger.info("Initialization with config config={}".format(logger.filter_secrets(config)))

auth_type, username, password, server_url, is_ssl_check_disabled = get_credentials(config)
is_ssl_check_disabled = config.get("is_ssl_check_disabled", False) # Because no advanced parameter switch

network_timer = PerformanceTimer()
processing_timer = PerformanceTimer()
Expand All @@ -51,7 +51,7 @@ def next_tree_item(tree_data):
schema = [
{'name': 'title', 'type': 'string'},
{'name': 'template_name', 'type': 'string'},
{'name': 'category_names', 'type': 'array'},
{'name': 'category_names', 'type': 'string'},
{'name': 'path', 'type': 'string'},
{'name': 'id', 'type': 'string'},
{'name': 'url', 'type': 'string'},
Expand Down
Loading