Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
muriloAvlis committed Mar 1, 2024
1 parent c64de3b commit 277f6e3
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 46 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG XAPPNAME=iqos-xapp
FROM golang:1.22.0 as build

ARG XAPPNAME
WORKDIR /usr/src/git.rnp.br/openran/fase-1/gts/gt-iqos/${XAPPNAME}
WORKDIR /usr/src/github.com/gercom-ufpa/${XAPPNAME}
COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY . .
Expand All @@ -14,5 +14,5 @@ FROM alpine:3.19
ARG XAPPNAME
RUN apk add libc6-compat
USER nobody
COPY --from=build /usr/src/git.rnp.br/openran/fase-1/gts/gt-iqos/${XAPPNAME}/build/_output/${XAPPNAME} /usr/local/bin/${XAPPNAME}
COPY --from=build /usr/src/github.com/gercom-ufpa/iqos-xapp/${XAPPNAME}/build/_output/${XAPPNAME} /usr/local/bin/${XAPPNAME}
ENTRYPOINT ["iqos-xapp"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GT-IQOS
# IQoS-XAPP

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion cmd/iqos-xapp/iqos-xapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os/signal"
"syscall"

"git.rnp.br/openran/fase-1/gts/gt-iqos/pkg/manager"
"github.com/gercom-ufpa/iqos-xapp/pkg/manager"
"github.com/onosproject/onos-lib-go/pkg/logging"
)

Expand Down
24 changes: 13 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
module git.rnp.br/openran/fase-1/gts/gt-iqos
module github.com/gercom-ufpa/iqos-xapp

go 1.22.0

require (
github.com/onosproject/onos-api/go v0.10.31
github.com/onosproject/onos-lib-go v0.10.24
github.com/onosproject/onos-ric-sdk-go v0.8.12
google.golang.org/grpc v1.62.0
)

require (
github.com/Shopify/sarama v1.31.1 // indirect
github.com/atomix/atomix/api v0.8.0 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/eapache/go-resiliency v1.2.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
Expand All @@ -20,7 +23,7 @@ require (
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
Expand Down Expand Up @@ -48,15 +51,14 @@ require (
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/oauth2 v0.4.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
google.golang.org/grpc v1.54.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/protobuf v1.32.0 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/square/go-jose.v1 v1.1.2 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
Expand Down
66 changes: 41 additions & 25 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/manager/manager.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package manager

import (
appConfig "git.rnp.br/openran/fase-1/gts/gt-iqos/pkg/config"
"git.rnp.br/openran/fase-1/gts/gt-iqos/pkg/southbound/e2"
appConfig "github.com/gercom-ufpa/iqos-xapp/pkg/config"
"github.com/gercom-ufpa/iqos-xapp/pkg/southbound/e2"
"github.com/onosproject/onos-lib-go/pkg/logging"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/manager/options.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package manager

import (
appConfig "git.rnp.br/openran/fase-1/gts/gt-iqos/pkg/config"
"git.rnp.br/openran/fase-1/gts/gt-iqos/pkg/southbound/e2"
appConfig "github.com/gercom-ufpa/iqos-xapp/pkg/config"
"github.com/gercom-ufpa/iqos-xapp/pkg/southbound/e2"
)

// manager configuration
Expand Down
2 changes: 1 addition & 1 deletion pkg/southbound/e2/options.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package e2

import (
appConfig "git.rnp.br/openran/fase-1/gts/gt-iqos/pkg/config"
appConfig "github.com/gercom-ufpa/iqos-xapp/pkg/config"
)

// e2 config
Expand Down
2 changes: 1 addition & 1 deletion pkg/uemgr/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"google.golang.org/grpc/credentials"
)

var log = logging.GetLogger("qmai", "uemgr")
var log = logging.GetLogger("iqos-xapp", "uemgr")

// creates a new UE Manager
func NewManager(config Config) (Manager, error) {
Expand Down

0 comments on commit 277f6e3

Please sign in to comment.