diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3a72ea8 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e6b7c8..1a4730c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: CI # Controls when the workflow will run on: @@ -20,5 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Go uses: actions/setup-go@v5 - - name: Test - run: go test ./... + - name: Install depends + run: go get . + - name: Build + run: go build -v ./... diff --git a/README.md b/README.md index 9d5b3ae..7937438 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# go-pfcp-networking: PFCP Networking functionnalities on top of go-pfcp +# go-pfcp-networking: PFCP Networking functionnalities on top of go-pfcp > [!WARNING] > Still a Work In Progress. API may change before v1.0.0. diff --git a/go.mod b/go.mod index d2d24fb..38f6071 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/louisroyer/go-pfcp-networking +module github.com/nextmn/go-pfcp-networking go 1.21 diff --git a/pfcp/association.go b/pfcp/association.go index bf1bbb5..6bd019c 100644 --- a/pfcp/association.go +++ b/pfcp/association.go @@ -11,7 +11,7 @@ import ( "net" "time" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" "github.com/wmnsk/go-pfcp/ie" "github.com/wmnsk/go-pfcp/message" ) diff --git a/pfcp/association_map.go b/pfcp/association_map.go index 3117377..e712d4b 100644 --- a/pfcp/association_map.go +++ b/pfcp/association_map.go @@ -9,7 +9,7 @@ import ( "fmt" "sync" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" ) type associationsMap = map[string]api.PFCPAssociationInterface diff --git a/pfcp/entity.go b/pfcp/entity.go index fed2059..4a7f18c 100644 --- a/pfcp/entity.go +++ b/pfcp/entity.go @@ -12,8 +12,8 @@ import ( "sync" "time" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" - "github.com/louisroyer/go-pfcp-networking/pfcputil" + "github.com/nextmn/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcputil" "github.com/wmnsk/go-pfcp/ie" "github.com/wmnsk/go-pfcp/message" ) diff --git a/pfcp/far.go b/pfcp/far.go index 4c56ba3..2aa8353 100644 --- a/pfcp/far.go +++ b/pfcp/far.go @@ -6,7 +6,7 @@ package pfcp_networking import ( - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" "github.com/wmnsk/go-pfcp/ie" ) diff --git a/pfcp/far_map.go b/pfcp/far_map.go index 8595809..5dec9e7 100644 --- a/pfcp/far_map.go +++ b/pfcp/far_map.go @@ -10,7 +10,7 @@ import ( "io" "sync" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" "github.com/wmnsk/go-pfcp/ie" ) diff --git a/pfcp/handlers.go b/pfcp/handlers.go index b87f244..a0456ea 100644 --- a/pfcp/handlers.go +++ b/pfcp/handlers.go @@ -11,7 +11,7 @@ import ( "log" "net" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" "github.com/wmnsk/go-pfcp/ie" "github.com/wmnsk/go-pfcp/message" ) diff --git a/pfcp/pdr.go b/pfcp/pdr.go index 548b5c5..a995ca6 100644 --- a/pfcp/pdr.go +++ b/pfcp/pdr.go @@ -6,7 +6,7 @@ package pfcp_networking import ( - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" "github.com/wmnsk/go-pfcp/ie" ) diff --git a/pfcp/pdr_map.go b/pfcp/pdr_map.go index 753f74f..0daad51 100644 --- a/pfcp/pdr_map.go +++ b/pfcp/pdr_map.go @@ -11,7 +11,7 @@ import ( "sort" "sync" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" "github.com/wmnsk/go-pfcp/ie" ) diff --git a/pfcp/peer.go b/pfcp/peer.go index c20b3e9..6602214 100644 --- a/pfcp/peer.go +++ b/pfcp/peer.go @@ -11,8 +11,8 @@ import ( "sync" "time" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" - "github.com/louisroyer/go-pfcp-networking/pfcputil" + "github.com/nextmn/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcputil" "github.com/wmnsk/go-pfcp/ie" "github.com/wmnsk/go-pfcp/message" ) diff --git a/pfcp/received_message.go b/pfcp/received_message.go index addf883..8b20924 100644 --- a/pfcp/received_message.go +++ b/pfcp/received_message.go @@ -9,8 +9,8 @@ import ( "fmt" "net" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" - "github.com/louisroyer/go-pfcp-networking/pfcputil" + "github.com/nextmn/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcputil" "github.com/wmnsk/go-pfcp/message" ) diff --git a/pfcp/session.go b/pfcp/session.go index 7d9c617..f500d36 100644 --- a/pfcp/session.go +++ b/pfcp/session.go @@ -11,7 +11,7 @@ import ( "net" "sync" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" "github.com/wmnsk/go-pfcp/ie" "github.com/wmnsk/go-pfcp/message" ) diff --git a/pfcp/session_id_pool.go b/pfcp/session_id_pool.go index f4f5a71..d607b9b 100644 --- a/pfcp/session_id_pool.go +++ b/pfcp/session_id_pool.go @@ -9,7 +9,7 @@ import ( "log" "sync" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" ) // SessionIDPool is a generator of session IDs diff --git a/pfcp/session_map.go b/pfcp/session_map.go index 583132f..7d3e6ef 100644 --- a/pfcp/session_map.go +++ b/pfcp/session_map.go @@ -9,10 +9,10 @@ import ( "fmt" "sync" - "github.com/louisroyer/go-pfcp-networking/pfcp/api" + "github.com/nextmn/go-pfcp-networking/pfcp/api" ) -//XXX Delete old sessions instead of just creating new ones +// XXX Delete old sessions instead of just creating new ones type sessionsMapSEID = map[api.SEID]api.PFCPSessionInterface type sessionsMapFSEID = map[string]sessionsMapSEID type SessionsMap struct {