Skip to content

Commit 5a7f613

Browse files
committed
fix: migrate from bl4ko to src-doo
1 parent 6bf7b6b commit 5a7f613

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+238
-236
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
token: ${{ secrets.CODECOV_TOKEN }}
5959
files: cover.txt
60-
slug: bl4ko/netbox-ssot
60+
slug: src-doo/netbox-ssot
6161

6262
vulnerabilities:
6363
name: Check for vulnerabilities

.golangci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ linters-settings:
55
locale: US
66
errcheck:
77
exclude-functions:
8-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Debug
9-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Debugf
10-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Info
11-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Infof
12-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Warning
13-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Warningf
14-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Error
15-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Errorf
16-
- (*github.com/bl4ko/netbox-ssot/internal/logger.Logger).Output
8+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Debug
9+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Debugf
10+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Info
11+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Infof
12+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Warning
13+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Warningf
14+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Error
15+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Errorf
16+
- (*github.com/src-doo/netbox-ssot/internal/logger.Logger).Output
1717

1818
issues:
1919
max-issues-per-linter: 50

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ ARG CREATED
3030
ARG COMMIT
3131

3232
LABEL \
33-
org.opencontainers.image.authors="bl4ko" \
33+
org.opencontainers.image.authors="src-doo" \
3434
org.opencontainers.image.created=$CREATED \
3535
org.opencontainers.image.version=$VERSION \
3636
org.opencontainers.image.revision=$COMMIT \
37-
org.opencontainers.image.url="https://github.com/bl4ko/netbox-ssot" \
38-
org.opencontainers.image.documentation="https://github.com/bl4ko/netbox-ssot/blob/main/README.md" \
39-
org.opencontainers.image.source="https://github.com/bl4ko/netbox-ssot" \
37+
org.opencontainers.image.url="https://github.com/src-doo/netbox-ssot" \
38+
org.opencontainers.image.documentation="https://github.com/src-doo/netbox-ssot/blob/main/README.md" \
39+
org.opencontainers.image.source="https://github.com/src-doo/netbox-ssot" \
4040
org.opencontainers.image.title="Netbox-ssot" \
4141
org.opencontainers.image.description="Microservice for syncing Netbox with multiple external sources."
4242

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ SHELL := /bin/bash
55
build_and_push:
66
docker buildx build \
77
--platform linux/amd64,linux/arm64,linux/arm/v7 \
8-
-t ghcr.io/src-doo/netbox-ssot:v1.10.0 --push .
8+
-t ghcr.io/src-doo/netbox-ssot:develop --push .

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Netbox-SSOT
22

3-
[![Go](https://github.com/bl4ko/netbox-ssot/actions/workflows/ci.yml/badge.svg)](https://github.com/bl4ko/netbox-ssot/actions/workflows/ci.yml)
4-
![GitHub last commit](https://img.shields.io/github/last-commit/bl4ko/netbox-ssot)
5-
![GitHub Tag](https://img.shields.io/github/v/tag/bl4ko/netbox-ssot)
6-
[![codecov](https://codecov.io/gh/bl4ko/netbox-ssot/graph/badge.svg?token=W0GQQKS6BP)](https://codecov.io/gh/bl4ko/netbox-ssot)
7-
![GitHub License](https://img.shields.io/github/license/bl4ko/netbox-ssot)
3+
[![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)
4+
![GitHub last commit](https://img.shields.io/github/last-commit/src-doo/netbox-ssot)
5+
![GitHub Tag](https://img.shields.io/github/v/tag/src-doo/netbox-ssot)
6+
[![codecov](https://codecov.io/gh/src-doo/netbox-ssot/graph/badge.svg?token=W0GQQKS6BP)](https://codecov.io/gh/src-doo/netbox-ssot)
7+
![GitHub License](https://img.shields.io/github/license/src-doo/netbox-ssot)
88

99
Netbox-ssot is a small but powerful microservice designed to
1010
keep your Netbox instance in sync with external data sources.

benchmark/init_test.go

+9-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/bl4ko/netbox-ssot/internal/constants"
8-
"github.com/bl4ko/netbox-ssot/internal/logger"
9-
"github.com/bl4ko/netbox-ssot/internal/netbox/inventory"
10-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
11-
"github.com/bl4ko/netbox-ssot/internal/parser"
12-
"github.com/bl4ko/netbox-ssot/internal/utils"
7+
"github.com/src-doo/netbox-ssot/internal/constants"
8+
"github.com/src-doo/netbox-ssot/internal/logger"
9+
"github.com/src-doo/netbox-ssot/internal/netbox/inventory"
10+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
11+
"github.com/src-doo/netbox-ssot/internal/parser"
12+
"github.com/src-doo/netbox-ssot/internal/utils"
1313
)
1414

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

9292
func InitPlatforms(ctx context.Context, n int, nbi *inventory.NetboxInventory) {
9393
for i := 0; i < n; i++ {
94-
manufacturer, _ := nbi.GetManufacturer(fmt.Sprintf("Manufacturer %d", i%NumberOfManufacturers))
94+
manufacturer, _ := nbi.GetManufacturer(
95+
fmt.Sprintf("Manufacturer %d", i%NumberOfManufacturers),
96+
)
9597
platformName := fmt.Sprintf("Platform %d", i)
9698
_, err := nbi.AddPlatform(ctx, &objects.Platform{
9799
Name: platformName,

cmd/netbox-ssot/main.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import (
88
"sync"
99
"time"
1010

11-
"github.com/bl4ko/netbox-ssot/internal/constants"
12-
"github.com/bl4ko/netbox-ssot/internal/logger"
13-
"github.com/bl4ko/netbox-ssot/internal/netbox/inventory"
14-
"github.com/bl4ko/netbox-ssot/internal/parser"
15-
"github.com/bl4ko/netbox-ssot/internal/source"
16-
"github.com/bl4ko/netbox-ssot/internal/source/common"
11+
"github.com/src-doo/netbox-ssot/internal/constants"
12+
"github.com/src-doo/netbox-ssot/internal/logger"
13+
"github.com/src-doo/netbox-ssot/internal/netbox/inventory"
14+
"github.com/src-doo/netbox-ssot/internal/parser"
15+
"github.com/src-doo/netbox-ssot/internal/source"
16+
"github.com/src-doo/netbox-ssot/internal/source/common"
1717
)
1818

1919
var configPath = flag.String("config", "config.yaml", "Path to the configuration file")

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
module github.com/bl4ko/netbox-ssot
1+
module github.com/src-doo/netbox-ssot
22

33
go 1.23.6
44

55
require (
66
github.com/PaloAltoNetworks/pango v0.10.2
7-
github.com/bl4ko/go-devicetype-library v0.1.55
87
github.com/cisco-en-programmability/dnacenter-go-sdk/v7 v7.0.0
98
github.com/luthermonson/go-proxmox v0.2.1
109
github.com/ovirt/go-ovirt v4.3.4+incompatible
1110
github.com/scrapli/scrapligo v1.3.3
11+
github.com/src-doo/go-devicetype-library v0.1.56
1212
github.com/vmware/govmomi v0.48.1
1313
golang.org/x/text v0.22.0
1414
gopkg.in/yaml.v3 v3.0.1
@@ -25,7 +25,7 @@ require (
2525
github.com/jinzhu/copier v0.4.0 // indirect
2626
github.com/magefile/mage v1.15.0 // indirect
2727
github.com/sirikothe/gotextfsm v1.0.1-0.20200816110946-6aa2cfd355e4 // indirect
28-
golang.org/x/crypto v0.32.0 // indirect
29-
golang.org/x/net v0.34.0 // indirect
28+
golang.org/x/crypto v0.35.0 // indirect
29+
golang.org/x/net v0.35.0 // indirect
3030
golang.org/x/sys v0.30.0 // indirect
3131
)

go.sum

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
github.com/PaloAltoNetworks/pango v0.10.2 h1:Tjn6vIzzAq6Dd7N0mDuiP8w8pz8k5W9zz/TTSUQCsQY=
22
github.com/PaloAltoNetworks/pango v0.10.2/go.mod h1:GztcRnVLur7G+VFG7Z5ZKNFgScLtsycwPMp1qVebE5g=
3-
github.com/bl4ko/go-devicetype-library v0.1.55 h1:LiWK/qMUbNXubzuyNIZD+kMal3sHhVUmgm74x5OHmPI=
4-
github.com/bl4ko/go-devicetype-library v0.1.55/go.mod h1:Pzm1BlRyR4uECezsRINDA6ZieFPumdFL+6yySpXM6t8=
53
github.com/buger/goterm v1.0.4 h1:Z9YvGmOih81P0FbVtEYTFF6YsSgxSUKEhf/f9bTMXbY=
64
github.com/buger/goterm v1.0.4/go.mod h1:HiFWV3xnkolgrBV3mY8m0X0Pumt4zg4QhbdOzQtB8tE=
75
github.com/cisco-en-programmability/dnacenter-go-sdk/v7 v7.0.0 h1:oAHsGmf+Vvs3lHRshDEFA+nKoTLcfL0NHBr4kGN46M0=
@@ -55,22 +53,24 @@ github.com/sirikothe/gotextfsm v1.0.1-0.20200816110946-6aa2cfd355e4 h1:FHUL2HofY
5553
github.com/sirikothe/gotextfsm v1.0.1-0.20200816110946-6aa2cfd355e4/go.mod h1:CJYqpTg9u5VPCoD0VEl9E68prCIiWQD8m457k098DdQ=
5654
github.com/sirupsen/logrus v1.9.4-0.20230606125235-dd1b4c2e81af h1:Sp5TG9f7K39yfB+If0vjp97vuT74F72r8hfRpP8jLU0=
5755
github.com/sirupsen/logrus v1.9.4-0.20230606125235-dd1b4c2e81af/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
56+
github.com/src-doo/go-devicetype-library v0.1.56 h1:UaPzlRZVJ9RY4Hzm0l/4EhwCFKqtDQylVJzzC6Lhc6k=
57+
github.com/src-doo/go-devicetype-library v0.1.56/go.mod h1:6+Aa5yGCIfVcu+KoF5EqsZ2n92SdKB7JdM6SOiDk8/E=
5858
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
5959
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
6060
github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=
6161
github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
6262
github.com/vmware/govmomi v0.48.1 h1:aAjmoFzSShYA9ED66JaOJzSBvukvrQLYZljZL+pgfKQ=
6363
github.com/vmware/govmomi v0.48.1/go.mod h1:UFM2aCkggPToQf8TqY3xfd9bOX58vbVa+UAK1JdDTNM=
64-
golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc=
65-
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc=
66-
golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0=
67-
golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k=
64+
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
65+
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
66+
golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8=
67+
golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk=
6868
golang.org/x/sys v0.0.0-20210331175145-43e1dd70ce54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
6969
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7070
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
7171
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
72-
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
73-
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
72+
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU=
73+
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
7474
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
7575
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
7676
golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U=

internal/logger/logger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010
"runtime"
1111

12-
"github.com/bl4ko/netbox-ssot/internal/constants"
12+
"github.com/src-doo/netbox-ssot/internal/constants"
1313
)
1414

1515
// Default four levels for logging.

internal/logger/logger_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/bl4ko/netbox-ssot/internal/constants"
9+
"github.com/src-doo/netbox-ssot/internal/constants"
1010
)
1111

1212
func TestLoggerCreationForCustomFile(t *testing.T) {

internal/netbox/inventory/add_items.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/bl4ko/netbox-ssot/internal/constants"
9-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
10-
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
11-
"github.com/bl4ko/netbox-ssot/internal/utils"
8+
"github.com/src-doo/netbox-ssot/internal/constants"
9+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
10+
"github.com/src-doo/netbox-ssot/internal/netbox/service"
11+
"github.com/src-doo/netbox-ssot/internal/utils"
1212
)
1313

1414
// AddTag adds the newTag from source sourceName to the local inventory.

internal/netbox/inventory/add_items_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"reflect"
66
"testing"
77

8-
"github.com/bl4ko/netbox-ssot/internal/constants"
9-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
10-
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
8+
"github.com/src-doo/netbox-ssot/internal/constants"
9+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
10+
"github.com/src-doo/netbox-ssot/internal/netbox/service"
1111
)
1212

1313
func TestNetboxInventory_AddTag(t *testing.T) {

internal/netbox/inventory/add_predefined_items.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package inventory
33
import (
44
"context"
55

6-
"github.com/bl4ko/netbox-ssot/internal/constants"
7-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
8-
"github.com/bl4ko/netbox-ssot/internal/utils"
6+
"github.com/src-doo/netbox-ssot/internal/constants"
7+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
8+
"github.com/src-doo/netbox-ssot/internal/utils"
99
)
1010

1111
func (nbi *NetboxInventory) AddContainerDeviceRole(

internal/netbox/inventory/add_predefined_items_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"reflect"
66
"testing"
77

8-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
8+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
99
)
1010

1111
func TestNetboxInventory_AddContainerDeviceRole(t *testing.T) {

internal/netbox/inventory/delete_items.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/bl4ko/netbox-ssot/internal/constants"
8-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
9-
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
10-
"github.com/bl4ko/netbox-ssot/internal/utils"
7+
"github.com/src-doo/netbox-ssot/internal/constants"
8+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
9+
"github.com/src-doo/netbox-ssot/internal/netbox/service"
10+
"github.com/src-doo/netbox-ssot/internal/utils"
1111
)
1212

1313
func (nbi *NetboxInventory) DeleteOrphans(hard bool) error {

internal/netbox/inventory/delete_items_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package inventory
33
import (
44
"testing"
55

6-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
6+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
77
)
88

99
func TestNetboxInventory_DeleteOrphans(t *testing.T) {

internal/netbox/inventory/get_items.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package inventory
22

33
import (
4-
"github.com/bl4ko/netbox-ssot/internal/constants"
5-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
4+
"github.com/src-doo/netbox-ssot/internal/constants"
5+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
66
)
77

88
// GetTag returns the Tag for the given tagName.

internal/netbox/inventory/get_items_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/bl4ko/netbox-ssot/internal/constants"
8-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
7+
"github.com/src-doo/netbox-ssot/internal/constants"
8+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
99
)
1010

1111
func TestNetboxInventory_GetTag(t *testing.T) {

internal/netbox/inventory/helpers.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/bl4ko/netbox-ssot/internal/constants"
8-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
9-
"github.com/bl4ko/netbox-ssot/internal/utils"
7+
"github.com/src-doo/netbox-ssot/internal/constants"
8+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
9+
"github.com/src-doo/netbox-ssot/internal/utils"
1010
)
1111

1212
// Inits default VlanGroup, which is required to group all Vlans that are not part of other

internal/netbox/inventory/init_items.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/bl4ko/netbox-ssot/internal/constants"
8-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
9-
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
10-
"github.com/bl4ko/netbox-ssot/internal/utils"
7+
"github.com/src-doo/netbox-ssot/internal/constants"
8+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
9+
"github.com/src-doo/netbox-ssot/internal/netbox/service"
10+
"github.com/src-doo/netbox-ssot/internal/utils"
1111
)
1212

1313
// Collect all tags from Netbox API and store them in the NetBoxInventory.

internal/netbox/inventory/inventory.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import (
88
"sync"
99
"time"
1010

11-
"github.com/bl4ko/netbox-ssot/internal/constants"
12-
"github.com/bl4ko/netbox-ssot/internal/logger"
13-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
14-
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
15-
"github.com/bl4ko/netbox-ssot/internal/parser"
16-
"github.com/bl4ko/netbox-ssot/internal/utils"
11+
"github.com/src-doo/netbox-ssot/internal/constants"
12+
"github.com/src-doo/netbox-ssot/internal/logger"
13+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
14+
"github.com/src-doo/netbox-ssot/internal/netbox/service"
15+
"github.com/src-doo/netbox-ssot/internal/parser"
16+
"github.com/src-doo/netbox-ssot/internal/utils"
1717
)
1818

1919
// NetboxInventory is a singleton class to manage a inventory of NetBoxObject objects.

internal/netbox/inventory/inventory_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"reflect"
66
"testing"
77

8-
"github.com/bl4ko/netbox-ssot/internal/logger"
9-
"github.com/bl4ko/netbox-ssot/internal/parser"
8+
"github.com/src-doo/netbox-ssot/internal/logger"
9+
"github.com/src-doo/netbox-ssot/internal/parser"
1010
)
1111

1212
func TestNetboxInventory_String(t *testing.T) {

internal/netbox/inventory/orphan_manager.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package inventory
33
import (
44
"context"
55

6-
"github.com/bl4ko/netbox-ssot/internal/constants"
7-
"github.com/bl4ko/netbox-ssot/internal/logger"
8-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
6+
"github.com/src-doo/netbox-ssot/internal/constants"
7+
"github.com/src-doo/netbox-ssot/internal/logger"
8+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
99
)
1010

1111
type OrphanManager struct {

internal/netbox/inventory/orphan_manager_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/bl4ko/netbox-ssot/internal/logger"
7+
"github.com/src-doo/netbox-ssot/internal/logger"
88
)
99

1010
func TestNewOrphanManager(t *testing.T) {

internal/netbox/inventory/test_objects.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"os"
77
"sync"
88

9-
"github.com/bl4ko/netbox-ssot/internal/constants"
10-
"github.com/bl4ko/netbox-ssot/internal/logger"
11-
"github.com/bl4ko/netbox-ssot/internal/netbox/objects"
12-
"github.com/bl4ko/netbox-ssot/internal/netbox/service"
9+
"github.com/src-doo/netbox-ssot/internal/constants"
10+
"github.com/src-doo/netbox-ssot/internal/logger"
11+
"github.com/src-doo/netbox-ssot/internal/netbox/objects"
12+
"github.com/src-doo/netbox-ssot/internal/netbox/service"
1313
)
1414

1515
var MockExistingTags = map[string]*objects.Tag{

0 commit comments

Comments
 (0)