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

Bug/srivastavasujay/issue#677 #685

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

srivastavasujay
Copy link

Description

This PR fixes #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.Fix Subscribe method signature in Nats struct to match broker.Handler interface

  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.

Signed-off-by: srivastavasujay <sujaysrivastava98@gmail.com>
… interface

Signed-off-by: srivastavasujay <sujaysrivastava98@gmail.com>
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.

nats.EncodedConn is deprecated: Encoded connections are no longer supported.
1 participant