Open
Conversation
…ort-issue Backport issue for grafana
* Cookie updated by NetworkToCode Cookie Drift Manager Tool
Template:
```
{
"template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
"dir": "nautobot-app",
"ref": "nautobot-app-v2.7.2",
"path": null
}
```
Cookie:
```
{
"remote": "https://github.com/nautobot/nautobot-app-chatops.git",
"path": "/tmp/tmp_8i7076w/nautobot-app-chatops",
"repository_path": "/tmp/tmp_8i7076w/nautobot-app-chatops",
"dir": "",
"branch_prefix": "drift-manager/ltm-2.4",
"context": {
"codeowner_github_usernames": "@glennmatthews @jvanderaa @smk4664 @whitej6",
"full_name": "Network to Code, LLC",
"email": "opensource@networktocode.com",
"github_org": "nautobot",
"app_name": "nautobot_chatops",
"verbose_name": "Nautobot ChatOps App",
"app_slug": "nautobot-chatops",
"project_slug": "nautobot-app-chatops",
"repo_url": "https://github.com/nautobot/nautobot-app-chatops",
"base_url": "chatops",
"camel_name": "NautobotChatOpsApp",
"project_short_description": "Nautobot ChatOps App",
"model_class_name": "CommandLog",
"open_source_license": "Apache-2.0",
"docs_base_url": "https://docs.nautobot.com",
"docs_app_url": "https://docs.nautobot.com/projects/chatops/en/latest",
"_extensions": [
"local_extensions.camel_case_to_kebab",
"local_extensions.camel_case_to_words",
"local_extensions.NautobotVersions"
],
"_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
"_output_dir": "/tmp/tmp_8i7076w",
"_repo_dir": "/github/home/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
"_checkout": "nautobot-app-v2.7.2"
},
"drift_managed_branch": "ltm-2.4",
"remote_name": "origin",
"pull_request_strategy": "PullRequestStrategy.UPDATE_OR_CREATE",
"post_actions": [],
"baked_commit_ref": "2587cbc785137e99ad553737141363017f123aef",
"draft": false
}
```
CLI Arguments:
```
{
"cookie_dir": "",
"input": false,
"json_filename": "",
"output_dir": "",
"push": true,
"template": "",
"template_dir": "",
"template_ref": "nautobot-app-v2.7.2",
"pull_request": "update-or-create",
"post_action": [],
"disable_post_actions": true,
"draft": null,
"drift_managed_branch": "ltm-2.4"
}
```
* Apply suggestion from @gsnider2195
---------
Co-authored-by: bakebot <info@networktocode.com>
Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>
Release v3.3.0
django.core.exceptions.SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #
What's Changed
Added support for slack automatic token rotation.
Token rotation is described here https://docs.slack.dev/authentication/using-token-rotation/ but the summary is that it replaces the static bot token with a pair of access and refresh tokens. Access expires every 12 hours, refresh is one-time use.
Some companies security policies require token rotation, and this PR makes nautobot chatops work for them.
To Do