-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add NSO integration #288
Add NSO integration #288
Conversation
Quick note to say that integration docs structure has been slightly changed by #265 (to align with the way it's done by SSoT), which will require a bit of an update in this PR and a rebase. |
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 curious what CommandFilter is used for. Is it not possible to do something similar without adding a new model?
fad0a5d
to
2d2912d
Compare
4bb4626
to
651da37
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.
As discussed, we will be removing the model and switching to another method for filtering commands.
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.
As discussed on call, we are going to try to replace this model with a config instead, so we do not add a required model in the database for an optional integration.
# Conflicts: # poetry.lock # pyproject.toml
@@ -48,7 +49,7 @@ | |||
with contextlib.suppress(ObjectDoesNotExist): | |||
admin = User.objects.get(name="admin") | |||
ChatOpsAccountLink.objects.update_or_create( | |||
user_id="jactwicuqb8bu8pau8mgjydzeo", |
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.
Why did this change?
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.
To match the Mattermost SQL dump. Mattermost integration didn't work without this change
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.
Thank you for all of your work for this!
TODO: