Socs

Latest version: v0.5.2

Safety actively analyzes 682698 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

0.10.2

Description
Release v0.10.2 mostly contains bug fixes and quality of life improvements.

Address Root
Bug fix 327 effectively adds the functionality provided by the "address_root". This allows you to set the address root to a string other than 'observatory', however you must then adjust settings in your crossbar server configuration. See the updated [System Configuration](https://ocs.readthedocs.io/en/main/user/configuration.html) pages for the [SCF](https://ocs.readthedocs.io/en/main/user/site_config.html) and [Crossbar Configuration](https://ocs.readthedocs.io/en/main/user/crossbar_config.html) for more details.

> **Note**
> Changing the address root on an existing system will have implications for viewing the data in Grafana and loading from .g3 file, as all feed names will change to include the new address root.

What's Changed

New Features
* Separate blocks for each registered operation by jlashner in https://github.com/simonsobs/ocs/pull/312
* ocs-agent-cli renames itself in process list by mhasself in https://github.com/simonsobs/ocs/pull/325

Bug Fixes
* Add `importlib_metadata` dependency for ocs-agent-cli by BrianJKoopman in https://github.com/simonsobs/ocs/pull/323
* Revist address_root != "observatory" by mhasself in https://github.com/simonsobs/ocs/pull/327
* Cast tuple param before type check by BrianJKoopman in https://github.com/simonsobs/ocs/pull/332
* Support direct start calls with params to param decorated Tasks/Processes by BrianJKoopman in https://github.com/simonsobs/ocs/pull/333

Testing
* Test when registry block changes by BrianJKoopman in https://github.com/simonsobs/ocs/pull/314
* Test/development portability by cnweaver in https://github.com/simonsobs/ocs/pull/319

Documentation
* Update session.data example in main registry process by BrianJKoopman in https://github.com/simonsobs/ocs/pull/310
* Fix readthedocs builds by BrianJKoopman in https://github.com/simonsobs/ocs/pull/328

Version Updates
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/simonsobs/ocs/pull/308
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/simonsobs/ocs/pull/316
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/simonsobs/ocs/pull/321

Misc.
* Replace master and develop branches with "main" branch by BrianJKoopman in https://github.com/simonsobs/ocs/pull/309
* Fix the github workflow badge by BrianJKoopman in https://github.com/simonsobs/ocs/pull/315
* Change warning text by mhasself in https://github.com/simonsobs/ocs/pull/318

**Full Changelog**: https://github.com/simonsobs/ocs/compare/v0.10.1...v0.10.2

0.10.1

Description
Release v0.10.1 is mostly bug fixes and performance improvements.

Users are especially encouraged to upgrade the registry and influxdb publisher agents, as major performance improvements have been made which become necessary when the OCS network grows to a certain size. These improvements reduce I/O load on the system.

What's Changed

New Features
* Adds wait-time arg to registry by jlashner in https://github.com/simonsobs/ocs/pull/296

Bug Fixes
* Check for bool when formatting line protocol by BrianJKoopman in https://github.com/simonsobs/ocs/pull/297
* Combine payloads before writing to influxdb by BrianJKoopman in https://github.com/simonsobs/ocs/pull/301
* Update ocs-local-support so it can launch HostManager again by mhasself in https://github.com/simonsobs/ocs/pull/298
* Add boolean support to Aggregator by BrianJKoopman in https://github.com/simonsobs/ocs/pull/299
* Remove 10 second fresh_time on registry feed by BrianJKoopman in https://github.com/simonsobs/ocs/pull/303
* Sanitize session data by mhasself in https://github.com/simonsobs/ocs/pull/304

Version Updates
* Bump actions/checkout from 2 to 3 by dependabot in https://github.com/simonsobs/ocs/pull/292
* Bump actions/setup-python from 2 to 4 by dependabot in https://github.com/simonsobs/ocs/pull/291
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/simonsobs/ocs/pull/294

Misc.
* Setup pre-commit and run on all files by BrianJKoopman in https://github.com/simonsobs/ocs/pull/288
* Configure dependabot by BrianJKoopman in https://github.com/simonsobs/ocs/pull/289
* GitHub Actions workflow improvements by BrianJKoopman in https://github.com/simonsobs/ocs/pull/293
* Deploy on v0* pre-release tags by BrianJKoopman in https://github.com/simonsobs/ocs/pull/306

New Contributors
* dependabot made their first contribution in https://github.com/simonsobs/ocs/pull/292
* pre-commit-ci made their first contribution in https://github.com/simonsobs/ocs/pull/294

**Full Changelog**: https://github.com/simonsobs/ocs/compare/v0.10.0...v0.10.1

0.10.0

Description
<!--- Describe your changes in detail -->
There are several large changes in release v0.10.0. These may require user action, as described below.

ocs-web
ocs-web has been [removed from this repository](https://github.com/simonsobs/ocs/pull/280). It has been replaced by an improved Vue.js version kept in [simonsobs/ocs-web](https://github.com/simonsobs/ocs-web).

Current users of ocs-web should upgrade to the new Vue.js based version. Setup instructions, including how to run with the provided Docker image, are located in the [ocs-web repo's README file](https://github.com/simonsobs/ocs-web/blob/main/README.md).

OCS Plugins
v0.10.0 [adds](https://github.com/simonsobs/ocs/pull/284) the [OCS Plugin system](https://ocs.readthedocs.io/en/develop/developer/writing-plugins.html). This has moved all core OCS Agents to be within the ocs package. (They were previously in a separate `agents/` directory.) This allows core Agent installation via pip from PyPI.

During this change all core ocs Agent Docker images have been merged into a single image. All core Agents can now be run from the [simonsobs/ocs image](https://hub.docker.com/r/simonsobs/ocs). Configuration of the image can now largely be done by setting environment variables. For example, to run a fake data Agent a docker-compose service would look like:

fake-data1:
image: simonsobs/ocs:v0.10.0
hostname: ocs-docker
environment:
- INSTANCE_ID=fake-data1
volumes:
- ${OCS_CONFIG_DIR}:/config:ro


Please see each Agent's respective reference page for updated configuration file information.

Separate Agent images will not be built moving forward, so in order to update you must switch to using the new `simonsobs/ocs:v0.10.0` image.

Task Abort
Task aborting has been a long planned feature of ocs. It is now [implemented](https://github.com/simonsobs/ocs/pull/253). Agent developers can now add the ability to abort tasks. You can read about how to do so in the [newly re-written](https://github.com/simonsobs/ocs/pull/279) [Agent Writing Guide](https://ocs.readthedocs.io/en/develop/developer/writing_an_agent/index.html). More specifically see "[Aborting a Task](https://ocs.readthedocs.io/en/develop/developer/writing_an_agent/task.html#aborting-a-task)".

OCS now tries to run the Process stop command in the same threading context as the Process itself (the same is true for Task aborts.) Existing Agents with their process start/stop commands in differing contexts can still be run, but OCS will print a warning. Agent developers are encouraged to put their start/stops in the same context. See the Agent guide above for details.

What's Changed
New Features
* Create OCS Plugin system by BrianJKoopman in https://github.com/simonsobs/ocs/pull/284
* Task abort and other stop fix-ups by mhasself in https://github.com/simonsobs/ocs/pull/253

Documentation Updates
* docs: Address quickstart guide issues by BrianJKoopman in https://github.com/simonsobs/ocs/pull/276
* Rewrite Agent developer guide by BrianJKoopman in https://github.com/simonsobs/ocs/pull/279
* Fix broken link to agent docs template by BrianJKoopman in https://github.com/simonsobs/ocs/pull/283
* docs: Fix path to ocs_plugin_standard.py in agent guide by BrianJKoopman in https://github.com/simonsobs/ocs/pull/286

Bug Fixes
* Fix flaky registry test by BrianJKoopman in https://github.com/simonsobs/ocs/pull/278

Misc.
* Remove OCS web by mhasself in https://github.com/simonsobs/ocs/pull/280

**Full Changelog**: https://github.com/simonsobs/ocs/compare/v0.9.3...v0.10.0

0.9.3

What's Changed
* Replace docker login with docker/login-action by BrianJKoopman in https://github.com/simonsobs/ocs/pull/267
* Add agent_class to encoded feed by jlashner in https://github.com/simonsobs/ocs/pull/265
* Passes environment variables to docker subprocesses by jlashner in https://github.com/simonsobs/ocs/pull/268
* Add boolean support to feeds by BrianJKoopman in https://github.com/simonsobs/ocs/pull/269
* Create __repr__ for OCSClient by BrianJKoopman in https://github.com/simonsobs/ocs/pull/270
* Enable data feed buffer in fake data agent by BrianJKoopman in https://github.com/simonsobs/ocs/pull/271


**Full Changelog**: https://github.com/simonsobs/ocs/compare/v0.9.2...v0.9.3

0.9.2

What's Changed
* Use pip installed so3g in GH Action workflows by BrianJKoopman in https://github.com/simonsobs/ocs/pull/256
* Hostremaster by mhasself in https://github.com/simonsobs/ocs/pull/234
* Cherry-pick better agent handling and logs from host manager work by BrianJKoopman in https://github.com/simonsobs/ocs/pull/261
* Bump minimum python version, fix link, shuffle shields by BrianJKoopman in https://github.com/simonsobs/ocs/pull/262


**Full Changelog**: https://github.com/simonsobs/ocs/compare/v0.9.1...v0.9.2

0.9.1

Description
v0.9.1 is a relatively small release. The only new feature is the availability of the new testing module to help out with testing Agents.

Change Log
New Features
* Move useful integration testing utils to main library (252 )

Bug Fixes
* Remove testpypi from twine upload step (249)

Misc.
* Remove spt3g/so3g dependency from the Registry (250)
* tests: test_params for the params decorator system (242)

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.