change module name

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2025-01-13 09:58:18 +01:00
parent 6cae0ba8f1
commit 8e028f17e9
995 changed files with 3044 additions and 3044 deletions
+4 -4
View File
@@ -4,10 +4,10 @@ import (
"fmt"
"net/http"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config/parser"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/logging"
"github.com/opencloud-eu/opencloud/ocis-pkg/config/configlog"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config/parser"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/logging"
"github.com/urfave/cli/v2"
)
+2 -2
View File
@@ -3,8 +3,8 @@ package command
import (
"os"
"github.com/owncloud/ocis/v2/ocis-pkg/clihelper"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/ocis-pkg/clihelper"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/urfave/cli/v2"
)
+11 -11
View File
@@ -5,17 +5,17 @@ import (
"fmt"
"github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
"github.com/owncloud/ocis/v2/ocis-pkg/tracing"
"github.com/owncloud/ocis/v2/ocis-pkg/version"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config/parser"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/logging"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/metrics"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/relations"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/server/debug"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/server/http"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/service/v0"
"github.com/opencloud-eu/opencloud/ocis-pkg/config/configlog"
"github.com/opencloud-eu/opencloud/ocis-pkg/tracing"
"github.com/opencloud-eu/opencloud/ocis-pkg/version"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config/parser"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/logging"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/metrics"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/relations"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/server/debug"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/server/http"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/service/v0"
"github.com/urfave/cli/v2"
)
+3 -3
View File
@@ -4,11 +4,11 @@ import (
"fmt"
"os"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
"github.com/owncloud/ocis/v2/ocis-pkg/version"
"github.com/opencloud-eu/opencloud/ocis-pkg/registry"
"github.com/opencloud-eu/opencloud/ocis-pkg/version"
tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/urfave/cli/v2"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package config
import (
"context"
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
"github.com/opencloud-eu/opencloud/ocis-pkg/shared"
)
// Config combines all available configuration parts.
@@ -3,8 +3,8 @@ package defaults
import (
"strings"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/relations"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/relations"
)
// FullDefaultConfig returns a fully initialized default configuration
+1 -1
View File
@@ -1,6 +1,6 @@
package config
import "github.com/owncloud/ocis/v2/ocis-pkg/shared"
import "github.com/opencloud-eu/opencloud/ocis-pkg/shared"
// CORS defines the available cors configuration.
type CORS struct {
@@ -3,11 +3,11 @@ package parser
import (
"errors"
ociscfg "github.com/owncloud/ocis/v2/ocis-pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config/defaults"
ociscfg "github.com/opencloud-eu/opencloud/ocis-pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config/defaults"
"github.com/owncloud/ocis/v2/ocis-pkg/config/envdecode"
"github.com/opencloud-eu/opencloud/ocis-pkg/config/envdecode"
)
// ParseConfig loads configuration from known paths.
+1 -1
View File
@@ -1,6 +1,6 @@
package config
import "github.com/owncloud/ocis/v2/ocis-pkg/tracing"
import "github.com/opencloud-eu/opencloud/ocis-pkg/tracing"
// Tracing defines the available tracing configuration.
type Tracing struct {
+2 -2
View File
@@ -1,8 +1,8 @@
package logging
import (
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
)
// Configure initializes a service-specific logger instance.
+1 -1
View File
@@ -1,7 +1,7 @@
package metrics
import (
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
)
// Option defines a single option function.
@@ -3,8 +3,8 @@ package relations
import (
"context"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/service/v0"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/service/v0"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
)
const (
@@ -4,7 +4,7 @@ import (
"context"
"testing"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
)
func TestOpenidDiscovery(t *testing.T) {
@@ -7,10 +7,10 @@ import (
"strings"
"text/template"
"github.com/owncloud/ocis/v2/ocis-pkg/oidc"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/service/v0"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/ocis-pkg/oidc"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/service/v0"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
)
const (
@@ -4,9 +4,9 @@ import (
"context"
"testing"
"github.com/owncloud/ocis/v2/ocis-pkg/oidc"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/ocis-pkg/oidc"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
)
func TestOwnCloudInstanceErr(t *testing.T) {
@@ -3,8 +3,8 @@ package debug
import (
"context"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
)
// Option defines a single option function.
@@ -3,10 +3,10 @@ package debug
import (
"net/http"
"github.com/owncloud/ocis/v2/ocis-pkg/checks"
"github.com/owncloud/ocis/v2/ocis-pkg/handlers"
"github.com/owncloud/ocis/v2/ocis-pkg/service/debug"
"github.com/owncloud/ocis/v2/ocis-pkg/version"
"github.com/opencloud-eu/opencloud/ocis-pkg/checks"
"github.com/opencloud-eu/opencloud/ocis-pkg/handlers"
"github.com/opencloud-eu/opencloud/ocis-pkg/service/debug"
"github.com/opencloud-eu/opencloud/ocis-pkg/version"
)
// Server initializes the debug service and server.
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"context"
"go.opentelemetry.io/otel/trace/noop"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
svc "github.com/owncloud/ocis/v2/services/webfinger/pkg/service/v0"
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
svc "github.com/opencloud-eu/opencloud/services/webfinger/pkg/service/v0"
"github.com/urfave/cli/v2"
"go.opentelemetry.io/otel/trace"
)
+7 -7
View File
@@ -9,13 +9,13 @@ import (
"github.com/go-chi/chi/v5"
chimiddleware "github.com/go-chi/chi/v5/middleware"
"github.com/go-chi/render"
"github.com/owncloud/ocis/v2/ocis-pkg/cors"
"github.com/owncloud/ocis/v2/ocis-pkg/middleware"
ohttp "github.com/owncloud/ocis/v2/ocis-pkg/service/http"
"github.com/owncloud/ocis/v2/ocis-pkg/tracing"
"github.com/owncloud/ocis/v2/ocis-pkg/version"
serviceErrors "github.com/owncloud/ocis/v2/services/webfinger/pkg/service/v0"
svc "github.com/owncloud/ocis/v2/services/webfinger/pkg/service/v0"
"github.com/opencloud-eu/opencloud/ocis-pkg/cors"
"github.com/opencloud-eu/opencloud/ocis-pkg/middleware"
ohttp "github.com/opencloud-eu/opencloud/ocis-pkg/service/http"
"github.com/opencloud-eu/opencloud/ocis-pkg/tracing"
"github.com/opencloud-eu/opencloud/ocis-pkg/version"
serviceErrors "github.com/opencloud-eu/opencloud/services/webfinger/pkg/service/v0"
svc "github.com/opencloud-eu/opencloud/services/webfinger/pkg/service/v0"
"github.com/pkg/errors"
"github.com/riandyrn/otelchi"
"go-micro.dev/v4"
@@ -4,8 +4,8 @@ import (
"context"
"net/url"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/metrics"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/metrics"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
"github.com/prometheus/client_golang/prometheus"
)
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"context"
"net/url"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
)
// NewLogging returns a service that logs messages.
+2 -2
View File
@@ -1,8 +1,8 @@
package service
import (
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
)
// Option defines a single option function.
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"context"
"net/url"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/config"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/config"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
)
// Service defines the extension handlers.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context"
"net/url"
"github.com/owncloud/ocis/v2/services/webfinger/pkg/webfinger"
"github.com/opencloud-eu/opencloud/services/webfinger/pkg/webfinger"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/trace"
)