You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(parameters): correct parameter value removal and add rename_parameter_context
- Fix prepare_parameter to properly unset parameter values using value_removed flag
- Previously, passing None or omitting value could result in empty string or null
instead of actually removing the parameter value
- Add _NOT_PROVIDED sentinel to distinguish omitted value from explicit None
- prepare_parameter now correctly handles: omit (preserve existing), None (remove),
empty string (set to ""), or value (set)
- Add rename_parameter_context() for lightweight context renaming
- Use config.long_max_wait for update_parameter_context timeout
- Include description in get_parameter_ownership_map output
- Add comprehensive tests for new functionality
* feat(bulletins): add descendants parameter to get_bulletin_board
- Add descendants=True parameter to filter bulletins by process group hierarchy
- When True (default), includes bulletins from all child process groups
- When False, only returns bulletins from components directly in the specified PG
- Builds regex pattern of all PG IDs for efficient API filtering
* feat(canvas): add name lookup support to list_all_controllers
- Add greedy and identifier_type parameters for flexible PG resolution
- Supports UUID, name, or ProcessGroupEntity as pg_id input
- Uses resolve_entity for consistent behavior with other canvas functions
* feat(ci): enhance get_status with throughput stats and descendant bulletins
- Add flowfiles_in/out, bytes_in/out, bytes_read/written stats
- Use descendants=True for bulletin collection to match processor/controller scope
- Update docstring to document bulletin counts
* perf(ci): batch parameter updates to reduce cycle overhead
- Batch all parameters per context into single update_parameter_context call
- Avoids multiple stop/disable/update/enable/restart cycles per parameter
- Preserve parameter descriptions during updates
- Add tests for empty string and None value handling
* docs(layout): add PORT_QUEUE_BOX_WIDTH constant
- Document that port-to-port connections use larger queue boxes (240 vs 224)
- Clarify existing QUEUE_BOX_WIDTH is for processor-to-processor connections
* feat(cli): standardize error field convention for non-zero exit codes
- CLI now exits with code 1 when result dict contains 'error' or 'errors' key
- Update cleanup.py: change 'message' to 'error' for failure cases
- Update verify_config.py: add 'error' key with failed component names
- Add tests for error key detection and exit code behavior
- Document error field convention in cli.rst and ci.rst for CI authors
This enables scripts to rely on exit codes for operational failures,
not just Python exceptions. CI functions should include an 'error' key
when operations fail to trigger non-zero exit.
* docs: add 1.4.0 release notes to history
- **Standardized error exit codes**: CLI now exits with code 1 when result contains ``error`` or ``errors`` key, enabling scripts to reliably detect operational failures (not just exceptions)
13
+
- **Error field convention**: CI functions now include ``error`` key for failures - documented convention for custom CI functions
14
+
15
+
**Bulletins Module**
16
+
17
+
- **get_bulletin_board()**: New ``descendants=True`` parameter to include bulletins from child process groups (default behavior matches processor/controller scope)
18
+
19
+
**Canvas Module**
20
+
21
+
- **list_all_controllers()**: Added ``greedy`` and ``identifier_type`` parameters for flexible process group resolution - now accepts ID, name, or ProcessGroupEntity
22
+
23
+
**CI Module Enhancements**
24
+
25
+
- **get_status()**: Added throughput stats (``flowfiles_in/out``, ``bytes_in/out``, ``bytes_read/written``) and fixed bulletin collection to use descendants
26
+
- **configure_inherited_params()**: Batched parameter updates to reduce cycle overhead - all parameters per context now updated in single API call instead of one-by-one
27
+
- **cleanup()**: Changed ``message`` key to ``error`` for failure responses (CLI exit code support)
28
+
- **verify_config()**: Added ``error`` key with failed component names when verification fails
0 commit comments