Skip to content

Commit

Permalink
Update import paths to nephio
Browse files Browse the repository at this point in the history
  • Loading branch information
efiacor committed Feb 5, 2025
1 parent 83b892a commit 5d42364
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 18 deletions.
8 changes: 4 additions & 4 deletions operators/focom-operator/PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
projectName: focom-operator
repo: github.com/dekstroza/focom-operator
repo: github.com/nephio-project/nephio/operators/focom-operator
resources:
- api:
crdVersion: v1
namespaced: true
domain: nephio.org
group: focom
kind: OCloud
path: github.com/dekstroza/focom-operator/api/v1alpha1
path: github.com/nephio-project/nephio/operators/focom-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -27,14 +27,14 @@ resources:
domain: nephio.org
group: focom
kind: FocomProvisioningRequest
path: github.com/dekstroza/focom-operator/api/v1alpha1
path: github.com/nephio-project/nephio/operators/focom-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: nephio.org
group: provisioning
kind: TemplateInfo
path: github.com/dekstroza/focom-operator/api/provisioning/v1alpha1
path: github.com/nephio-project/nephio/operators/focom-operator/api/provisioning/v1alpha1
version: v1alpha1
version: "3"
6 changes: 3 additions & 3 deletions operators/focom-operator/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package main
import (
"crypto/tls"
"flag"
focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"
"os"

// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
Expand All @@ -36,8 +36,8 @@ import (
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"

provisioningv1alpha1 "github.com/dekstroza/focom-operator/api/provisioning/v1alpha1"
"github.com/dekstroza/focom-operator/internal/controller"
provisioningv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/provisioning/v1alpha1"
"github.com/nephio-project/nephio/operators/focom-operator/internal/controller"
// +kubebuilder:scaffold:imports
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ package controller
import (
"context"
"fmt"
focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
"time"

"github.com/go-logr/logr"
focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/runtime"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
"time"

ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"fmt"

focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"
"github.com/stretchr/testify/require"
corev1 "k8s.io/api/core/v1"
rbacv1 "k8s.io/api/rbac/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"
corev1 "k8s.io/api/core/v1"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/types"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
provisioningv1alpha1 "github.com/dekstroza/focom-operator/api/provisioning/v1alpha1"
focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"
provisioningv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/provisioning/v1alpha1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/types"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"testing"

focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
provisioningv1alpha1 "github.com/dekstroza/focom-operator/api/provisioning/v1alpha1"
focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"
provisioningv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/provisioning/v1alpha1"
"github.com/stretchr/testify/require"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
3 changes: 2 additions & 1 deletion operators/focom-operator/internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ package controller
import (
"context"
"fmt"
focomv1alpha1 "github.com/dekstroza/focom-operator/api/focom/v1alpha1"
"path/filepath"
"runtime"
"testing"

focomv1alpha1 "github.com/nephio-project/nephio/operators/focom-operator/api/focom/v1alpha1"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

Expand Down
2 changes: 1 addition & 1 deletion operators/focom-operator/test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/dekstroza/focom-operator/test/utils"
"github.com/nephio-project/nephio/operators/focom-operator/test/utils"
)

const namespace = "focom-operator-system"
Expand Down

0 comments on commit 5d42364

Please # to comment.