-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from chadell/release-v1.2.0
Release v1.2.0
- Loading branch information
Showing
17 changed files
with
1,443 additions
and
1,221 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
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
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
23 changes: 23 additions & 0 deletions
23
nautobot_ssot/migrations/0003_alter_synclogentry_textfields.py
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,23 @@ | ||
# Generated by Django 3.2.15 on 2022-09-27 13:52 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("nautobot_ssot", "0002_performance_metrics"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="synclogentry", | ||
name="message", | ||
field=models.TextField(blank=True), | ||
), | ||
migrations.AlterField( | ||
model_name="synclogentry", | ||
name="object_repr", | ||
field=models.TextField(blank=True, default="", editable=False), | ||
), | ||
] |
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,7 @@ | ||
"""Unit tests for nautobot_ssot plugin.""" | ||
|
||
from django.conf import settings | ||
|
||
if "job_logs" in settings.DATABASES: | ||
settings.DATABASES["job_logs"] = settings.DATABASES["job_logs"].copy() | ||
settings.DATABASES["job_logs"]["TEST"] = {"MIRROR": "default"} |
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,16 @@ | ||
"""Override of classes.""" | ||
from nautobot.extras.jobs import Job | ||
from nautobot_ssot.jobs import DataSource as _DataSource, DataTarget as _DataTarget | ||
from nautobot_ssot.jobs.base import DataSyncBaseJob as _DataSyncBaseJob | ||
|
||
|
||
class DataSyncBaseJob(_DataSyncBaseJob, Job): # pylint: disable=abstract-method | ||
"""DataSyncBaseJob import of the sync base job and Nautobot Job.""" | ||
|
||
|
||
class DataSource(_DataSource, Job): # pylint: disable=abstract-method | ||
"""DataSource import of the DataSource job and Nautobot Job.""" | ||
|
||
|
||
class DataTarget(_DataTarget, Job): # pylint: disable=abstract-method | ||
"""DataSyncBaseJob import of the DataTarget job and Nautobot Job.""" |
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
Oops, something went wrong.