Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated functions and update OPA packages #684

Conversation

srivastavasujay
Copy link

Description

This PR fixes issue #677

  1. broker/nats/nats.go
    Removed deprecated nats.EncodedConn and related methods:
    Replaced nats.EncodedConn with nats.Conn.
    Removed nats.NewEncodedConn and handled message encoding manually using encoding/json.
    Updated methods to use nats.Conn for publishing and subscribing messages.

  2. models/meshmodel/core/policies/rego_policy_relationship.go:
    Updated OPA packages to use v1 versions:

  3. models/oci/oci.go
    Replaced deprecated oras.PackManifestVersion1_1_RC4

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

welcome bot commented Feb 14, 2025

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, you can find updates in the #github-notifications channel in the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while performing a commit.

@srivastavasujay srivastavasujay force-pushed the bug/srivastavasujay/issue#677 branch from 9d78b2d to 9f5db49 Compare February 14, 2025 19:22
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