Skip to content
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

fix: migrate from bl4ko to src-doo #503

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: cover.txt
slug: bl4ko/netbox-ssot
slug: src-doo/netbox-ssot

vulnerabilities:
name: Check for vulnerabilities
Expand Down
18 changes: 9 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ linters-settings:
locale: US
errcheck:
exclude-functions:
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Debug
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Debugf
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Info
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Infof
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Warning
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Warningf
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Error
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Errorf
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Output
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Debug
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Debugf
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Info
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Infof
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Warning
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Warningf
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Error
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Errorf
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Output

issues:
max-issues-per-linter: 50
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ ARG CREATED
ARG COMMIT

LABEL \
org.opencontainers.image.authors="bl4ko" \
org.opencontainers.image.authors="src-doo" \
org.opencontainers.image.created=$CREATED \
org.opencontainers.image.version=$VERSION \
org.opencontainers.image.revision=$COMMIT \
org.opencontainers.image.url="https://github.com/bl4ko/netbox-ssot" \
org.opencontainers.image.documentation="https://github.com/bl4ko/netbox-ssot/blob/main/README.md" \
org.opencontainers.image.source="https://github.com/bl4ko/netbox-ssot" \
org.opencontainers.image.url="https://github.com/src-doo/netbox-ssot" \
org.opencontainers.image.documentation="https://github.com/src-doo/netbox-ssot/blob/main/README.md" \
org.opencontainers.image.source="https://github.com/src-doo/netbox-ssot" \
org.opencontainers.image.title="Netbox-ssot" \
org.opencontainers.image.description="Microservice for syncing Netbox with multiple external sources."

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ SHELL := /bin/bash
build_and_push:
docker buildx build \
--platform linux/amd64,linux/arm64,linux/arm/v7 \
-t ghcr.io/src-doo/netbox-ssot:v1.10.0 --push .
-t ghcr.io/src-doo/netbox-ssot:develop --push .
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Netbox-SSOT

[![Go](https://github.com/bl4ko/netbox-ssot/actions/workflows/ci.yml/badge.svg)](https://github.com/bl4ko/netbox-ssot/actions/workflows/ci.yml)
![GitHub last commit](https://img.shields.io/github/last-commit/bl4ko/netbox-ssot)
![GitHub Tag](https://img.shields.io/github/v/tag/bl4ko/netbox-ssot)
[![codecov](https://codecov.io/gh/bl4ko/netbox-ssot/graph/badge.svg?token=W0GQQKS6BP)](https://codecov.io/gh/bl4ko/netbox-ssot)
![GitHub License](https://img.shields.io/github/license/bl4ko/netbox-ssot)
[![Go](https://github.com/src-doo/netbox-ssot/actions/workflows/ci.yml/badge.svg)](https://github.com/src-doo/netbox-ssot/actions/workflows/ci.yml)
![GitHub last commit](https://img.shields.io/github/last-commit/src-doo/netbox-ssot)
![GitHub Tag](https://img.shields.io/github/v/tag/src-doo/netbox-ssot)
[![codecov](https://codecov.io/gh/src-doo/netbox-ssot/graph/badge.svg?token=W0GQQKS6BP)](https://codecov.io/gh/src-doo/netbox-ssot)
![GitHub License](https://img.shields.io/github/license/src-doo/netbox-ssot)

Netbox-ssot is a small but powerful microservice designed to
keep your Netbox instance in sync with external data sources.
Expand Down
16 changes: 9 additions & 7 deletions benchmark/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"context"
"fmt"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/logger"
"github.com/bl4ko/netbox-ssot/internal/netbox/inventory"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/parser"
"github.com/bl4ko/netbox-ssot/internal/utils"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/logger"
"github.com/src-doo/netbox-ssot/internal/netbox/inventory"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/parser"
"github.com/src-doo/netbox-ssot/internal/utils"
)

const (
Expand Down Expand Up @@ -91,7 +91,9 @@ func InitManufacturers(ctx context.Context, n int, nbi *inventory.NetboxInventor

func InitPlatforms(ctx context.Context, n int, nbi *inventory.NetboxInventory) {
for i := 0; i < n; i++ {
manufacturer, _ := nbi.GetManufacturer(fmt.Sprintf("Manufacturer %d", i%NumberOfManufacturers))
manufacturer, _ := nbi.GetManufacturer(
fmt.Sprintf("Manufacturer %d", i%NumberOfManufacturers),
)
platformName := fmt.Sprintf("Platform %d", i)
_, err := nbi.AddPlatform(ctx, &objects.Platform{
Name: platformName,
Expand Down
12 changes: 6 additions & 6 deletions cmd/netbox-ssot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"sync"
"time"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/logger"
"github.com/bl4ko/netbox-ssot/internal/netbox/inventory"
"github.com/bl4ko/netbox-ssot/internal/parser"
"github.com/bl4ko/netbox-ssot/internal/source"
"github.com/bl4ko/netbox-ssot/internal/source/common"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/logger"
"github.com/src-doo/netbox-ssot/internal/netbox/inventory"
"github.com/src-doo/netbox-ssot/internal/parser"
"github.com/src-doo/netbox-ssot/internal/source"
"github.com/src-doo/netbox-ssot/internal/source/common"
)

var configPath = flag.String("config", "config.yaml", "Path to the configuration file")
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module github.com/bl4ko/netbox-ssot
module github.com/src-doo/netbox-ssot

go 1.23.6

require (
github.com/PaloAltoNetworks/pango v0.10.2
github.com/bl4ko/go-devicetype-library v0.1.55
github.com/cisco-en-programmability/dnacenter-go-sdk/v7 v7.0.0
github.com/luthermonson/go-proxmox v0.2.1
github.com/ovirt/go-ovirt v4.3.4+incompatible
github.com/scrapli/scrapligo v1.3.3
github.com/src-doo/go-devicetype-library v0.1.56
github.com/vmware/govmomi v0.48.1
golang.org/x/text v0.22.0
gopkg.in/yaml.v3 v3.0.1
Expand All @@ -25,7 +25,7 @@ require (
github.com/jinzhu/copier v0.4.0 // indirect
github.com/magefile/mage v1.15.0 // indirect
github.com/sirikothe/gotextfsm v1.0.1-0.20200816110946-6aa2cfd355e4 // indirect
golang.org/x/crypto v0.32.0 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/crypto v0.35.0 // indirect
golang.org/x/net v0.35.0 // indirect
golang.org/x/sys v0.30.0 // indirect
)
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/PaloAltoNetworks/pango v0.10.2 h1:Tjn6vIzzAq6Dd7N0mDuiP8w8pz8k5W9zz/TTSUQCsQY=
github.com/PaloAltoNetworks/pango v0.10.2/go.mod h1:GztcRnVLur7G+VFG7Z5ZKNFgScLtsycwPMp1qVebE5g=
github.com/bl4ko/go-devicetype-library v0.1.55 h1:LiWK/qMUbNXubzuyNIZD+kMal3sHhVUmgm74x5OHmPI=
github.com/bl4ko/go-devicetype-library v0.1.55/go.mod h1:Pzm1BlRyR4uECezsRINDA6ZieFPumdFL+6yySpXM6t8=
github.com/buger/goterm v1.0.4 h1:Z9YvGmOih81P0FbVtEYTFF6YsSgxSUKEhf/f9bTMXbY=
github.com/buger/goterm v1.0.4/go.mod h1:HiFWV3xnkolgrBV3mY8m0X0Pumt4zg4QhbdOzQtB8tE=
github.com/cisco-en-programmability/dnacenter-go-sdk/v7 v7.0.0 h1:oAHsGmf+Vvs3lHRshDEFA+nKoTLcfL0NHBr4kGN46M0=
Expand Down Expand Up @@ -55,22 +53,24 @@ github.com/sirikothe/gotextfsm v1.0.1-0.20200816110946-6aa2cfd355e4 h1:FHUL2HofY
github.com/sirikothe/gotextfsm v1.0.1-0.20200816110946-6aa2cfd355e4/go.mod h1:CJYqpTg9u5VPCoD0VEl9E68prCIiWQD8m457k098DdQ=
github.com/sirupsen/logrus v1.9.4-0.20230606125235-dd1b4c2e81af h1:Sp5TG9f7K39yfB+If0vjp97vuT74F72r8hfRpP8jLU0=
github.com/sirupsen/logrus v1.9.4-0.20230606125235-dd1b4c2e81af/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/src-doo/go-devicetype-library v0.1.56 h1:UaPzlRZVJ9RY4Hzm0l/4EhwCFKqtDQylVJzzC6Lhc6k=
github.com/src-doo/go-devicetype-library v0.1.56/go.mod h1:6+Aa5yGCIfVcu+KoF5EqsZ2n92SdKB7JdM6SOiDk8/E=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=
github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/vmware/govmomi v0.48.1 h1:aAjmoFzSShYA9ED66JaOJzSBvukvrQLYZljZL+pgfKQ=
github.com/vmware/govmomi v0.48.1/go.mod h1:UFM2aCkggPToQf8TqY3xfd9bOX58vbVa+UAK1JdDTNM=
golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc=
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc=
golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0=
golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k=
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8=
golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk=
golang.org/x/sys v0.0.0-20210331175145-43e1dd70ce54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU=
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U=
Expand Down
2 changes: 1 addition & 1 deletion internal/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"runtime"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/constants"
)

// Default four levels for logging.
Expand Down
2 changes: 1 addition & 1 deletion internal/logger/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/constants"
)

func TestLoggerCreationForCustomFile(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions internal/netbox/inventory/add_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"strings"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
"github.com/bl4ko/netbox-ssot/internal/utils"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/service"
"github.com/src-doo/netbox-ssot/internal/utils"
)

// AddTag adds the newTag from source sourceName to the local inventory.
Expand Down
6 changes: 3 additions & 3 deletions internal/netbox/inventory/add_items_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"reflect"
"testing"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/service"
)

func TestNetboxInventory_AddTag(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions internal/netbox/inventory/add_predefined_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package inventory
import (
"context"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/utils"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/utils"
)

func (nbi *NetboxInventory) AddContainerDeviceRole(
Expand Down
2 changes: 1 addition & 1 deletion internal/netbox/inventory/add_predefined_items_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"testing"

"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
)

func TestNetboxInventory_AddContainerDeviceRole(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions internal/netbox/inventory/delete_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"fmt"
"time"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
"github.com/bl4ko/netbox-ssot/internal/utils"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/service"
"github.com/src-doo/netbox-ssot/internal/utils"
)

func (nbi *NetboxInventory) DeleteOrphans(hard bool) error {
Expand Down
2 changes: 1 addition & 1 deletion internal/netbox/inventory/delete_items_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package inventory
import (
"testing"

"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
)

func TestNetboxInventory_DeleteOrphans(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/netbox/inventory/get_items.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package inventory

import (
"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
)

// GetTag returns the Tag for the given tagName.
Expand Down
4 changes: 2 additions & 2 deletions internal/netbox/inventory/get_items_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"reflect"
"testing"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
)

func TestNetboxInventory_GetTag(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions internal/netbox/inventory/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"fmt"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/utils"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/utils"
)

// Inits default VlanGroup, which is required to group all Vlans that are not part of other
Expand Down
8 changes: 4 additions & 4 deletions internal/netbox/inventory/init_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"
"fmt"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
"github.com/bl4ko/netbox-ssot/internal/utils"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/service"
"github.com/src-doo/netbox-ssot/internal/utils"
)

// Collect all tags from Netbox API and store them in the NetBoxInventory.
Expand Down
12 changes: 6 additions & 6 deletions internal/netbox/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"sync"
"time"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/logger"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
"github.com/bl4ko/netbox-ssot/internal/parser"
"github.com/bl4ko/netbox-ssot/internal/utils"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/logger"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/service"
"github.com/src-doo/netbox-ssot/internal/parser"
"github.com/src-doo/netbox-ssot/internal/utils"
)

// NetboxInventory is a singleton class to manage a inventory of NetBoxObject objects.
Expand Down
4 changes: 2 additions & 2 deletions internal/netbox/inventory/inventory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"reflect"
"testing"

"github.com/bl4ko/netbox-ssot/internal/logger"
"github.com/bl4ko/netbox-ssot/internal/parser"
"github.com/src-doo/netbox-ssot/internal/logger"
"github.com/src-doo/netbox-ssot/internal/parser"
)

func TestNetboxInventory_String(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions internal/netbox/inventory/orphan_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package inventory
import (
"context"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/logger"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/logger"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
)

type OrphanManager struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/netbox/inventory/orphan_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

"github.com/bl4ko/netbox-ssot/internal/logger"
"github.com/src-doo/netbox-ssot/internal/logger"
)

func TestNewOrphanManager(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions internal/netbox/inventory/test_objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"os"
"sync"

"github.com/bl4ko/netbox-ssot/internal/constants"
"github.com/bl4ko/netbox-ssot/internal/logger"
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
"github.com/src-doo/netbox-ssot/internal/constants"
"github.com/src-doo/netbox-ssot/internal/logger"
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
"github.com/src-doo/netbox-ssot/internal/netbox/service"
)

var MockExistingTags = map[string]*objects.Tag{
Expand Down
Loading
Loading