Skip to content

Releases: opsfolio/releases.opsfolio.com

surveilr 0.12.1

19 Aug 09:44
283a762
Compare
Choose a tag to compare

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:

  1. Orchestration Command Updates:

    • All transformation commands now belong under orchestration.
    • The following commands have been updated:
      • surveilr transform csv is now surveilr orchestrate transform-csv.
      • surveilr transform html is now surveilr orchestrate transform-html.
      • The XML transformation functionality will be available in the next release.
  2. 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').
    • surveilr_ensure_orchestration_nature(<nature_id>, <nature>):
      • Ensures that the given orchestration nature is present in the database.
  3. Remote Script Execution:

    • Remote files can now be run as scripts.
  4. Stdin Support:

    • Stdin support has been added for passing scripts to surveilr.
    • Example: cat script.sql | surveilr orchestrate -n "v&v".

Bug Fixes:

  1. Fixed Surveilr Web-UI Automatic Opener:
    • Resolved an issue with the automatic opener for the Surveilr web UI.

surveilr 0.12.0

15 Aug 16:09
283a762
Compare
Choose a tag to compare

Release notes for Resource Surveillance (surveilr) 0.12.0

surveilr 0.11.1

09 Aug 14:21
283a762
Compare
Choose a tag to compare

Release notes for Resource Surveillance (surveilr) 0.11.1

surveilr 0.11.0

07 Aug 12:04
283a762
Compare
Choose a tag to compare

Release notes for Resource Surveillance (surveilr) 0.11.0

What's New

  1. 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.
  2. Server Start Message:

    • Updated the server start message to read: "RSSD Web UI is now running on ...", enhancing clarity for users monitoring server status.
  3. SQLPage

    • Updated SQLPage to the latest version, ensuring compatibility and access to the newest features and bug fixes.

Bug Fixes

  1. 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).
  2. SQLPage Directory Creation:

    • Disabled the SQLPage feature that was creating an empty sqlpage directory with each execution, preventing unnecessary directory creation.
  3. Multitenant Support

    • Fixed the error during ingestion related to multitenant support by seeding the party_types back into the models directly.

surveilr 0.10.2

05 Aug 17:31
283a762
Compare
Choose a tag to compare

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 to webui. You can now launch the web interface using the command surveilr 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 named device_id, but now the word surveilr_ has been added as a prefix to denote that it is a surveilr specific function.

surveilr 0.10.1

05 Aug 10:16
283a762
Compare
Choose a tag to compare

Release notes for Resource Surveillance (surveilr) 0.10.1

What's New

  1. 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
  2. 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.

  3. 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 corresponding surveilr_orch_completed state.
  4. Session Management
    When an orchestratio session is started through the command line, it inserts a record into orchestration_session_state with the from_state column set to surveilr_orch_init and the to_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, with to_state colums set to surveilr_orch_completed, marking the session as complete.

  5. 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

25 Jul 13:34
283a762
Compare
Choose a tag to compare

Release notes for Resource Surveillance (surveilr) 0.10.0

What's New

  1. Orchestration models
    • devicesurveilr already has a device table but check to see if we need to enhance it.
    • Add a table called orchestration_nature with a orchestration_nature_id TEXT ID primary key (not UUID), required nature TEXT, elaboration JSONB columns
      • Start with a single default row with orchestration_nature_id called V&V and nature called Verification 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
    • orch_session -> use it as it but call it orchestration_session
      • add a text column called orchestration_nature_id to this table and default it to V&V foreign key above.
    • 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

23 Jul 15:08
283a762
Compare
Choose a tag to compare

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

22 Jul 15:12
283a762
Compare
Choose a tag to compare

Release notes for Resource Surveillance (surveilr) 0.9.16

What's New

  1. Lineage Tracking: Capture detailed lineage information, including the system and authentication methods used.
  2. Projects and Subprojects: Track and monitor both projects and their subprojects, ensuring comprehensive coverage of all project activities.
  3. 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.
  4. 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

19 Jul 16:48
283a762
Compare
Choose a tag to compare

Release notes for Resource Surveillance (surveilr) 0.9.15