-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cookie updated by NetworkToCode Cookie Drift Manager Tool (#329)
* Cookie updated by NetworkToCode Cookie Drift Manager Tool Template: ``` { "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git", "dir": "nautobot-app", "ref": "refs/tags/nautobot-app-v2.4.1", "path": null } ``` Cookie: ``` { "remote": "https://github.com/nautobot/nautobot-app-circuit-maintenance.git", "path": "/tmp/tmphmksrds_/nautobot-app-circuit-maintenance", "repository_path": "/tmp/tmphmksrds_/nautobot-app-circuit-maintenance", "dir": "", "branch_prefix": "drift-manager", "context": { "codeowner_github_usernames": "@chadell @glennmatthews @pke11y @scetron", "full_name": "Network to Code, LLC", "email": "[email protected]", "github_org": "nautobot", "app_name": "nautobot_circuit_maintenance", "verbose_name": "Circuit Maintenance", "app_slug": "nautobot-circuit-maintenance", "project_slug": "nautobot-app-circuit-maintenance", "repo_url": "https://github.com/nautobot/nautobot-app-circuit-maintenance", "base_url": "circuit-maintenance", "min_nautobot_version": "2.0.0", "max_nautobot_version": "2.9999", "camel_name": "NautobotCircuitMaintenance", "project_short_description": "Nautobot App that automatically manages network circuit maintenance notifications. Dynamically reads email inboxes (or APIs) and updates Nautobot mapping circuit maintenances to devices", "model_class_name": "CircuitMaintenance", "open_source_license": "Apache-2.0", "docs_base_url": "https://docs.nautobot.com", "docs_app_url": "https://docs.nautobot.com/projects/circuit-maintenance/en/latest", "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git", "_output_dir": "/tmp/tmphmksrds_", "_repo_dir": "/github/home/.cookiecutters/cookiecutter-nautobot-app/nautobot-app", "_checkout": "refs/tags/nautobot-app-v2.4.1" }, "base_branch": "develop", "remote_name": "origin", "pull_request_strategy": "PullRequestStrategy.CREATE", "post_actions": [ "PostAction.RUFF", "PostAction.POETRY" ], "baked_commit_ref": "f2ef7194f608b73ab88cb19070bbbd68a586e776", "draft": false } ``` CLI Arguments: ``` { "cookie_dir": "", "input": false, "json_filename": "", "output_dir": "", "push": true, "template": "", "template_dir": "", "template_ref": "refs/tags/nautobot-app-v2.4.1", "pull_request": null, "post_action": [ "ruff", "poetry" ], "disable_post_actions": true, "draft": false } ``` * Address issues from Drift Manager. Also implements SearchFilter instead of using the custom search function. --------- Co-authored-by: bakebot <[email protected]> Co-authored-by: Stephen Kiely <[email protected]>
- Loading branch information
1 parent
fbdba32
commit d9dd4fb
Showing
16 changed files
with
968 additions
and
928 deletions.
There are no files selected for viewing
This file contains 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
File renamed without changes.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Rebaked from the cookie `nautobot-app-v2.4.1`. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"""REST API module for circuit maintenance app.""" | ||
"""REST API module for nautobot_circuit_maintenance app.""" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
"""URLS for Circuit Maintenance API.""" | ||
"""Django API urlpatterns declaration for nautobot_circuit_maintenance app.""" | ||
|
||
from rest_framework import routers | ||
from nautobot.apps.api import OrderedDefaultRouter | ||
|
||
from . import views | ||
from nautobot_circuit_maintenance.api import views | ||
|
||
router = routers.DefaultRouter() | ||
router = OrderedDefaultRouter() | ||
# add the name of your api endpoint, usually hyphenated model name in plural, e.g. "my-model-classes" | ||
router.register("maintenance", views.MaintenanceTaskView) | ||
router.register("note", views.MaintenanceNoteTaskView) | ||
router.register("circuitimpact", views.MaintenanceCircuitImpactTaskView) | ||
router.register("notificationsource", views.NotificationSourceTaskView) | ||
router.register("parsednotification", views.ParsedNotificationTaskView) | ||
router.register("rawnotification", views.RawNotificationTaskView) | ||
|
||
app_name = "nautobot_circuit_maintenance-api" # pylint: disable=invalid-name | ||
urlpatterns = router.urls |
This file contains 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
Oops, something went wrong.