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

Multi level connections are not supported #8647

Open
ramya-c3 opened this issue Jan 6, 2025 · 0 comments
Open

Multi level connections are not supported #8647

ramya-c3 opened this issue Jan 6, 2025 · 0 comments
Labels

Comments

@ramya-c3
Copy link

ramya-c3 commented Jan 6, 2025

Environment info

  • NooBaa Version: 4.18
  • Platform: standalone

Actual behavior

  1. if we have more than one connection in the notification.json then notifications are not working

cat connection.json

{
        "agent_request_object": {"host": "test-23.vmlocal", "port": 9001, "timeout": 100},
        "request_options_object": {"auth": "root:test","path": "/webhook"},
        "notification_protocol": "http",
        "name": "notify_event1"
}
 
 

cat connection1.json

{
        "agent_request_object": {"host": "test-24.vmlocal", "port": 9001, "timeout": 100},
        "request_options_object": {"auth": "root:test","path": "/webhook"},
        "notification_protocol": "http",
        "name": "notify_event1"
}
 
 
#cat notification.json
 
{
  "TopicConfigurations": [
    {
      "Id": "notify_event",
      "TopicArn": "connection1.json",
      "Events": [
        "s3:ObjectCreated:"
      ]
    },
  {
      "Id": "notify_event1”,
      "TopicArn": "connection.json",
      "Events": [
        "s3:ObjectCreated:
"
      ]
    }
  ]
}
 
#s3cp1 s3api put-bucket-notification-configuration --bucket bucket27 --notification-configuration file://notification.json
 

s3cp1 s3api get-bucket-notification-configuration --bucket bucket27

{
    "TopicConfigurations": [
        {
            "Id": [
               
 
Circular reference detected

Expected behavior

  1. the get bucket notification should list all the connections

Steps to reproduce

More information - Screenshots / Logs / Other output

Expected behavior

Steps to reproduce

More information - Screenshots / Logs / Other output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant