Skip to content

Conversation

@cmickeyb
Copy link
Contributor

The guardian service is a component used by several contract packages. This pulls out an operation independent version that can be used across all of the contract families. Each family need only define the operations specific to their contract requirements.

The guardian service is a component used by several contract packages.
This pulls out an operation independent version that can be used across
all of the contract families. Each family need only define the operations
specific to their contract requirements.

Signed-off-by: Mic Bowman <mic.bowman@intel.com>
@cmickeyb cmickeyb requested a review from Copilot April 22, 2025 14:28
@cmickeyb cmickeyb self-assigned this Apr 22, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extracts the guardian service into a dedicated, reusable package to be shared across contract families.

  • Consolidates guardian-related operations into a separate module and updates related import paths.
  • Updates package dependencies in setup.py and adjusts configuration in the service’s TOML file.
  • Introduces new guardian common modules and updates wsgi endpoint references.

Reviewed Changes

Copilot reviewed 26 out of 28 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
inference-contract/etc/guardian_service.toml Added Operations setting (note module path may need review)
common-contract/setup.py Updated dependencies and added pdo-sservice dependency
common-contract/pdo/contracts/guardian/wsgi/*.py Refactored imports from pdo.inference to pdo.contracts.guardian
common-contract/pdo/contracts/guardian/common/*.py Added new common modules for the guardian package
common-contract/pdo/contracts/init.py Updated all to include guardian components
Files not reviewed (2)
  • common-contract/MANIFEST: Language not supported
  • inference-contract/MANIFEST: Language not supported

@cmickeyb cmickeyb merged commit f922595 into hyperledger-labs:main Apr 22, 2025
4 checks passed
@cmickeyb cmickeyb deleted the mic.apr21.guardian branch April 22, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant