Releases: opsfolio/releases.opsfolio.com
surveilr 0.12.1
Release notes for Resource Surveillance (surveilr
) 0.12.1
What's New
This release introduces several new features and bug fixes to improve functionality and usability.
New Features:
-
Orchestration Command Updates:
- All transformation commands now belong under
orchestration
. - The following commands have been updated:
surveilr transform csv
is nowsurveilr orchestrate transform-csv
.surveilr transform html
is nowsurveilr orchestrate transform-html
.- The XML transformation functionality will be available in the next release.
- All transformation commands now belong under
-
New Functions Added:
surveilr_orchestration_nature_id(<nature_type>)
:- Returns the ID of the orchestration nature if present, else returns
null
. - Example:
surveilr_orchestration_nature_id('v&v')
.
- Returns the ID of the orchestration nature if present, else returns
surveilr_ensure_orchestration_nature(<nature_id>, <nature>)
:- Ensures that the given orchestration nature is present in the database.
-
Remote Script Execution:
- Remote files can now be run as scripts.
-
Stdin Support:
- Stdin support has been added for passing scripts to
surveilr
. - Example:
cat script.sql | surveilr orchestrate -n "v&v"
.
- Stdin support has been added for passing scripts to
Bug Fixes:
- Fixed Surveilr Web-UI Automatic Opener:
- Resolved an issue with the automatic opener for the Surveilr web UI.
surveilr 0.12.0
Release notes for Resource Surveillance (surveilr
) 0.12.0
surveilr 0.11.1
Release notes for Resource Surveillance (surveilr
) 0.11.1
surveilr 0.11.0
Release notes for Resource Surveillance (surveilr
) 0.11.0
What's New
-
Host Binding Customization:
- The
web-ui
server now accepts a--host
argument to specify the host to which it should be bound, providing more flexibility in deployment. - By default, the server binds to localhost instead of 127.0.0.1.
- The
-
Server Start Message:
- Updated the server start message to read: "RSSD Web UI is now running on ...", enhancing clarity for users monitoring server status.
-
SQLPage
- Updated SQLPage to the latest version, ensuring compatibility and access to the newest features and bug fixes.
Bug Fixes
-
Ctrl+C Shutdown Error:
- Resolved the error encountered when stopping the web UI with Ctrl+C, which previously resulted in Error: No such file or directory (os error 2).
-
SQLPage Directory Creation:
- Disabled the SQLPage feature that was creating an empty sqlpage directory with each execution, preventing unnecessary directory creation.
-
Multitenant Support
- Fixed the error during ingestion related to multitenant support by seeding the
party_types
back into the models directly.
- Fixed the error during ingestion related to multitenant support by seeding the
surveilr 0.10.2
Release notes for Resource Surveillance (surveilr
) 0.10.2
What's New
1. Orchestrate with Script Storage
- Command:
surveilr orchestrate -n "v&v" -s abc.sql --save-script
- Description: This command now stores everything from the command line into the orchestration session. If the
--save-script
flag is set to true, which is the default, the script content is stored in the elaboration field for reference.
2. Web UI Launch and Auto-Open
- Command:
surveilr web-ui -p 9000
- Description: The
sqlpage
subcommand has been changed towebui
. You can now launch the web interface using the commandsurveilr web-ui
, which provides the address of the webpage. Additionally, using the--open
flag will automatically open the webpage in the default browser.
3. Handling Streaming Content from STDIN
- Functionality: If streaming content is received through STDIN, it is treated as the first script to be executed, followed by any subsequent scripts provided via the
--sql
flag. - Example:
curl https://abc.com/my.sql | surveilr orchestrate -n "v&v" -s abc.sql
4. Execute Scripts from Remote Filesystem via HTTPs
- Command:
surveilr orchestrate -n "v&v" --sql https://github.com/abc/xyz/xyz.sql
- Description: This command will execute a script stored in a remote filesystem via HTTPs. This feature ensures that remote scripts are fetched and executed seamlessly.
- Example:
surveilr orchestrate -n "v&v" --sql https://github.com/abc/xyz/xyz.sql
Combined Example of passing SQL scripts to surveilr
orchestration
curl https://raw.githubusercontent.com/opsfolio/resource-surveillance-commons/main/pattern/privacy/anonymize-sample/de-identification/deidentification.sql \
| surveilr orchestrate -n "v&v" \
-s ./support/regression-tests/orchestrate.sql -s ./support/regression-tests/deidentify.sql \
-s "https://raw.githubusercontent.com/opsfolio/resource-surveillance-commons/main/pattern/privacy/anonymize-sample/stateless-privacy-surveilr.sql"
- Description: This command pipes a script from a remote URL into the surveilr orchestrate command and specifies additional scripts to be executed from both local and remote sources. The initial script from STDIN is executed first, followed by the scripts provided via the --sql flag.
Fixes
surveilr_device_id
: This function was previously nameddevice_id
, but now the wordsurveilr_
has been added as a prefix to denote that it is asurveilr
specific function.
surveilr 0.10.1
Release notes for Resource Surveillance (surveilr
) 0.10.1
What's New
-
Orchestration Command Execution
- Feature:
surveilr orchestrate -n "v&v" -s xyz.sql
- Description: Execute an xyz.sql script stored in a VFS filesystem locally. This feature supports orchestrating SQL scripts for validation and verification (v&v) purposes.
- Usage:
surveilr orchestrate -n "v&v" -s xyz.sql
- Feature:
-
Script Execution Order
The orchestration service now accepts multiple SQL files and guarantees they are executed in the specified order, ensuring the correct sequence of operations. -
SQLite Orchestration Helper Functions
surveilr_orchestration_context_session_id
- Description: Adds an SQLite function to return the current active session_id.
- Usage:
SELECT surveilr_orchestration_context_session_id();
device_id
- Description: Adds an SQLite function to return the device_id of the host device.
- Usage: SELECT device_id();
surveilr_version
- Description: Retrieves the current surveilr version.
- Usage: SELECT surveilr_version();
surveilr_orchestration_context_active
: Returns a boolean indicating if the execution is in an active context.surveilr_orchestration_context_session_id
: Gets the active session ID, which is the latest session still in progress and does not have a correspondingsurveilr_orch_completed
state.
-
Session Management
When an orchestratio session is started through the command line, it inserts a record intoorchestration_session_state
with thefrom_state
column set tosurveilr_orch_init
and theto_state
filed tosurveilr_orch _progress
, indicating the session is in progress.
Upon completion of execution, a new record is inserted, rather than updating the previous record, withto_state
colums set tosurveilr_orch_completed
, marking the session as complete. -
Logging
Feature:orchestration_session_log
Table
Description: Adds a new table orch_session_log to log entries with the following columns:category: TEXT content: TEXT NOT NULL sibling_order: NUMERIC parent_id: INTEGER (optional) elaboration: JSON (optional)
surveilr 0.10.0
Release notes for Resource Surveillance (surveilr
) 0.10.0
What's New
- Orchestration models
-
device
–surveilr
already has adevice
table but check to see if we need to enhance it. - Add a table called
orchestration_nature
with aorchestration_nature_id
TEXT ID primary key (not UUID), requirednature
TEXT,elaboration
JSONB columns- Start with a single default row with
orchestration_nature_id
calledV&V
andnature
calledVerification and Validation
- We will start with one type of “orchestration” called “V&V” and then we will add more later after V&V is done
- Start with a single default row with
-
orch_session
-> use it as it but call itorchestration_session
- add a text column called
orchestration_nature_id
to this table and default it toV&V
foreign key above.
- add a text column called
-
orch_session_entry
->orchestration_session_entry
-
orch_session_state
->orchestration_session_state
-
orch_session_exec
->orchestration_session_exec
-
orch_session_issue
->orchestration_session_issue
-
Bug Fixes
- GitLab Batch Size: The default used to be 20; however, it will now be determined by the
--batch-size
argument provided.
surveilr 0.9.17
Release notes for Resource Surveillance (surveilr
) 0.9.17
What's New
- Work Package and Child Tracking: Monitor work packages and their sub-packages, including nested conversations and intricate threading.
- Activities: Detailed timeline tracking for activities related to work packages.
- Comments: Detailed comments on work packages.
- Work Package Types: Classification of work packages.
surveilr 0.9.16
Release notes for Resource Surveillance (surveilr
) 0.9.16
What's New
- Lineage Tracking: Capture detailed lineage information, including the system and authentication methods used.
- Projects and Subprojects: Track and monitor both projects and their subprojects, ensuring comprehensive coverage of all project activities.
- Work Packages Tracking:
- Work Packages Assignments: Track assignments of work packages over time to see how task ownership evolves throughout the project lifecycle.
4, Relationship Mapping Understand and visualize the relationships between projects and their associated work packages, facilitating better project management and oversight.
- Work Packages Assignments: Track assignments of work packages over time to see how task ownership evolves throughout the project lifecycle.
- Time Tracking : Implement detailed time tracking for both projects and issues, allowing for precise measurement and analysis of effort and progress.
surveilr 0.9.15
Release notes for Resource Surveillance (surveilr
) 0.9.15