- 
                Notifications
    
You must be signed in to change notification settings  - Fork 88
 
CLOUDP-291620: Add streams privateLink create command #3616
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
Conversation
19189fd    to
    b450eae      
    Compare
  
    b450eae    to
    7019e36      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
        5ec1d8f
      
    | Times(1) | ||
| 
               | 
          ||
| require.NoError(t, createOpts.Run()) | ||
| assert.Equal(t, "Atlas Stream Processing PrivateLink endpoint "+expectedInterfaceEndpointID+" created.\n", buf.String()) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can for sure be part of the test matrix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am running into issues bringing this up into the test matrix function because the mock store does not get called so the assertions (even though they are weak and I don't care about them) fail, but I need them to force a store return value that I can consistently assert against for this string where this comment is. Adding conditionals to my test matrix to have different branches within my test defeats the purpose of a test matrix in my opinion so I think leaving this as a separate test makes the most sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah if too hard no worries but was worth flagging that output check could be part of a matrix
…gainst empty string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Proposed changes
Add the ability for users to create PrivateLink endpoints that can be used by atlas stream processors. The configuration for the PrivateLink endpoint will be managed in a .json file, which will be read into the configuration struct.
Jira ticket: CLOUDP-291620
Checklist
make fmtand formatted my codeFurther comments