From 29fbde9275b92561762d59d7bded4aa60c3ac999 Mon Sep 17 00:00:00 2001 From: Yun Long Date: Sun, 10 Mar 2024 11:32:18 +0800 Subject: [PATCH] Replace megaease links to easegress-io Signed-off-by: Yun Long --- .goreleaser.yml | 35 +- .licenserc.json | 5 +- CHANGELOG.md | 410 +++++++++--------- CONTRIBUTING.md | 6 +- Makefile | 2 +- README.md | 14 +- README.zh-CN.md | 12 +- build/test/clean.sh | 2 +- build/test/client.go | 2 +- build/test/integration_test.go | 2 +- build/test/server.go | 2 +- build/test/test.sh | 2 +- cmd/builder/build/build.go | 2 +- cmd/builder/build/config.go | 4 +- cmd/builder/build/env.go | 6 +- cmd/builder/build/run.go | 8 +- cmd/builder/command/add.go | 6 +- cmd/builder/command/build.go | 6 +- cmd/builder/command/init.go | 6 +- cmd/builder/command/run.go | 6 +- cmd/builder/gen/config.go | 4 +- cmd/builder/gen/controllers.go | 2 +- cmd/builder/gen/filters.go | 2 +- cmd/builder/gen/jennifer.go | 2 +- cmd/builder/gen/path.go | 16 +- cmd/builder/gen/registry.go | 2 +- cmd/builder/gen/server.go | 2 +- cmd/builder/main.go | 6 +- cmd/builder/utils/alias.go | 4 +- cmd/builder/utils/context.go | 2 +- cmd/builder/utils/context_test.go | 2 +- cmd/builder/utils/env.go | 4 +- cmd/builder/utils/env_test.go | 2 +- cmd/builder/utils/validation.go | 2 +- cmd/builder/utils/validation_test.go | 2 +- cmd/client/command/alias.go | 4 +- cmd/client/command/api.go | 2 +- cmd/client/command/customdata.go | 2 +- cmd/client/command/member.go | 2 +- cmd/client/command/object.go | 2 +- cmd/client/command/utils.go | 6 +- cmd/client/command/visitor.go | 4 +- cmd/client/commandv2/alias.go | 4 +- cmd/client/commandv2/apply.go | 6 +- cmd/client/commandv2/config.go | 6 +- cmd/client/commandv2/convert.go | 4 +- cmd/client/commandv2/convert/nginx/cmd.go | 8 +- .../commandv2/convert/nginx/cmd_test.go | 2 +- cmd/client/commandv2/convert/nginx/convert.go | 20 +- .../commandv2/convert/nginx/convert_test.go | 12 +- cmd/client/commandv2/convert/nginx/env.go | 4 +- .../commandv2/convert/nginx/env_test.go | 2 +- cmd/client/commandv2/convert/nginx/parse.go | 4 +- .../commandv2/convert/nginx/parse_test.go | 4 +- .../commandv2/convert/nginx/test_test.go | 8 +- cmd/client/commandv2/convert/nginx/types.go | 2 +- cmd/client/commandv2/convert/nginx/utils.go | 2 +- .../commandv2/convert/nginx/utils_test.go | 2 +- cmd/client/commandv2/create.go | 4 +- cmd/client/commandv2/create/create.go | 6 +- cmd/client/commandv2/create/create_test.go | 2 +- .../commandv2/create/createhttpproxy.go | 20 +- .../commandv2/create/createhttpproxy_test.go | 10 +- cmd/client/commandv2/delete.go | 6 +- cmd/client/commandv2/describe.go | 6 +- cmd/client/commandv2/edit.go | 6 +- cmd/client/commandv2/general.go | 10 +- cmd/client/commandv2/get.go | 6 +- cmd/client/commandv2/logs.go | 4 +- cmd/client/commandv2/profile.go | 4 +- cmd/client/commandv2/specs/spec.go | 18 +- cmd/client/commandv2/wasm.go | 4 +- cmd/client/general/config.go | 4 +- cmd/client/general/error.go | 2 +- cmd/client/general/message.go | 2 +- cmd/client/general/print.go | 6 +- cmd/client/general/request.go | 8 +- cmd/client/general/type.go | 2 +- cmd/client/general/urls.go | 2 +- cmd/client/general/visitor.go | 2 +- cmd/client/main.go | 8 +- cmd/client/resources/alias.go | 4 +- cmd/client/resources/customdata.go | 10 +- cmd/client/resources/customdatakind.go | 10 +- cmd/client/resources/member.go | 10 +- cmd/client/resources/object.go | 12 +- cmd/client/resources/resources.go | 4 +- cmd/server.go | 24 +- cmd/server/main.go | 6 +- docs/01.Getting-Started/1.2.Install.md | 6 +- docs/03.Advanced-Cookbook/3.02.Flash-Sale.md | 4 +- .../3.03.Multiple-API-Orchestration.md | 42 +- .../3.04.Canary-Release.md | 12 +- docs/03.Advanced-Cookbook/3.07.WasmHost.md | 8 +- docs/03.Advanced-Cookbook/3.08.ChatGPT-Bot.md | 2 +- docs/03.Advanced-Cookbook/3.12.Migrate.md | 2 +- .../6.1.Developer-Guide.md | 12 +- docs/07.Reference/7.07.Benchmark.md | 4 +- docs/07.Reference/7.09.Maintain.md | 2 +- example/backend-service/echo/echo.go | 2 +- example/backend-service/mirror/mirror.go | 2 +- example/backend-service/remote/remote.go | 2 +- example/translation-bot/README.md | 2 +- go.mod | 2 +- helm-charts/easegress/Chart.yaml | 2 +- helm-charts/easegress/README.md | 2 +- pkg/api/api.go | 8 +- pkg/api/cluster.go | 8 +- pkg/api/customdata.go | 6 +- pkg/api/dynamicmux.go | 4 +- pkg/api/error.go | 4 +- pkg/api/logs.go | 4 +- pkg/api/member.go | 6 +- pkg/api/metadata.go | 6 +- pkg/api/middlewares.go | 4 +- pkg/api/object.go | 8 +- pkg/api/profile.go | 4 +- pkg/api/prometheus.go | 2 +- pkg/api/registry.go | 6 +- pkg/api/server.go | 14 +- pkg/api/wasm.go | 6 +- pkg/cluster/cluster.go | 8 +- pkg/cluster/cluster_interface.go | 4 +- pkg/cluster/cluster_interface_test.go | 2 +- pkg/cluster/cluster_test.go | 8 +- pkg/cluster/clustertest/cluster.go | 4 +- pkg/cluster/clustertest/syncer.go | 2 +- pkg/cluster/clustertest/watcher.go | 4 +- pkg/cluster/config.go | 8 +- pkg/cluster/config_test.go | 4 +- pkg/cluster/customdata/customdata.go | 8 +- pkg/cluster/customdata/customdata_test.go | 8 +- pkg/cluster/doc.go | 2 +- pkg/cluster/layout.go | 2 +- pkg/cluster/layout_test.go | 2 +- pkg/cluster/mutex.go | 2 +- pkg/cluster/op.go | 2 +- pkg/cluster/op_test.go | 4 +- pkg/cluster/syncer.go | 4 +- pkg/cluster/syncer_test.go | 4 +- pkg/cluster/test_util.go | 6 +- pkg/cluster/watcher.go | 4 +- pkg/cluster/watcher_test.go | 4 +- pkg/common/os.go | 2 +- pkg/common/os_test.go | 2 +- pkg/common/signal.go | 2 +- pkg/common/signal_unix.go | 2 +- pkg/common/signal_unix_test.go | 2 +- pkg/common/signal_windows.go | 2 +- pkg/common/utils.go | 2 +- pkg/common/utils_test.go | 2 +- pkg/context/context.go | 8 +- pkg/context/contexttest/contexttest.go | 4 +- pkg/context/statuscode.go | 2 +- pkg/env/doc.go | 2 +- pkg/env/env.go | 6 +- pkg/filters/builder/builder.go | 6 +- pkg/filters/builder/builder_test.go | 4 +- pkg/filters/builder/databuilder.go | 8 +- pkg/filters/builder/databuilder_test.go | 6 +- pkg/filters/builder/extrafuncs.go | 4 +- pkg/filters/builder/extrafuncs_test.go | 2 +- pkg/filters/builder/requestadaptor.go | 20 +- pkg/filters/builder/requestadaptor_test.go | 16 +- pkg/filters/builder/requestbuilder.go | 10 +- pkg/filters/builder/requestbuilder_test.go | 10 +- pkg/filters/builder/responseadaptor.go | 14 +- pkg/filters/builder/responseadaptor_test.go | 16 +- pkg/filters/builder/responsebuilder.go | 10 +- pkg/filters/builder/responsebuilder_test.go | 12 +- pkg/filters/builder/resultbuilder.go | 8 +- pkg/filters/builder/resultbuilder_test.go | 6 +- pkg/filters/certextractor/certextractor.go | 8 +- .../certextractor/certextractor_test.go | 16 +- pkg/filters/connectcontrol/connectcontrol.go | 10 +- .../connectcontrol/connectcontrol_test.go | 10 +- pkg/filters/corsadaptor/corsadaptor.go | 8 +- pkg/filters/corsadaptor/corsadaptor_test.go | 10 +- pkg/filters/fallback/fallback.go | 8 +- pkg/filters/fallback/fallback_test.go | 12 +- pkg/filters/filters.go | 12 +- pkg/filters/filters_test.go | 4 +- pkg/filters/headerlookup/headerlookup.go | 14 +- pkg/filters/headerlookup/headerlookup_test.go | 18 +- pkg/filters/headertojson/headertojson.go | 6 +- pkg/filters/headertojson/headertojson_test.go | 10 +- pkg/filters/headertojson/spec.go | 4 +- pkg/filters/kafka/kafka.go | 10 +- pkg/filters/kafka/kafka_test.go | 10 +- pkg/filters/kafka/spec.go | 4 +- pkg/filters/kafkabackend/kafka.go | 10 +- pkg/filters/kafkabackend/kafka_test.go | 10 +- pkg/filters/kafkabackend/spec.go | 4 +- pkg/filters/meshadaptor/meshadaptor.go | 12 +- pkg/filters/mock/mock.go | 12 +- pkg/filters/mock/mock_test.go | 12 +- pkg/filters/mqttclientauth/mqttauth.go | 10 +- pkg/filters/mqttclientauth/mqttauth_test.go | 8 +- pkg/filters/oidcadaptor/oidcadaptor.go | 10 +- pkg/filters/opafilter/opafilter.go | 12 +- pkg/filters/opafilter/opafilter_test.go | 12 +- pkg/filters/proxies/grpcproxy/codec.go | 2 +- pkg/filters/proxies/grpcproxy/codec_test.go | 2 +- pkg/filters/proxies/grpcproxy/loadbalance.go | 8 +- .../proxies/grpcproxy/loadbalance_test.go | 6 +- pkg/filters/proxies/grpcproxy/pool.go | 14 +- pkg/filters/proxies/grpcproxy/pool_test.go | 8 +- pkg/filters/proxies/grpcproxy/proxy.go | 16 +- pkg/filters/proxies/grpcproxy/proxy_test.go | 18 +- pkg/filters/proxies/grpcproxy/requestmatch.go | 10 +- .../proxies/grpcproxy/requestmatch_test.go | 10 +- pkg/filters/proxies/healthcheck.go | 2 +- pkg/filters/proxies/healthcheck_test.go | 2 +- pkg/filters/proxies/httpproxy/compression.go | 4 +- .../proxies/httpproxy/compression_test.go | 2 +- pkg/filters/proxies/httpproxy/healthcheck.go | 6 +- .../proxies/httpproxy/healthcheck_test.go | 4 +- pkg/filters/proxies/httpproxy/memorycache.go | 8 +- .../proxies/httpproxy/memorycache_test.go | 4 +- pkg/filters/proxies/httpproxy/pool.go | 22 +- pkg/filters/proxies/httpproxy/pool_test.go | 16 +- pkg/filters/proxies/httpproxy/proxy.go | 16 +- pkg/filters/proxies/httpproxy/proxy_test.go | 22 +- pkg/filters/proxies/httpproxy/requestmatch.go | 10 +- .../proxies/httpproxy/requestmatch_test.go | 8 +- .../proxies/httpproxy/simplehttpproxy.go | 18 +- .../proxies/httpproxy/simplehttpproxy_test.go | 10 +- pkg/filters/proxies/httpproxy/wspool.go | 14 +- pkg/filters/proxies/httpproxy/wspool_test.go | 4 +- pkg/filters/proxies/httpproxy/wsproxy.go | 10 +- pkg/filters/proxies/httpproxy/wsproxy_test.go | 6 +- pkg/filters/proxies/loadbalance.go | 6 +- pkg/filters/proxies/loadbalance_test.go | 6 +- pkg/filters/proxies/requestmatch.go | 8 +- pkg/filters/proxies/requestmatch_test.go | 6 +- pkg/filters/proxies/server.go | 2 +- pkg/filters/proxies/server_test.go | 2 +- pkg/filters/proxies/serverpool.go | 10 +- pkg/filters/proxies/serverpool_test.go | 6 +- pkg/filters/proxies/stickysession.go | 6 +- pkg/filters/proxies/stickysession_test.go | 4 +- pkg/filters/ratelimiter/ratelimiter.go | 14 +- pkg/filters/redirector/redirector.go | 10 +- pkg/filters/redirector/redirector_test.go | 14 +- pkg/filters/redirectorv2/redirectorv2.go | 10 +- pkg/filters/redirectorv2/redirectorv2_test.go | 8 +- pkg/filters/registry.go | 2 +- pkg/filters/registry_test.go | 4 +- pkg/filters/remotefilter/remotefilter.go | 14 +- pkg/filters/topicmapper/spec.go | 4 +- pkg/filters/topicmapper/spec_test.go | 6 +- pkg/filters/topicmapper/topic.go | 4 +- pkg/filters/topicmapper/topic_test.go | 4 +- pkg/filters/topicmapper/topicmapper.go | 10 +- pkg/filters/topicmapper/topicmapper_test.go | 6 +- pkg/filters/validator/basicauth.go | 14 +- pkg/filters/validator/jwt.go | 4 +- pkg/filters/validator/oauth2.go | 6 +- pkg/filters/validator/validator.go | 14 +- pkg/filters/validator/validator_test.go | 18 +- pkg/filters/wasmhost/doc.go | 2 +- pkg/filters/wasmhost/hostfunc.go | 6 +- pkg/filters/wasmhost/vm.go | 6 +- pkg/filters/wasmhost/wasmhost.go | 12 +- pkg/graceupdate/graceupdate.go | 6 +- pkg/logger/export.go | 8 +- pkg/logger/hub.go | 2 +- pkg/logger/logfile.go | 2 +- pkg/logger/logger.go | 8 +- pkg/logger/logger_test.go | 4 +- pkg/object/autocertmanager/autocertmanager.go | 8 +- .../autocertmanager/autocertmanager_test.go | 12 +- pkg/object/autocertmanager/dnsprovider.go | 2 +- pkg/object/autocertmanager/domain.go | 4 +- pkg/object/autocertmanager/storage.go | 6 +- pkg/object/consulserviceregistry/client.go | 2 +- .../consulserviceregistry.go | 10 +- .../easemonitormetrics/easemonitormetrics.go | 14 +- .../etcdserviceregistry.go | 12 +- .../eurekaserviceregistry.go | 10 +- pkg/object/function/faascontroller.go | 12 +- pkg/object/function/provider/provider.go | 8 +- pkg/object/function/spec/fsm.go | 2 +- pkg/object/function/spec/fsm_test.go | 2 +- pkg/object/function/spec/function.go | 6 +- pkg/object/function/spec/function_test.go | 2 +- pkg/object/function/storage/storage.go | 6 +- pkg/object/function/worker/api.go | 14 +- pkg/object/function/worker/function.go | 10 +- pkg/object/function/worker/ingress.go | 22 +- pkg/object/function/worker/worker.go | 12 +- .../gatewaycontroller/gatewaycontroller.go | 8 +- pkg/object/gatewaycontroller/k8s.go | 4 +- pkg/object/gatewaycontroller/translator.go | 30 +- pkg/object/globalfilter/globalfilter.go | 12 +- pkg/object/grpcserver/grpcserver.go | 8 +- pkg/object/grpcserver/grpcserver_test.go | 8 +- pkg/object/grpcserver/mux.go | 20 +- pkg/object/grpcserver/mux_test.go | 12 +- pkg/object/grpcserver/runtime.go | 14 +- pkg/object/grpcserver/runtime_test.go | 6 +- pkg/object/grpcserver/spec.go | 4 +- pkg/object/grpcserver/spec_test.go | 4 +- pkg/object/httpserver/httpserver.go | 8 +- pkg/object/httpserver/httpserver_test.go | 10 +- pkg/object/httpserver/metrics_test.go | 4 +- pkg/object/httpserver/mux.go | 30 +- pkg/object/httpserver/mux_test.go | 28 +- .../httpserver/routers/ordered/router.go | 6 +- .../httpserver/routers/ordered/router_test.go | 10 +- .../httpserver/routers/radixtree/router.go | 6 +- .../routers/radixtree/router_test.go | 6 +- pkg/object/httpserver/routers/routers.go | 6 +- pkg/object/httpserver/routers/routers_test.go | 4 +- pkg/object/httpserver/routers/spec.go | 8 +- pkg/object/httpserver/routers/spec_test.go | 8 +- pkg/object/httpserver/runtime.go | 20 +- pkg/object/httpserver/runtime_test.go | 8 +- pkg/object/httpserver/spec.go | 10 +- pkg/object/httpserver/spec_test.go | 10 +- .../ingresscontroller/ingresscontroller.go | 12 +- pkg/object/ingresscontroller/k8s.go | 4 +- pkg/object/ingresscontroller/translator.go | 18 +- pkg/object/meshcontroller/api/api.go | 16 +- .../meshcontroller/api/api_customresource.go | 10 +- pkg/object/meshcontroller/api/api_ingress.go | 10 +- pkg/object/meshcontroller/api/api_part.go | 8 +- pkg/object/meshcontroller/api/api_service.go | 12 +- .../meshcontroller/api/api_servicecanary.go | 10 +- .../meshcontroller/api/api_serviceinstance.go | 10 +- pkg/object/meshcontroller/api/api_tenant.go | 10 +- .../meshcontroller/api/api_trafficcontrol.go | 10 +- .../meshcontroller/certmanager/certmanager.go | 14 +- .../certmanager/meshcertprovider.go | 6 +- .../meshcontroller/informer/informer.go | 14 +- .../ingresscontroller/ingresscontroller.go | 16 +- pkg/object/meshcontroller/label/label.go | 2 +- pkg/object/meshcontroller/layout/layout.go | 2 +- pkg/object/meshcontroller/master/master.go | 20 +- pkg/object/meshcontroller/meshcontroller.go | 22 +- .../meshcontroller/registrycenter/consul.go | 2 +- .../registrycenter/discovery.go | 6 +- .../meshcontroller/registrycenter/eureka.go | 2 +- .../meshcontroller/registrycenter/nacos.go | 2 +- .../registrycenter/registrycenter.go | 14 +- pkg/object/meshcontroller/service/service.go | 18 +- pkg/object/meshcontroller/spec/builder.go | 28 +- .../meshcontroller/spec/ingresscontroller.go | 6 +- pkg/object/meshcontroller/spec/selector.go | 4 +- .../meshcontroller/spec/selector_test.go | 2 +- pkg/object/meshcontroller/spec/sidecar.go | 6 +- pkg/object/meshcontroller/spec/spec.go | 16 +- pkg/object/meshcontroller/spec/spec_test.go | 26 +- pkg/object/meshcontroller/storage/storage.go | 6 +- pkg/object/meshcontroller/worker/api.go | 4 +- .../meshcontroller/worker/api_consul.go | 10 +- .../meshcontroller/worker/api_eureka.go | 10 +- pkg/object/meshcontroller/worker/api_nacos.go | 10 +- pkg/object/meshcontroller/worker/egress.go | 24 +- pkg/object/meshcontroller/worker/ingress.go | 16 +- .../meshcontroller/worker/observability.go | 4 +- pkg/object/meshcontroller/worker/server.go | 6 +- pkg/object/meshcontroller/worker/worker.go | 26 +- pkg/object/mock/namespacer.go | 16 +- pkg/object/mqttproxy/broker.go | 14 +- pkg/object/mqttproxy/cachetopicmgr.go | 2 +- pkg/object/mqttproxy/client.go | 8 +- pkg/object/mqttproxy/mock_test.go | 10 +- pkg/object/mqttproxy/mqtt_test.go | 18 +- pkg/object/mqttproxy/mqttproxy.go | 14 +- pkg/object/mqttproxy/nocachetopicmgr.go | 2 +- pkg/object/mqttproxy/ratelimiter.go | 4 +- pkg/object/mqttproxy/ratelimiter_test.go | 2 +- pkg/object/mqttproxy/session.go | 6 +- pkg/object/mqttproxy/session_manager.go | 4 +- pkg/object/mqttproxy/session_test.go | 2 +- pkg/object/mqttproxy/sessioncache.go | 2 +- pkg/object/mqttproxy/sessioncache_test.go | 2 +- pkg/object/mqttproxy/spec.go | 2 +- pkg/object/mqttproxy/storage.go | 4 +- pkg/object/mqttproxy/topic.go | 2 +- pkg/object/mqttproxy/topic_test.go | 2 +- pkg/object/mqttproxy/topicmgr.go | 2 +- .../nacosserviceregistry.go | 12 +- pkg/object/pipeline/mock.go | 4 +- pkg/object/pipeline/pipeline.go | 18 +- pkg/object/pipeline/pipeline_test.go | 14 +- .../rawconfigtrafficcontroller.go | 14 +- pkg/object/serviceregistry/service.go | 2 +- pkg/object/serviceregistry/serviceregistry.go | 8 +- pkg/object/serviceregistry/watcher.go | 4 +- .../statussynccontroller.go | 16 +- pkg/object/statussynccontroller/timer.go | 2 +- .../trafficcontroller/trafficcontroller.go | 12 +- .../zookeeperserviceregistry.go | 12 +- pkg/option/env.go | 2 +- pkg/option/env_test.go | 2 +- pkg/option/option.go | 6 +- pkg/option/option_test.go | 4 +- pkg/pidfile/pidfile.go | 6 +- pkg/profile/profile.go | 6 +- pkg/protocols/grpcprot/fake.go | 2 +- pkg/protocols/grpcprot/grpc.go | 4 +- pkg/protocols/grpcprot/grpc_test.go | 2 +- pkg/protocols/grpcprot/header.go | 4 +- pkg/protocols/grpcprot/header_test.go | 2 +- pkg/protocols/grpcprot/request.go | 6 +- pkg/protocols/grpcprot/request_test.go | 4 +- pkg/protocols/grpcprot/response.go | 4 +- pkg/protocols/grpcprot/response_test.go | 2 +- pkg/protocols/httpprot/http.go | 6 +- pkg/protocols/httpprot/http_test.go | 2 +- .../httpprot/httpheader/httpheader.go | 2 +- .../httpprot/httpheader/validator.go | 6 +- pkg/protocols/httpprot/httpstat/httpstat.go | 8 +- pkg/protocols/httpprot/httpstat/topn.go | 4 +- pkg/protocols/httpprot/request.go | 6 +- pkg/protocols/httpprot/request_test.go | 4 +- pkg/protocols/httpprot/response.go | 6 +- pkg/protocols/httpprot/response_test.go | 4 +- pkg/protocols/mqttprot/mock.go | 2 +- pkg/protocols/mqttprot/mqtt.go | 4 +- pkg/protocols/mqttprot/request.go | 4 +- pkg/protocols/mqttprot/response.go | 4 +- pkg/protocols/protocols.go | 2 +- pkg/registry/registry.go | 88 ++-- pkg/resilience/circuitbreaker.go | 4 +- pkg/resilience/registry.go | 2 +- pkg/resilience/resilience.go | 8 +- pkg/resilience/retry.go | 2 +- pkg/supervisor/mock.go | 6 +- pkg/supervisor/object.go | 10 +- pkg/supervisor/registry.go | 4 +- pkg/supervisor/spec.go | 6 +- pkg/supervisor/supervisor.go | 8 +- pkg/tracing/cloudflare.go | 4 +- pkg/tracing/tracing.go | 4 +- pkg/tracing/tracing_test.go | 4 +- pkg/util/circuitbreaker/circuitbreaker.go | 2 +- .../circuitbreaker/circuitbreaker_test.go | 2 +- pkg/util/codecounter/codecounter.go | 2 +- pkg/util/codectool/codectool.go | 2 +- pkg/util/dynamicobject/dynamicobject.go | 2 +- pkg/util/dynamicobject/dynamicobject_test.go | 4 +- pkg/util/easemonitor/easemonitor.go | 4 +- pkg/util/fasttime/fasttime.go | 2 +- pkg/util/fasttime/fasttime_test.go | 2 +- pkg/util/fasttime/fasttime_unix.go | 2 +- pkg/util/fasttime/fasttime_windows.go | 2 +- pkg/util/filterwriter/filterwriter.go | 2 +- pkg/util/filterwriter/filterwriter_test.go | 2 +- pkg/util/ipfilter/ipfilter.go | 4 +- pkg/util/ipfilter/ipfilter_test.go | 2 +- pkg/util/jmxtool/agent_controller.go | 8 +- pkg/util/jmxtool/agent_controller_test.go | 6 +- pkg/util/jmxtool/common.go | 4 +- pkg/util/jmxtool/common_test.go | 2 +- pkg/util/k8s/k8s.go | 2 +- pkg/util/limitlistener/limitlistener.go | 4 +- pkg/util/objectpool/objectpool.go | 4 +- pkg/util/objectpool/objectpool_test.go | 4 +- pkg/util/pathadaptor/pathadaptor.go | 4 +- pkg/util/prometheushelper/helper.go | 4 +- pkg/util/ratelimiter/multiratelimiter.go | 2 +- pkg/util/ratelimiter/multiratelimiter_test.go | 2 +- pkg/util/ratelimiter/ratelimiter.go | 2 +- pkg/util/ratelimiter/ratelimiter_test.go | 2 +- pkg/util/readers/bytecountreader.go | 2 +- pkg/util/readers/bytecountreader_test.go | 2 +- pkg/util/readers/callbackreader.go | 2 +- pkg/util/readers/callbackreader_test.go | 2 +- pkg/util/readers/gzipcompressreader.go | 2 +- pkg/util/readers/gzipcompressreader_test.go | 2 +- pkg/util/readers/readerat.go | 2 +- pkg/util/readers/readerat_test.go | 2 +- pkg/util/sampler/sampler.go | 2 +- pkg/util/sampler/sampler_test.go | 2 +- pkg/util/sem/semaphore.go | 2 +- pkg/util/sem/semaphore_test.go | 2 +- pkg/util/signer/signer.go | 2 +- pkg/util/signer/signer_test.go | 2 +- pkg/util/signer/spec.go | 2 +- pkg/util/stringtool/stringtool.go | 2 +- pkg/util/stringtool/stringtool_test.go | 2 +- pkg/util/timetool/distributedtimer.go | 2 +- pkg/util/timetool/distributedtimer_test.go | 2 +- .../urlclusteranalyzer/urlclusteranalyzer.go | 2 +- .../urlclusteranalyzer_test.go | 2 +- pkg/util/urlrule/urlrule.go | 4 +- pkg/util/urlrule/urlrule_test.go | 4 +- pkg/v/format.go | 2 +- pkg/v/format_test.go | 2 +- pkg/v/v.go | 4 +- pkg/v/v_test.go | 2 +- pkg/v/validaterecorder.go | 6 +- pkg/v/validaterecorder_test.go | 2 +- pkg/version/version.go | 2 +- scripts/easegress.service | 2 +- scripts/install.sh | 2 +- 499 files changed, 1942 insertions(+), 1942 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index de043548dc..255c85c41f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,9 +6,9 @@ before: - go generate ./... snapshot: - name_template: '{{ .Version }}' + name_template: "{{ .Version }}" checksum: - name_template: 'checksums.txt' + name_template: "checksums.txt" changelog: skip: true @@ -23,10 +23,10 @@ builds: - darwin ldflags: - -s -w - - -X github.com/megaease/easegress/v2/pkg/version.RELEASE={{ .Tag }} - - -X github.com/megaease/easegress/v2/pkg/version.COMMIT={{.Commit}} - - -X github.com/megaease/easegress/v2/pkg/version.REPO=megaease/easegress - + - -X github.com/easegress-io/easegress/v2/pkg/version.RELEASE={{ .Tag }} + - -X github.com/easegress-io/easegress/v2/pkg/version.COMMIT={{.Commit}} + - -X github.com/easegress-io/easegress/v2/pkg/version.REPO=easegress-io/easegress + - id: builder main: cmd/builder/main.go binary: bin/egbuilder @@ -37,9 +37,9 @@ builds: - darwin ldflags: - -s -w - - -X github.com/megaease/easegress/v2/pkg/version.RELEASE={{ .Tag }} - - -X github.com/megaease/easegress/v2/pkg/version.COMMIT={{.Commit}} - - -X github.com/megaease/easegress/v2/pkg/version.REPO=megaease/easegress + - -X github.com/easegress-io/easegress/v2/pkg/version.RELEASE={{ .Tag }} + - -X github.com/easegress-io/easegress/v2/pkg/version.COMMIT={{.Commit}} + - -X github.com/easegress-io/easegress/v2/pkg/version.REPO=easegress-io/easegress - id: server main: cmd/server/main.go @@ -51,9 +51,9 @@ builds: - darwin ldflags: - -s -w - - -X github.com/megaease/easegress/v2/pkg/version.RELEASE={{ .Tag }} - - -X github.com/megaease/easegress/v2/pkg/version.COMMIT={{.Commit}} - - -X github.com/megaease/easegress/v2/pkg/version.REPO=megaease/easegress + - -X github.com/easegress-io/easegress/v2/pkg/version.RELEASE={{ .Tag }} + - -X github.com/easegress-io/easegress/v2/pkg/version.COMMIT={{.Commit}} + - -X github.com/easegress-io/easegress/v2/pkg/version.REPO=easegress-io/easegress archives: - id: easegress @@ -64,16 +64,17 @@ archives: release: github: - owner: megaease + owner: easegress-io name: easegress name_template: "{{ .ProjectName }}-v{{ .Version }}" dockers: - image_templates: - - megaease/easegress:latest - - megaease/easegress:{{ .Tag }} - - megaease/easegress:easemesh - - megaease/easegress:server-sidecar + # Still use MegaEase DockerHub account until we have a dedicatd one. + - megaease/easegress:latest + - megaease/easegress:{{ .Tag }} + - megaease/easegress:easemesh + - megaease/easegress:server-sidecar goos: linux goarch: amd64 diff --git a/.licenserc.json b/.licenserc.json index 068141c604..ec9e3e0b70 100644 --- a/.licenserc.json +++ b/.licenserc.json @@ -1,7 +1,7 @@ { - "**/*.go" :[ + "**/*.go": [ "/*", - "* Copyright (c) 2017, MegaEase", + "* Copyright (c) 2017, The Easegress Authors", "* All rights reserved.", "*", "* Licensed under the Apache License, Version 2.0 (the \"License\");", @@ -16,6 +16,5 @@ "* See the License for the specific language governing permissions and", "* limitations under the License.", "*/" - ] } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a3bab8d55..355ab78bab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## [v2.7.1](https://github.com/megaease/easegress/tree/v2.7.1) (2024-02-22) +## [v2.7.1](https://github.com/easegress-io/easegress/tree/v2.7.1) (2024-02-22) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.7.0...v2.7.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.7.0...v2.7.1) **Implemented enhancements:** * Upgraded to Golang version 1.21. @@ -18,9 +18,9 @@ * Corrected proxy filter behavior to properly escape paths. -## [v2.7.0](https://github.com/megaease/easegress/tree/v2.7.0) (2023-12-29) +## [v2.7.0](https://github.com/easegress-io/easegress/tree/v2.7.0) (2023-12-29) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.6.4...v2.7.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.6.4...v2.7.0) **Significant changes:** * Support updating system controllers. @@ -34,16 +34,16 @@ * Corrected the object status prefix in some special cases. * Fixed creation error in egbuilder filter. -## [v2.6.4](https://github.com/megaease/easegress/tree/v2.6.4) (2023-12-04) +## [v2.6.4](https://github.com/easegress-io/easegress/tree/v2.6.4) (2023-12-04) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.6.3...v2.6.4) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.6.3...v2.6.4) **Significant changes:** * Support health check for Proxy and WebSocketProxy filter. -## [v2.6.3](https://github.com/megaease/easegress/tree/v2.6.3) (2023-11-23) +## [v2.6.3](https://github.com/easegress-io/easegress/tree/v2.6.3) (2023-11-23) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.6.2...v2.6.3) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.6.2...v2.6.3) **Significant changes:** * Support Kubernetes Gateway API v1. @@ -56,9 +56,9 @@ * Updated omitempty jsonschema in Specs. * Introduced cookie hash support. -## [v2.6.2](https://github.com/megaease/easegress/tree/v2.6.2) (2023-10-19) +## [v2.6.2](https://github.com/easegress-io/easegress/tree/v2.6.2) (2023-10-19) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.6.1...v2.6.2) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.6.1...v2.6.2) **Significant changes:** * Introduced a new user-friendly document. @@ -68,9 +68,9 @@ * Enabled CORS support in the easegress-server APIs. * Updated the helm chart. -## [v2.6.1](https://github.com/megaease/easegress/tree/v2.6.1) (2023-09-01) +## [v2.6.1](https://github.com/easegress-io/easegress/tree/v2.6.1) (2023-09-01) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.6.0...v2.6.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.6.0...v2.6.1) **Significant changes:** * Improved egctl with new commands: 'egctl logs' and 'egctl create httpproxy'. @@ -82,9 +82,9 @@ * Config easegress-server using environment variables. * Restricted to a single running object file. -## [v2.6.0](https://github.com/megaease/easegress/tree/v2.6.0) (2023-08-16) +## [v2.6.0](https://github.com/easegress-io/easegress/tree/v2.6.0) (2023-08-16) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.5.3...v2.6.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.5.3...v2.6.0) **Significant changes:** * Introduced egbuilder to build Easegress with custom plugins. @@ -93,18 +93,18 @@ **Implemented enhancements:** * Rewrite integration tests with egctl commands. -## [v2.5.3](https://github.com/megaease/easegress/tree/v2.5.3) (2023-08-02) +## [v2.5.3](https://github.com/easegress-io/easegress/tree/v2.5.3) (2023-08-02) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.5.0...v2.5.3) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.5.0...v2.5.3) **Implemented enhancements:** * Add documentation for the GRPCServer. * Update the redirect policy for the Proxy filter. * Correct typos and optimize the code. -## [v2.5.0](https://github.com/megaease/easegress/tree/v2.5.0) (2023-07-07) +## [v2.5.0](https://github.com/easegress-io/easegress/tree/v2.5.0) (2023-07-07) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.4.3...v2.5.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.4.3...v2.5.0) **Significant changes:** * Enhanced the command line tool egctl. @@ -113,15 +113,15 @@ * Introduced new WebSocket options to the ingress controller. * Expanded multiplexing rules to support multiple hosts. -## [v2.4.3](https://github.com/megaease/easegress/tree/v2.4.3) (2023-06-30) +## [v2.4.3](https://github.com/easegress-io/easegress/tree/v2.4.3) (2023-06-30) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.4.2...v2.4.3) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.4.2...v2.4.3) * Websocket supports cross origin requests (#1021) -## [v2.4.2](https://github.com/megaease/easegress/tree/v2.4.2) (2023-06-08) +## [v2.4.2](https://github.com/easegress-io/easegress/tree/v2.4.2) (2023-06-08) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.4.1...v2.4.2) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.4.1...v2.4.2) **Implemented enhancements:** * GRPCProxy use connection pool to manage connections (#977). @@ -131,9 +131,9 @@ * Websocket does not work (#998). * Fix typo and other problems in the documentation (#999). -## [v2.4.1](https://github.com/megaease/easegress/tree/v2.4.1) (2023-04-21) +## [v2.4.1](https://github.com/easegress-io/easegress/tree/v2.4.1) (2023-04-21) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.4.0...v2.4.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.4.0...v2.4.1) **Implemented enhancements:** * Add a new filter: Simple HTTP Proxy. @@ -145,9 +145,9 @@ * Fix OIDCAdaptor bug. * Fix typo and other minor problems in the documentation. -## [v2.4.0](https://github.com/megaease/easegress/tree/v2.4.0) (2023-03-03) +## [v2.4.0](https://github.com/easegress-io/easegress/tree/v2.4.0) (2023-03-03) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.3.1...v2.4.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.3.1...v2.4.0) **Significant changes:** * Support GRPC protocol. @@ -164,9 +164,9 @@ * Fix typo and other minor problems in the documentation. -## [v2.3.1](https://github.com/megaease/easegress/tree/v2.3.1) (2022-12-28) +## [v2.3.1](https://github.com/easegress-io/easegress/tree/v2.3.1) (2022-12-28) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.3.0...v2.3.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.3.0...v2.3.1) **Significant changes:** * Support OpenTelemetry for tracing. @@ -179,9 +179,9 @@ * Support HTTPS for egctl and easegress-server. * Enhance egctl delete. -## [v2.3.0](https://github.com/megaease/easegress/tree/v2.3.0) (2022-11-28) +## [v2.3.0](https://github.com/easegress-io/easegress/tree/v2.3.0) (2022-11-28) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.2.0...v2.3.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.2.0...v2.3.0) **Significant changes:** * HTTPServer: support radix tree router and routing by client IP. @@ -199,9 +199,9 @@ * Fix mqtt test random fail. -## [v2.2.0](https://github.com/megaease/easegress/tree/v2.2.0) (2022-10-18) +## [v2.2.0](https://github.com/easegress-io/easegress/tree/v2.2.0) (2022-10-18) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.1.1...v2.2.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.1.1...v2.2.0) **Significant changes:** * Add new filter WebSocketProxy and remove controller WebSocketServer. @@ -219,9 +219,9 @@ * Fix EaseMonitorMetrics status error. * Fix GlobalFilter jsonschema validator error. -## [v2.1.1](https://github.com/megaease/easegress/tree/v2.1.1) (2022-09-09) +## [v2.1.1](https://github.com/easegress-io/easegress/tree/v2.1.1) (2022-09-09) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.1.0...v2.1.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.1.0...v2.1.1) **Implemented enhancements:** @@ -238,9 +238,9 @@ * Fix ingress translation error -## [v2.1.0](https://github.com/megaease/easegress/tree/v2.1.0) (2022-08-09) +## [v2.1.0](https://github.com/easegress-io/easegress/tree/v2.1.0) (2022-08-09) -[Full Changelog](https://github.com/megaease/easegress/compare/v2.0.0...v2.1.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v2.0.0...v2.1.0) **Significant changes:** @@ -264,9 +264,9 @@ * Panic in StatusSyncController. * MQTT client is not closed as expected. -## [v2.0.0](https://github.com/megaease/easegress/tree/v2.0.0) (2022-07-07) +## [v2.0.0](https://github.com/easegress-io/easegress/tree/v2.0.0) (2022-07-07) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.5.3...v2.0.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.5.3...v2.0.0) **Significant changes:** @@ -286,307 +286,307 @@ * Drop the support of dynamic cluster management. * Depreciated configuration method is removed. -## [v1.5.3](https://github.com/megaease/easegress/tree/v1.5.3) (2022-06-28) +## [v1.5.3](https://github.com/easegress-io/easegress/tree/v1.5.3) (2022-06-28) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.5.2...v1.5.3) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.5.2...v1.5.3) **Implemented enhancements:** -- Remove HTTP hop headers [\#650](https://github.com/megaease/easegress/pull/650) -- Optimize Kubernetes IngressController rule route policy [\#651](https://github.com/megaease/easegress/pull/651) +- Remove HTTP hop headers [\#650](https://github.com/easegress-io/easegress/pull/650) +- Optimize Kubernetes IngressController rule route policy [\#651](https://github.com/easegress-io/easegress/pull/651) **Fixed bugs:** -- Wrong HTTP request scheme if the `X-Forwarded-Proto` header contains two or more items[\#634](https://github.com/megaease/easegress/pull/634) -- Fix request "Content-Length" header missing bug [\#649](https://github.com/megaease/easegress/pull/649) +- Wrong HTTP request scheme if the `X-Forwarded-Proto` header contains two or more items[\#634](https://github.com/easegress-io/easegress/pull/634) +- Fix request "Content-Length" header missing bug [\#649](https://github.com/easegress-io/easegress/pull/649) -## [v1.5.2](https://github.com/megaease/easegress/tree/v1.5.2) (2022-05-10) +## [v1.5.2](https://github.com/easegress-io/easegress/tree/v1.5.2) (2022-05-10) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.5.1...v1.5.2) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.5.1...v1.5.2) **Significant changes:** -- Support external standalone etcd [\#595](https://github.com/megaease/easegress/pull/595) +- Support external standalone etcd [\#595](https://github.com/easegress-io/easegress/pull/595) **Implemented enhancements:** -- Support Easegress ingress rewrite target [\#617](https://github.com/megaease/easegress/pull/617) -- Support the AND-OR header strategy in HTTPServer [\#613](https://github.com/megaease/easegress/pull/613) -- Support proxy to send zipkin b3 headers [\#579](https://github.com/megaease/easegress/pull/579) +- Support Easegress ingress rewrite target [\#617](https://github.com/easegress-io/easegress/pull/617) +- Support the AND-OR header strategy in HTTPServer [\#613](https://github.com/easegress-io/easegress/pull/613) +- Support proxy to send zipkin b3 headers [\#579](https://github.com/easegress-io/easegress/pull/579) **Fixed bugs:** -- Fix proxy pool bug [\#614](https://github.com/megaease/easegress/pull/614) -- Fix FaasController request host field [\#586](https://github.com/megaease/easegress/pull/586) -- Fix Easemonitor metrics status convert error [\#583](https://github.com/megaease/easegress/pull/583) -- Fix Status sync controller pointer error [\#582](https://github.com/megaease/easegress/pull/582) -- Fix HTTPPipeline creation fail [\#577](https://github.com/megaease/easegress/pull/577) +- Fix proxy pool bug [\#614](https://github.com/easegress-io/easegress/pull/614) +- Fix FaasController request host field [\#586](https://github.com/easegress-io/easegress/pull/586) +- Fix Easemonitor metrics status convert error [\#583](https://github.com/easegress-io/easegress/pull/583) +- Fix Status sync controller pointer error [\#582](https://github.com/easegress-io/easegress/pull/582) +- Fix HTTPPipeline creation fail [\#577](https://github.com/easegress-io/easegress/pull/577) -## [v1.5.1](https://github.com/megaease/easegress/tree/v1.5.1) (2022-04-06) +## [v1.5.1](https://github.com/easegress-io/easegress/tree/v1.5.1) (2022-04-06) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.5.0...v1.5.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.5.0...v1.5.1) **Significant changes:** -- Turn profiling on/off runtime [\#543](https://github.com/megaease/easegress/pull/543) +- Turn profiling on/off runtime [\#543](https://github.com/easegress-io/easegress/pull/543) **Implemented enhancements:** -- Change the way StatusSyncController stores statuses to reduce memory usage [\#542](https://github.com/megaease/easegress/pull/542) -- Support custom image name [\#545](https://github.com/megaease/easegress/pull/545) -- HTTPServer prefix and fullpath support rewrite_target [\#553](https://github.com/megaease/easegress/pull/553) -- Refactor the Docker entrypoint.sh [\#569](https://github.com/megaease/easegress/pull/569) +- Change the way StatusSyncController stores statuses to reduce memory usage [\#542](https://github.com/easegress-io/easegress/pull/542) +- Support custom image name [\#545](https://github.com/easegress-io/easegress/pull/545) +- HTTPServer prefix and fullpath support rewrite_target [\#553](https://github.com/easegress-io/easegress/pull/553) +- Refactor the Docker entrypoint.sh [\#569](https://github.com/easegress-io/easegress/pull/569) **Fixed bugs:** -- Fix proxy fallback [\#537](https://github.com/megaease/easegress/pull/537) -- Resolve inconsistent path selection [\#536](https://github.com/megaease/easegress/pull/536) -- Validate CircuitBreaker filter [\#551](https://github.com/megaease/easegress/pull/551) +- Fix proxy fallback [\#537](https://github.com/easegress-io/easegress/pull/537) +- Resolve inconsistent path selection [\#536](https://github.com/easegress-io/easegress/pull/536) +- Validate CircuitBreaker filter [\#551](https://github.com/easegress-io/easegress/pull/551) -## [v1.5.0](https://github.com/megaease/easegress/tree/v1.5.0) (2022-03-03) +## [v1.5.0](https://github.com/easegress-io/easegress/tree/v1.5.0) (2022-03-03) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.4.1...v1.5.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.4.1...v1.5.0) **Significant changes:** -- HTTP basic auth filter [\#454](https://github.com/megaease/easegress/pull/454) -- HeaderLookup filter [\#454](https://github.com/megaease/easegress/pull/454) -- HeaderToJSON filter [\#458](https://github.com/megaease/easegress/pull/458) -- CertExtractor filter [\#474](https://github.com/megaease/easegress/pull/474) -- Custom data management [\#456](https://github.com/megaease/easegress/pull/456), [\#500](https://github.com/megaease/easegress/pull/500) +- HTTP basic auth filter [\#454](https://github.com/easegress-io/easegress/pull/454) +- HeaderLookup filter [\#454](https://github.com/easegress-io/easegress/pull/454) +- HeaderToJSON filter [\#458](https://github.com/easegress-io/easegress/pull/458) +- CertExtractor filter [\#474](https://github.com/easegress-io/easegress/pull/474) +- Custom data management [\#456](https://github.com/easegress-io/easegress/pull/456), [\#500](https://github.com/easegress-io/easegress/pull/500) - **NOTE:** The dynamic cluster management feature (e.g. adding a new primary node without stopping the cluster) is deprecated and will be removed in the next release, please switch to static cluster management. You can refer to this cookbook [chapter](https://github.com/megaease/easegress/blob/main/doc/cookbook/multi-node-cluster.md) or follow [Helm example](https://github.com/megaease/easegress/tree/main/helm-charts/easegress) for more info on how to define a static cluster. + **NOTE:** The dynamic cluster management feature (e.g. adding a new primary node without stopping the cluster) is deprecated and will be removed in the next release, please switch to static cluster management. You can refer to this cookbook [chapter](https://github.com/easegress-io/easegress/blob/main/doc/cookbook/multi-node-cluster.md) or follow [Helm example](https://github.com/easegress-io/easegress/tree/main/helm-charts/easegress) for more info on how to define a static cluster. **Implemented enhancements:** -- Add pipeline route for mqttproxy [\#453](https://github.com/megaease/easegress/pull/453) -- Install script to install the systemd service [\#461](https://github.com/megaease/easegress/pull/461), [\#463](https://github.com/megaease/easegress/pull/463) -- RequestAdaptor support compress/decompress request body [\#497](https://github.com/megaease/easegress/pull/497) -- CorsAdaptor support origin [\#498](https://github.com/megaease/easegress/pull/498) -- Filter out 'TLS handshake error' [\#533](https://github.com/megaease/easegress/pull/533) -- Test [\#469](https://github.com/megaease/easegress/pull/469), [\#507](https://github.com/megaease/easegress/pull/507) -- Documentation [\#464](https://github.com/megaease/easegress/pull/464), [\#465](https://github.com/megaease/easegress/pull/465), [\#475](https://github.com/megaease/easegress/pull/475), [\#499](https://github.com/megaease/easegress/pull/499) +- Add pipeline route for mqttproxy [\#453](https://github.com/easegress-io/easegress/pull/453) +- Install script to install the systemd service [\#461](https://github.com/easegress-io/easegress/pull/461), [\#463](https://github.com/easegress-io/easegress/pull/463) +- RequestAdaptor support compress/decompress request body [\#497](https://github.com/easegress-io/easegress/pull/497) +- CorsAdaptor support origin [\#498](https://github.com/easegress-io/easegress/pull/498) +- Filter out 'TLS handshake error' [\#533](https://github.com/easegress-io/easegress/pull/533) +- Test [\#469](https://github.com/easegress-io/easegress/pull/469), [\#507](https://github.com/easegress-io/easegress/pull/507) +- Documentation [\#464](https://github.com/easegress-io/easegress/pull/464), [\#465](https://github.com/easegress-io/easegress/pull/465), [\#475](https://github.com/easegress-io/easegress/pull/475), [\#499](https://github.com/easegress-io/easegress/pull/499) **Fixed bugs:** -- Fix empty http request body read panic [\#457](https://github.com/megaease/easegress/pull/457) -- Fix paging in query nacos service registry [\#478](https://github.com/megaease/easegress/pull/478) -- Fix duplicate response header [\#482](https://github.com/megaease/easegress/pull/482) -- Add close option to httpRequest.SetBody [\#502](https://github.com/megaease/easegress/pull/502) -- Fix wrong service name in nacos service registry [\#504](https://github.com/megaease/easegress/pull/504) -- Remove method & path from httpRequest [\#524](https://github.com/megaease/easegress/pull/524) -- Make cluster.Mutex to be goroutine same [\#527](https://github.com/megaease/easegress/pull/527) -- Fix empty request scheme [\#529](https://github.com/megaease/easegress/pull/529) -- Fix typo [\#471](https://github.com/megaease/easegress/pull/471), [\#479](https://github.com/megaease/easegress/pull/479), +- Fix empty http request body read panic [\#457](https://github.com/easegress-io/easegress/pull/457) +- Fix paging in query nacos service registry [\#478](https://github.com/easegress-io/easegress/pull/478) +- Fix duplicate response header [\#482](https://github.com/easegress-io/easegress/pull/482) +- Add close option to httpRequest.SetBody [\#502](https://github.com/easegress-io/easegress/pull/502) +- Fix wrong service name in nacos service registry [\#504](https://github.com/easegress-io/easegress/pull/504) +- Remove method & path from httpRequest [\#524](https://github.com/easegress-io/easegress/pull/524) +- Make cluster.Mutex to be goroutine same [\#527](https://github.com/easegress-io/easegress/pull/527) +- Fix empty request scheme [\#529](https://github.com/easegress-io/easegress/pull/529) +- Fix typo [\#471](https://github.com/easegress-io/easegress/pull/471), [\#479](https://github.com/easegress-io/easegress/pull/479), -## [v1.4.1](https://github.com/megaease/easegress/tree/v1.4.1) (2022-01-07) +## [v1.4.1](https://github.com/easegress-io/easegress/tree/v1.4.1) (2022-01-07) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.4.0...v1.4.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.4.0...v1.4.1) **Implemented enhancements:** -- Improve performance of Proxy filter [\#414](https://github.com/megaease/easegress/pull/414) -- Ingress Controller tutorial and Helm Charts to support multi nodes [\#395](https://github.com/megaease/easegress/pull/395) +- Improve performance of Proxy filter [\#414](https://github.com/easegress-io/easegress/pull/414) +- Ingress Controller tutorial and Helm Charts to support multi nodes [\#395](https://github.com/easegress-io/easegress/pull/395) **Fixed bugs:** -- Reduce etcd server memory usage [\#439](https://github.com/megaease/easegress/pull/439) -- Support PEM in both base64 and plain text [\#425](https://github.com/megaease/easegress/pull/425) -- Only set host when server addr is IP (close #447) [\#451](https://github.com/megaease/easegress/pull/451) -- Copy backend http response header to httpresponse [\#449](https://github.com/megaease/easegress/pull/449) -- Fix httpserver httppipeline status not show error [\#441](https://github.com/megaease/easegress/pull/441) -- Mock filter to support header match [\#409](https://github.com/megaease/easegress/pull/409) -- Fix wrong content-type [\#430](https://github.com/megaease/easegress/pull/430) -- Fix easegress-server yaml validation [\#432](https://github.com/megaease/easegress/pull/432) -- Change status code 403 to 401 when jwt signer and oauth2 validation fail [\#426](https://github.com/megaease/easegress/pull/426) -- Fix typos [\#423](https://github.com/megaease/easegress/pull/423) [\#417](https://github.com/megaease/easegress/pull/417) [\#416](https://github.com/megaease/easegress/pull/416) [\#410](https://github.com/megaease/easegress/pull/410) -- Expose max-sync-message-size in options [\#419](https://github.com/megaease/easegress/pull/419) -- Enable calling mirrorPool reader Read after EOF [\#411](https://github.com/megaease/easegress/pull/411) -- Use ClusterJoinURLs for secondary members [\#403](https://github.com/megaease/easegress/pull/403) +- Reduce etcd server memory usage [\#439](https://github.com/easegress-io/easegress/pull/439) +- Support PEM in both base64 and plain text [\#425](https://github.com/easegress-io/easegress/pull/425) +- Only set host when server addr is IP (close #447) [\#451](https://github.com/easegress-io/easegress/pull/451) +- Copy backend http response header to httpresponse [\#449](https://github.com/easegress-io/easegress/pull/449) +- Fix httpserver httppipeline status not show error [\#441](https://github.com/easegress-io/easegress/pull/441) +- Mock filter to support header match [\#409](https://github.com/easegress-io/easegress/pull/409) +- Fix wrong content-type [\#430](https://github.com/easegress-io/easegress/pull/430) +- Fix easegress-server yaml validation [\#432](https://github.com/easegress-io/easegress/pull/432) +- Change status code 403 to 401 when jwt signer and oauth2 validation fail [\#426](https://github.com/easegress-io/easegress/pull/426) +- Fix typos [\#423](https://github.com/easegress-io/easegress/pull/423) [\#417](https://github.com/easegress-io/easegress/pull/417) [\#416](https://github.com/easegress-io/easegress/pull/416) [\#410](https://github.com/easegress-io/easegress/pull/410) +- Expose max-sync-message-size in options [\#419](https://github.com/easegress-io/easegress/pull/419) +- Enable calling mirrorPool reader Read after EOF [\#411](https://github.com/easegress-io/easegress/pull/411) +- Use ClusterJoinURLs for secondary members [\#403](https://github.com/easegress-io/easegress/pull/403) -## [v1.4.0](https://github.com/megaease/easegress/tree/v1.4.0) (2021-12-07) +## [v1.4.0](https://github.com/easegress-io/easegress/tree/v1.4.0) (2021-12-07) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.3.1...v1.4.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.3.1...v1.4.0) **Significant changes:** -- **Support automated certificate management with ACME (Let's Encrypt)** [\#391](https://github.com/megaease/easegress/pull/391) -- **Cluster configuration made simpler** [\#382](https://github.com/megaease/easegress/pull/382) -- **WebAssembly SDK for Golang** [#370](https://github.com/megaease/easegress/pull/370) +- **Support automated certificate management with ACME (Let's Encrypt)** [\#391](https://github.com/easegress-io/easegress/pull/391) +- **Cluster configuration made simpler** [\#382](https://github.com/easegress-io/easegress/pull/382) +- **WebAssembly SDK for Golang** [#370](https://github.com/easegress-io/easegress/pull/370) **Implemented enhancements:** -- **New feature `GlobalFilters` to HTTPPipeline**[\#376](https://github.com/megaease/easegress/pull/376) -- **Linux kernel tuning guide**[\#361](https://github.com/megaease/easegress/pull/361) -- **WebSocket proxy user guide**[\#385](https://github.com/megaease/easegress/pull/385) -- **Cluster deployment guide**[\#369](https://github.com/megaease/easegress/pull/369) +- **New feature `GlobalFilters` to HTTPPipeline**[\#376](https://github.com/easegress-io/easegress/pull/376) +- **Linux kernel tuning guide**[\#361](https://github.com/easegress-io/easegress/pull/361) +- **WebSocket proxy user guide**[\#385](https://github.com/easegress-io/easegress/pull/385) +- **Cluster deployment guide**[\#369](https://github.com/easegress-io/easegress/pull/369) **Fixed bugs:** -- **Add more tracing information**[\#316](https://github.com/megaease/easegress/issues/316) -- **Improve robustness of WebSocket proxy**[\#379](https://github.com/megaease/easegress/issues/379) +- **Add more tracing information**[\#316](https://github.com/easegress-io/easegress/issues/316) +- **Improve robustness of WebSocket proxy**[\#379](https://github.com/easegress-io/easegress/issues/379) -## [v1.3.2](https://github.com/megaease/easegress/tree/v1.3.2) (2021-11-08) +## [v1.3.2](https://github.com/easegress-io/easegress/tree/v1.3.2) (2021-11-08) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.3.1...v1.3.2) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.3.1...v1.3.2) **Implemented enhancements:** -- **Performance improvement**[\#277](https://github.com/megaease/easegress/pull/277) +- **Performance improvement**[\#277](https://github.com/easegress-io/easegress/pull/277) **Fixed bugs:** -- **Wrong host function name in WasmHost**[\#317](https://github.com/megaease/easegress/pull/317) -- **Wrong name in WebSocket spec**[\#328](https://github.com/megaease/easegress/pull/328) -- **Response body corrupt after pass ResponseAdapter**[\#345](https://github.com/megaease/easegress/pull/345) -- **Failed to create pipeline when filters are not sorted as flow**[\#348](https://github.com/megaease/easegress/pull/348) +- **Wrong host function name in WasmHost**[\#317](https://github.com/easegress-io/easegress/pull/317) +- **Wrong name in WebSocket spec**[\#328](https://github.com/easegress-io/easegress/pull/328) +- **Response body corrupt after pass ResponseAdapter**[\#345](https://github.com/easegress-io/easegress/pull/345) +- **Failed to create pipeline when filters are not sorted as flow**[\#348](https://github.com/easegress-io/easegress/pull/348) -## [v1.3.1](https://github.com/megaease/easegress/tree/v1.3.1) (2021-10-20) +## [v1.3.1](https://github.com/easegress-io/easegress/tree/v1.3.1) (2021-10-20) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.3.0...v1.3.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.3.0...v1.3.1) **Implemented enhancements:** -- **Improve docker image build speed**[\#306](https://github.com/megaease/easegress/pull/306) -- **Add doc for MQTT proxy**[\#300](https://github.com/megaease/easegress/pull/300) -- **MQTT proxy performance optimization**[\#304](https://github.com/megaease/easegress/pull/304) +- **Improve docker image build speed**[\#306](https://github.com/easegress-io/easegress/pull/306) +- **Add doc for MQTT proxy**[\#300](https://github.com/easegress-io/easegress/pull/300) +- **MQTT proxy performance optimization**[\#304](https://github.com/easegress-io/easegress/pull/304) **Fixed bugs:** -- **Fix MQTT closed client related bugs**[\#302](https://github.com/megaease/easegress/pull/302) -- **Change logger level from Error to Warn**[\#296](https://github.com/megaease/easegress/pull/307) -- **Fix Eureka port number**[\#309](https://github.com/megaease/easegress/pull/309) +- **Fix MQTT closed client related bugs**[\#302](https://github.com/easegress-io/easegress/pull/302) +- **Change logger level from Error to Warn**[\#296](https://github.com/easegress-io/easegress/pull/307) +- **Fix Eureka port number**[\#309](https://github.com/easegress-io/easegress/pull/309) -## [v1.3.0](https://github.com/megaease/easegress/tree/v1.3.0) (2021-10-13) +## [v1.3.0](https://github.com/easegress-io/easegress/tree/v1.3.0) (2021-10-13) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.2.1...v1.3.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.2.1...v1.3.0) **Significant changes:** -- **MQTT support** [\#203](https://github.com/megaease/easegress/pull/203) +- **MQTT support** [\#203](https://github.com/easegress-io/easegress/pull/203) **Implemented enhancements:** -- **Add chart files for helm-install** [\#254](https://github.com/megaease/easegress/pull/254) -- **Add license checker** [\#247](https://github.com/megaease/easegress/pull/247) -- **Improve egctl to support sending multi configs at once** [\#230](https://github.com/megaease/easegress/pull/230) -- **Create objects from spec files at startup** [\#202](https://github.com/megaease/easegress/pull/202) -- **Support bi-directional service registry controllers** [#171](https://github.com/megaease/easegress/pull/171) +- **Add chart files for helm-install** [\#254](https://github.com/easegress-io/easegress/pull/254) +- **Add license checker** [\#247](https://github.com/easegress-io/easegress/pull/247) +- **Improve egctl to support sending multi configs at once** [\#230](https://github.com/easegress-io/easegress/pull/230) +- **Create objects from spec files at startup** [\#202](https://github.com/easegress-io/easegress/pull/202) +- **Support bi-directional service registry controllers** [#171](https://github.com/easegress-io/easegress/pull/171) **Fixed bugs:** - **Fix typo** -- **Make `docker run` with default config without parameter** [\#248](https://github.com/megaease/easegress/pull/248) -- **Fix random failure of jmx test cases** [\#290](https://github.com/megaease/easegress/pull/290) -- **Correctly handle empty object name** [\#289](https://github.com/megaease/easegress/pull/289) -- **Update doc/developer-guide.md** [\#250](https://github.com/megaease/easegress/pull/250) -- **Update cluster example, no std-log-level in option** [\#278](https://github.com/megaease/easegress/pull/278) -- **Add readme in cn** [\#267](https://github.com/megaease/easegress/pull/267) -- **Correctly update restfulapi in ctl** [\#249](https://github.com/megaease/easegress/pull/249) -- **Update func match() in pkg/object/httpserver/mux.go** [\#245](https://github.com/megaease/easegress/pull/245) -- **Refine the flash sale document** [\#243](https://github.com/megaease/easegress/pull/243) -- **Fix lint warning** [\#242](https://github.com/megaease/easegress/pull/242) -- **Fix wrong link for ingress controller guide** [\#232](https://github.com/megaease/easegress/pull/232) -- **Update ingresscontroller\.md to fix permission issue** [#227](https://github.com/megaease/easegress/pull/227) -- **Fix test fail caused by random order of map iteration** [\#224](https://github.com/megaease/easegress/pull/224) -- **Add host functions for cluster data (flash sale support)** [\#188](https://github.com/megaease/easegress/pull/188) -- **Avoid send duplicated metrics data** [\#217](https://github.com/megaease/easegress/pull/217) - -## [v1.2.1](https://github.com/megaease/easegress/tree/v1.2.1) (2021-09-08) - -[Full Changelog](https://github.com/megaease/easegress/compare/v1.2.0...v1.2.1) +- **Make `docker run` with default config without parameter** [\#248](https://github.com/easegress-io/easegress/pull/248) +- **Fix random failure of jmx test cases** [\#290](https://github.com/easegress-io/easegress/pull/290) +- **Correctly handle empty object name** [\#289](https://github.com/easegress-io/easegress/pull/289) +- **Update doc/developer-guide.md** [\#250](https://github.com/easegress-io/easegress/pull/250) +- **Update cluster example, no std-log-level in option** [\#278](https://github.com/easegress-io/easegress/pull/278) +- **Add readme in cn** [\#267](https://github.com/easegress-io/easegress/pull/267) +- **Correctly update restfulapi in ctl** [\#249](https://github.com/easegress-io/easegress/pull/249) +- **Update func match() in pkg/object/httpserver/mux.go** [\#245](https://github.com/easegress-io/easegress/pull/245) +- **Refine the flash sale document** [\#243](https://github.com/easegress-io/easegress/pull/243) +- **Fix lint warning** [\#242](https://github.com/easegress-io/easegress/pull/242) +- **Fix wrong link for ingress controller guide** [\#232](https://github.com/easegress-io/easegress/pull/232) +- **Update ingresscontroller\.md to fix permission issue** [#227](https://github.com/easegress-io/easegress/pull/227) +- **Fix test fail caused by random order of map iteration** [\#224](https://github.com/easegress-io/easegress/pull/224) +- **Add host functions for cluster data (flash sale support)** [\#188](https://github.com/easegress-io/easegress/pull/188) +- **Avoid send duplicated metrics data** [\#217](https://github.com/easegress-io/easegress/pull/217) + +## [v1.2.1](https://github.com/easegress-io/easegress/tree/v1.2.1) (2021-09-08) + +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.2.0...v1.2.1) **Significant changes:** -- **Add documentation of user cases** [\#155](https://github.com/megaease/easegress/pull/155) -- **Add UnitTest and raise coverage rate** [\#170](https://github.com/megaease/easegress/pull/170) +- **Add documentation of user cases** [\#155](https://github.com/easegress-io/easegress/pull/155) +- **Add UnitTest and raise coverage rate** [\#170](https://github.com/easegress-io/easegress/pull/170) **Implemented enhancements:** -- Trafficcontroller copy mutex by pointer [\#211](https://github.com/megaease/easegress/pull/211) -- Move limitlistener to util for other protocol proxy use[\#210](https://github.com/megaease/easegress/pull/210) -- Skip invalid ip cidr parse result [\#184](https://github.com/megaease/easegress/pull/184) +- Trafficcontroller copy mutex by pointer [\#211](https://github.com/easegress-io/easegress/pull/211) +- Move limitlistener to util for other protocol proxy use[\#210](https://github.com/easegress-io/easegress/pull/210) +- Skip invalid ip cidr parse result [\#184](https://github.com/easegress-io/easegress/pull/184) **Fixed bugs:** -- Fix interface nil convert panic [\#164](https://github.com/megaease/easegress/pull/164) +- Fix interface nil convert panic [\#164](https://github.com/easegress-io/easegress/pull/164) -## [v1.2.0](https://github.com/megaease/easegress/tree/v1.2.0) (2021-08-23) +## [v1.2.0](https://github.com/easegress-io/easegress/tree/v1.2.0) (2021-08-23) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.1.0...v1.2.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.1.0...v1.2.0) **Significant changes:** -- **WASM AssemblyScript SDK** [SDK](https://github.com/megaease/easegress-assemblyscript-sdk) -- **Windows Supporting** [\#74](https://github.com/megaease/easegress/pull/74) -- **Websockt Proxy** [\#99](https://github.com/megaease/easegress/issues/99) +- **WASM AssemblyScript SDK** [SDK](https://github.com/easegress-io/easegress-assemblyscript-sdk) +- **Windows Supporting** [\#74](https://github.com/easegress-io/easegress/pull/74) +- **Websockt Proxy** [\#99](https://github.com/easegress-io/easegress/issues/99) **Implemented enhancements:** -- Add user-guide for WasmHost filter [\#138](https://github.com/megaease/easegress/pull/138) -- Refactor APIAggregator filter [\#153](https://github.com/megaease/easegress/pull/153) -- Add PR deployment testing [\#130](https://github.com/megaease/easegress/pull/130) -- Format and correct code according to golint [\#124](https://github.com/megaease/easegress/pull/124)[\#131](https://github.com/megaease/easegress/pull/131) +- Add user-guide for WasmHost filter [\#138](https://github.com/easegress-io/easegress/pull/138) +- Refactor APIAggregator filter [\#153](https://github.com/easegress-io/easegress/pull/153) +- Add PR deployment testing [\#130](https://github.com/easegress-io/easegress/pull/130) +- Format and correct code according to golint [\#124](https://github.com/easegress-io/easegress/pull/124)[\#131](https://github.com/easegress-io/easegress/pull/131) **Fixed bugs:** -- Fix http template dictory empty error [\#163](https://github.com/megaease/easegress/pull/163) -- Fix initTrafficGate panic when service not found [\#144](https://github.com/megaease/easegress/pull/144) +- Fix http template dictory empty error [\#163](https://github.com/easegress-io/easegress/pull/163) +- Fix initTrafficGate panic when service not found [\#144](https://github.com/easegress-io/easegress/pull/144) -## [v1.1.0](https://github.com/megaease/easegress/tree/v1.1.0) (2021-07-16) +## [v1.1.0](https://github.com/easegress-io/easegress/tree/v1.1.0) (2021-07-16) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.0.1...v1.1.0) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.0.1...v1.1.0) **Significant changes:** -- **Kubernetes Ingress Controller** [\#25](https://github.com/megaease/easegress/issues/25) -- **WASM**:The new plugin mechanism for the Easegress [\#1](https://github.com/megaease/easegress/issues/1)(**Still working on AssemblyScript SDK, coming soon...**) +- **Kubernetes Ingress Controller** [\#25](https://github.com/easegress-io/easegress/issues/25) +- **WASM**:The new plugin mechanism for the Easegress [\#1](https://github.com/easegress-io/easegress/issues/1)(**Still working on AssemblyScript SDK, coming soon...**) **Implemented enhancements:** -- CI: Add codecov into github action [\#121](https://github.com/megaease/easegress/pull/121) -- Mesh: convert service instance API to `pb/json` [\#109](https://github.com/megaease/easegress/pull/109) -- Support dynamic admin API && correct syncer && make interface cleaner [\#96](https://github.com/megaease/easegress/pull/96) -- CI: check unnecessary dependencies [\#77](https://github.com/megaease/easegress/pull/77) +- CI: Add codecov into github action [\#121](https://github.com/easegress-io/easegress/pull/121) +- Mesh: convert service instance API to `pb/json` [\#109](https://github.com/easegress-io/easegress/pull/109) +- Support dynamic admin API && correct syncer && make interface cleaner [\#96](https://github.com/easegress-io/easegress/pull/96) +- CI: check unnecessary dependencies [\#77](https://github.com/easegress-io/easegress/pull/77) **Fixed bugs:** -- Github Action failed due to the unit test of TestCluster [\#111](https://github.com/megaease/easegress/issues/111) -- Fix unit test failure of semaphore and cluster [\#110](https://github.com/megaease/easegress/pull/110) -- Use default spec correctly & fix httppipeline.Validate without recursively checking [\#100](https://github.com/megaease/easegress/pull/100) +- Github Action failed due to the unit test of TestCluster [\#111](https://github.com/easegress-io/easegress/issues/111) +- Fix unit test failure of semaphore and cluster [\#110](https://github.com/easegress-io/easegress/pull/110) +- Use default spec correctly & fix httppipeline.Validate without recursively checking [\#100](https://github.com/easegress-io/easegress/pull/100) -## [v1.0.1](https://github.com/megaease/easegress/tree/v1.0.1) (2021-06-29) +## [v1.0.1](https://github.com/easegress-io/easegress/tree/v1.0.1) (2021-06-29) -[Full Changelog](https://github.com/megaease/easegress/compare/v1.0.0...v1.0.1) +[Full Changelog](https://github.com/easegress-io/easegress/compare/v1.0.0...v1.0.1) **Significant changes:** -- Use traffic controller to manage TrafficGate and Pipeline [\#20](https://github.com/megaease/easegress/issues/20) -- FaaSController [\#59](https://github.com/megaease/easegress/pull/59) -- Upgrade MeshController to use TrafficController [\#79](https://github.com/megaease/easegress/pull/79) -- Replace the Iris with Go-Chi Framework [\#24](https://github.com/megaease/easegress/issues/24) +- Use traffic controller to manage TrafficGate and Pipeline [\#20](https://github.com/easegress-io/easegress/issues/20) +- FaaSController [\#59](https://github.com/easegress-io/easegress/pull/59) +- Upgrade MeshController to use TrafficController [\#79](https://github.com/easegress-io/easegress/pull/79) +- Replace the Iris with Go-Chi Framework [\#24](https://github.com/easegress-io/easegress/issues/24) **Implemented enhancements:** -- Golang/protobuf warning [\#36](https://github.com/megaease/easegress/issues/36) -- Support an HTTPServer bind multiple certs [\#31](https://github.com/megaease/easegress/issues/31) -- HTTP `Host` header can't be written properly into headers for backend request [\#27](https://github.com/megaease/easegress/issues/27) -- Support strip trailing slash [\#85](https://github.com/megaease/easegress/pull/85) -- Add multiple certs support, close \#31 [\#48](https://github.com/megaease/easegress/pull/48) -- Docker: add tzdata package for latest alpine [\#45](https://github.com/megaease/easegress/pull/45) -- Deps: use dependabot to update dependencies [\#43](https://github.com/megaease/easegress/pull/43) +- Golang/protobuf warning [\#36](https://github.com/easegress-io/easegress/issues/36) +- Support an HTTPServer bind multiple certs [\#31](https://github.com/easegress-io/easegress/issues/31) +- HTTP `Host` header can't be written properly into headers for backend request [\#27](https://github.com/easegress-io/easegress/issues/27) +- Support strip trailing slash [\#85](https://github.com/easegress-io/easegress/pull/85) +- Add multiple certs support, close \#31 [\#48](https://github.com/easegress-io/easegress/pull/48) +- Docker: add tzdata package for latest alpine [\#45](https://github.com/easegress-io/easegress/pull/45) +- Deps: use dependabot to update dependencies [\#43](https://github.com/easegress-io/easegress/pull/43) **Fixed bugs:** -- Possible regression introduce by FaaSController [\#73](https://github.com/megaease/easegress/issues/73) -- HTTPPipeline loadBalance is required but causes panic if missing [\#63](https://github.com/megaease/easegress/issues/63) -- Server help messages print multiple times [\#37](https://github.com/megaease/easegress/issues/37) -- Fix double free etcd [\#87](https://github.com/megaease/easegress/pull/87) +- Possible regression introduce by FaaSController [\#73](https://github.com/easegress-io/easegress/issues/73) +- HTTPPipeline loadBalance is required but causes panic if missing [\#63](https://github.com/easegress-io/easegress/issues/63) +- Server help messages print multiple times [\#37](https://github.com/easegress-io/easegress/issues/37) +- Fix double free etcd [\#87](https://github.com/easegress-io/easegress/pull/87) -## [v1.0.0](https://github.com/megaease/easegress/tree/v1.0.0) (2021-06-01) +## [v1.0.0](https://github.com/easegress-io/easegress/tree/v1.0.0) (2021-06-01) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f91b008862..db069893f4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ If you have not already, please check the [README.md](./README.md#getting-starte ## Feature requests -Do you want to suggest an idea for the project? Use this *Feature request* [issue template](https://github.com/megaease/easegress/issues/new?template=feature_request.md) to describe your idea. +Do you want to suggest an idea for the project? Use this *Feature request* [issue template](https://github.com/easegress-io/easegress/issues/new?template=feature_request.md) to describe your idea. ## Reporting general issues @@ -29,7 +29,7 @@ There are many scenarios when you could open an issue, including: - Test improvement - Any questions on project -Please describe clearly and explicitly your issue. Try to add as many details as you can. You can follow the instructions in the issue ticket to ensure that the issue contains enough background: https://github.com/megaease/easegress/issues/new/choose +Please describe clearly and explicitly your issue. Try to add as many details as you can. You can follow the instructions in the issue ticket to ensure that the issue contains enough background: https://github.com/easegress-io/easegress/issues/new/choose ## Contributing @@ -67,7 +67,7 @@ When contributing to Easegress, it’s good idea to follow these steps: 2. Fork the repository and clone your fork: 1. `git clone https://github.com//easegress.git` 3. Track the upstream remote - 1. `git remote add upstream https://github.com/megaease/easegress.git` + 1. `git remote add upstream https://github.com/easegress-io/easegress.git` 4. Create your branch, for example 1. `git checkout -b fix/-` 5. Do your changes and commit them diff --git a/Makefile b/Makefile index 9e2a4481c3..039e6ff2a5 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ ifndef GIT_COMMIT endif # Build Flags -GO_LD_FLAGS= "-s -w -X github.com/megaease/easegress/v2/pkg/version.RELEASE=${RELEASE} -X github.com/megaease/easegress/v2/pkg/version.COMMIT=${GIT_COMMIT} -X github.com/megaease/easegress/v2/pkg/version.REPO=${GIT_REPO_INFO}" +GO_LD_FLAGS= "-s -w -X github.com/easegress-io/easegress/v2/pkg/version.RELEASE=${RELEASE} -X github.com/easegress-io/easegress/v2/pkg/version.COMMIT=${GIT_COMMIT} -X github.com/easegress-io/easegress/v2/pkg/version.REPO=${GIT_REPO_INFO}" # Cgo is disabled by default ENABLE_CGO= CGO_ENABLED=0 diff --git a/README.md b/README.md index feda9b018a..749908f7ed 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Easegress -[![Go Report Card](https://goreportcard.com/badge/github.com/megaease/easegress)](https://goreportcard.com/report/github.com/megaease/easegress) -[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/megaease/easegress/test.yml?branch=main)](https://github.com/megaease/easegress/actions/workflows/test.yml) +[![Go Report Card](https://goreportcard.com/badge/github.com/easegress-io/easegress)](https://goreportcard.com/report/github.com/easegress-io/easegress) +[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/megaease/easegress/test.yml?branch=main)](https://github.com/easegress-io/easegress/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/megaease/easegress/branch/main/graph/badge.svg?token=5Q80B98LPI)](https://codecov.io/gh/megaease/easegress) [![Docker pulls](https://img.shields.io/docker/pulls/megaease/easegress.svg)](https://hub.docker.com/r/megaease/easegress) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/megaease/easegress)](https://github.com/megaease/easegress/blob/main/go.mod) -[![Join MegaEase Slack](https://img.shields.io/badge/slack-megaease-brightgreen?logo=slack)](https://join.slack.com/t/openmegaease/shared_invite/zt-upo7v306-lYPHvVwKnvwlqR0Zl2vveA) +[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/megaease/easegress)](https://github.com/easegress-io/easegress/blob/main/go.mod) +[![Join Easegress Slack](https://img.shields.io/badge/slack-megaease-brightgreen?logo=slack)](https://cloud-native.slack.com/messages/easegress) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8265/badge)](https://www.bestpractices.dev/projects/8265) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Feasegress-io%2Feasegress.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Feasegress-io%2Feasegress?ref=badge_shield) @@ -91,7 +91,7 @@ The architecture of Easegress: - **Compression:** compresses body for the response. - **Hot-Update:** updates both config and binary of Easegress in place without losing connections. - **Operation** - - **Easy to Integrate:** command line([egctl](docs/02.Tutorials/2.1.egctl-Usage.md)), MegaEase Portal, HTTP clients such as curl, postman, etc. + - **Easy to Integrate:** command line([egctl](docs/02.Tutorials/2.1.egctl-Usage.md)), Easegress Portal, HTTP clients such as curl, postman, etc. - **Distributed Tracing** - Built-in [OpenTelemetry](https://opentelemetry.io/), which provides a vendor-neutral API. - **Observability** @@ -189,7 +189,7 @@ For full list, see [Tutorials](docs/02.Tutorials/README.md) and [Cookbook](docs/ ## Easegress Portal -[Easegress Portal](https://github.com/megaease/easegress-portal) is an intuitive, open-source user interface for the Easegress traffic orchestration system. Developed with React.js, this portal provides config management, metrics, and visualizations, enhancing the overall Easegress experience. +[Easegress Portal](https://github.com/easegress-io/easegress-portal) is an intuitive, open-source user interface for the Easegress traffic orchestration system. Developed with React.js, this portal provides config management, metrics, and visualizations, enhancing the overall Easegress experience. ### Screenshots @@ -208,7 +208,7 @@ For full list, see [Tutorials](docs/02.Tutorials/README.md) and [Cookbook](docs/ ## Community -- [Join Slack Workspace](https://join.slack.com/t/openmegaease/shared_invite/zt-upo7v306-lYPHvVwKnvwlqR0Zl2vveA) for requirement, issue and development. +- [Join Slack Workspace](https://cloud-native.slack.com/messages/easegress) for requirement, issue and development. - [MegaEase on Twitter](https://twitter.com/megaease) ## Contributing diff --git a/README.zh-CN.md b/README.zh-CN.md index d2614b8f29..4e2df126ac 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -1,12 +1,12 @@ # Easegress -[![Go Report Card](https://goreportcard.com/badge/github.com/megaease/easegress)](https://goreportcard.com/report/github.com/megaease/easegress) -[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/megaease/easegress/test.yml?branch=main)](https://github.com/megaease/easegress/actions/workflows/test.yml) +[![Go Report Card](https://goreportcard.com/badge/github.com/easegress-io/easegress)](https://goreportcard.com/report/github.com/easegress-io/easegress) +[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/megaease/easegress/test.yml?branch=main)](https://github.com/easegress-io/easegress/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/megaease/easegress/branch/main/graph/badge.svg?token=5Q80B98LPI)](https://codecov.io/gh/megaease/easegress) [![Docker pulls](https://img.shields.io/docker/pulls/megaease/easegress.svg)](https://hub.docker.com/r/megaease/easegress) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/megaease/easegress)](https://github.com/megaease/easegress/blob/main/go.mod) -[![Join MegaEase Slack](https://img.shields.io/badge/slack-megaease-brightgreen?logo=slack)](https://join.slack.com/t/openmegaease/shared_invite/zt-upo7v306-lYPHvVwKnvwlqR0Zl2vveA) +[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/megaease/easegress)](https://github.com/easegress-io/easegress/blob/main/go.mod) +[![Join Easegress Slack](https://img.shields.io/badge/slack-megaease-brightgreen?logo=slack)](https://cloud-native.slack.com/messages/easegress) -Easegress is the next-generation traffic-based gateway product developed by MegaEase. It is completely architected on top of cloud-native technology, avoiding the shortcomings of traditional reverse proxy in terms of high availability, traffic orchestration, monitoring, service discovery, etc. +Easegress is the next-generation traffic-based gateway product. It is completely architected on top of cloud-native technology, avoiding the shortcomings of traditional reverse proxy in terms of high availability, traffic orchestration, monitoring, service discovery, etc. We released Easegress v2.0 recently, with another significant enhancement to traffic orchestration, allowing users to implement a super API by orchestrating multiple APIs without writing any code. This article will demonstrate this feature by building a Telegram translation bot. This bot can automatically translate incoming messages into Chinese, Japanese, and English, and, in addition to text messages, it also supports translating voice and photo messages. @@ -23,7 +23,7 @@ We released Easegress v2.0 recently, with another significant enhancement to tra Since the bot needs to receive Telegram message notifications and call third-party APIs, we must prepare the following in advance: -* Install the latest version of Easegress according to [this document](https://github.com/megaease/easegress#setting-up-easegress) and make sure that external applications can access the Easegress instance on at least one of ports 80, 88, 443, or 8443. +* Install the latest version of Easegress according to [this document](https://github.com/easegress-io/easegress#setting-up-easegress) and make sure that external applications can access the Easegress instance on at least one of ports 80, 88, 443, or 8443. * Create a Telegram bot by following [this document](https://core.telegram.org/bots#3-how-do-i-create-a-bot), set its name (EaseTranslateBot is used in this article), write down its token, and [set up a Webhook](https://core.telegram.org/bots/api#setwebhook) that points to the Easegress instance installed in the previous step. Our bot will receive notifications of new messages through this Webhook. * AWS Access Key ID and Access Key Secret, and ensure that you can use the AWS translation API with this Access Key. * Google Cloud's Token and ensure that you can use Google Cloud's Speech Recognize API and OCR (Image Annotation) API with this Token. @@ -55,7 +55,7 @@ flow: # the requests. If we put it at the end, the requests we don't process # will end the process early and no Response will be returned. - filter: buildFinalResponse - + # detect message type and jump accordingly - filter: detectMessageType jumpIf: @@ -63,7 +63,7 @@ flow: result1: processVoice # voice result2: processPhoto # photo "": END # ignore, end the processing - + # text message - filter: requestBuilderExtractText alias: processText # alias of the filter @@ -71,7 +71,7 @@ flow: jumpIf: # conditional jump, begin translation "": translate # if everything is fine, or end the # processing otherwise. - + # voice message - filter: requestBuilderGetVoiceFile # Constructing a request to convert a alias: processVoice # voice file ID to a path. @@ -91,7 +91,7 @@ flow: jumpIf: # conditional jump, begin translation "": translate # if everything is fine, or end the # processing otherwise. - + # photo message (the process is basically the same as for voice message) - filter: requestBuilderGetPhotoFile alias: processPhoto @@ -108,16 +108,16 @@ flow: namespace: extract - filter: requestBuilderPhotoText # no need to jump namespace: extract - + # translate to Chinese -- filter: requestBuilderTranslate # Constructing the request to call the +- filter: requestBuilderTranslate # Constructing the request to call the alias: translate # translation API namespace: zh - filter: signAWSRequest # Signing as required by AWS namespace: zh - filter: proxyTranslate # Send request to retrieve translation namespace: zh # result - + # translate to English (same process as Chinese translation) - filter: requestBuilderTranslate namespace: en @@ -125,7 +125,7 @@ flow: namespace: en - filter: proxyTranslate namespace: en - + # translate to Japanese (same process as Chinese translation) - filter: requestBuilderTranslate namespace: ja @@ -133,7 +133,7 @@ flow: namespace: ja - filter: proxyTranslate namespace: ja - + # reply, send the translation to Telegram - filter: requestBuilderReply # constructing a request to send the reply namespace: tg @@ -177,21 +177,21 @@ kind: Proxy pools: - servers: - url: https://vision.googleapis.com - + # Google Speech Recognize name: proxySpeechRecognize kind: Proxy pools: - servers: - url: https://speech.googleapis.com - + # AWS Translate name: proxyTranslate kind: Proxy pools: - servers: - url: https://translate.us-east-2.amazonaws.com - + # Telegram name: proxyTelegram kind: Proxy @@ -232,7 +232,7 @@ template: | {{$msg := or .requests.DEFAULT.JSONBody.message .requests.DEFAULT.JSONBody.channel_post}} method: GET url: https://api.telegram.org/bot{YOUR BOT TOKEN}/getFile?file_id={{$msg.voice.file_id}} - + # Convert photo file ID to path kind: RequestBuilder name: requestBuilderGetPhotoFile @@ -240,7 +240,7 @@ template: | {{$msg := or .requests.DEFAULT.JSONBody.message .requests.DEFAULT.JSONBody.channel_post}} method: GET url: https://api.telegram.org/bot{YOUR BOT TOKEN}/getFile?file_id={{(last $msg.photo).file_id}} - + # Download(read) file kind: RequestBuilder name: requestBuilderDownloadFile @@ -276,7 +276,7 @@ template: | "content": "{{.responses.extract.Body | b64enc}}" } } - + # OCR kind: RequestBuilder name: requestBuilderImageAnnotate @@ -313,7 +313,7 @@ template: | "exclude": true, "text": "{{$msg.text | jsonEscape}}" } - + # Extract Text From Voice(Speech) Message kind: RequestBuilder name: requestBuilderSpeechText @@ -322,7 +322,7 @@ template: | {{$result = index $result.alternatives 0}} body: | {"text": "{{$result.transcript | jsonEscape}}"} - + # Extract Text From Photo Message kind: RequestBuilder name: requestBuilderPhotoText @@ -354,7 +354,7 @@ template: | "TargetLanguageCode": "{{.namespace}}", "Text": "{{.requests.extract.JSONBody.text | jsonEscape}}" } - + # Sign the request name: signAWSRequest kind: RequestAdaptor @@ -404,7 +404,7 @@ template: | ## 5. Deploy -Once we have prepared the configuration file (can be downloaded [here](https://github.com/megaease/easegress/tree/main/example/translation-bot)), we can deploy this Pipeline to Easegress (assuming the file name is `translate-pipeline.yaml`) via the following command. +Once we have prepared the configuration file (can be downloaded [here](https://github.com/easegress-io/easegress/tree/main/example/translation-bot)), we can deploy this Pipeline to Easegress (assuming the file name is `translate-pipeline.yaml`) via the following command. ```bash $ egctl create -f translate-pipeline.yaml diff --git a/docs/03.Advanced-Cookbook/3.04.Canary-Release.md b/docs/03.Advanced-Cookbook/3.04.Canary-Release.md index 904ce2947d..b0d1702ced 100644 --- a/docs/03.Advanced-Cookbook/3.04.Canary-Release.md +++ b/docs/03.Advanced-Cookbook/3.04.Canary-Release.md @@ -38,7 +38,7 @@ A [canary release](https://martinfowler.com/bliki/CanaryRelease.html) is a softw Suppose we run an e-Commerce service, and we recently upgraded our Order Service from version 1 to version 2. To ensure that our users have the best experience, we want to route the users who are accessing our service from Beijing to use the new Order service (version 2). -Download the latest Service code from [canary-case-1](https://github.com/megaease/easegress-canary-example/tree/main/case1) +Download the latest Service code from [canary-case-1](https://github.com/easegress-io/easegress-canary-example/tree/main/case1) **1. Traffic tagging** @@ -114,16 +114,16 @@ curl http://127.0.0.1:8888/order -H "cf-ipcity: Shanghai" In real-world scenarios, services are usually interconnected and depend on each other to provide a seamless experience for the customer. In our case, we recently upgraded our Notify Service from version 1 to version 2. To ensure that our users have a holistic experience, we want to route users who are accessing our service from a Mac device to use the new version of our Notify Service (version 2). -Download the latest Service code from [canary-case-2](https://github.com/megaease/easegress-canary-example/tree/main/case2) +Download the latest Service code from [canary-case-2](https://github.com/easegress-io/easegress-canary-example/tree/main/case2) **1. Traffic tagging** To determine the user's device and system, we can extract it from the `User-Agent` field in HTTP request by [Workers](https://developers.cloudflare.com/workers/). -We offer an easy way to parse `User-Agent` in [easegress-rust-uaparser](https://github.com/megaease/easegress-rust-uaparser) library. +We offer an easy way to parse `User-Agent` in [easegress-rust-uaparser](https://github.com/easegress-io/easegress-rust-uaparser) library. ```bash -git clone https://github.com/megaease/easegress-rust-uaparser.git +git clone https://github.com/easegress-io/easegress-rust-uaparser.git ``` Go to the `easegress-rust-uaparser/cloudflare` directory and deploy the worker by using the `wrangler` command. @@ -202,7 +202,7 @@ Suppose both the Order service and Notify service have been upgraded simultaneou You may think Cloudflare's Workers is not suitable for your needs, there is another easy way to parse `User-Agent` with Easegress's WASM. -Download the latest Service code from [canary-case-3](https://github.com/megaease/easegress-canary-example/tree/main/case3) +Download the latest Service code from [canary-case-3](https://github.com/easegress-io/easegress-canary-example/tree/main/case3) **1. Traffic tagging** @@ -211,7 +211,7 @@ Using Easegress's WASM to parse the `User-Agent`. Download `easegress-rust-uaparser` ```bash -git clone https://github.com/megaease/easegress-rust-uaparser.git +git clone https://github.com/easegress-io/easegress-rust-uaparser.git ``` Go to the `easegress-rust-uaparser/binary` directory and just use the `easegress.wasm` file directly. It will parse the `User-Agent` and add the `x-ua-device` and `x-ua-os` headers to the HTTP request. diff --git a/docs/03.Advanced-Cookbook/3.07.WasmHost.md b/docs/03.Advanced-Cookbook/3.07.WasmHost.md index d2cbef48a5..2dcd55c33d 100644 --- a/docs/03.Advanced-Cookbook/3.07.WasmHost.md +++ b/docs/03.Advanced-Cookbook/3.07.WasmHost.md @@ -15,7 +15,7 @@ The `WasmHost` is a filter of Easegress which can be orchestrated into a pipelin ## Why Use WasmHost * **Zero Down Time**: filter behavior can be modified by a hot update. -* **Fast Develop, Fast Deploy**: we believe everyone can be a software developer, and you know your requirement better, no need to wait for MegaEase. +* **Fast Develop, Fast Deploy**: we believe everyone can be a software developer, and you know your requirement better, no need to wait for Easegress officil. * **Every Thing Under Control**: the filter behavior is right under your fingers. * **Develop with Your Favour Language**: choose one from `AssemblyScript`, `Go`, `C/C++`, `Rust`, and so on at your wish (Note: a language-specific SDK is required, we are working on this). @@ -36,7 +36,7 @@ The AssemblyScript code of this example is just a noop. But this example include 1. Clone git repository `easegress-assemblyscript-sdk` to someware on disk ```bash - $ git clone https://github.com/megaease/easegress-assemblyscript-sdk.git + $ git clone https://github.com/easegress-io/easegress-assemblyscript-sdk.git ``` 2. Switch to a new directory and initialize a new node module: @@ -94,7 +94,7 @@ The AssemblyScript code of this example is just a noop. But this example include ``` 7. Build with the below command, if everything is right, `untouched.wasm` (the debug version) and `optimized.wasm` (the release version) will be generated at the `build` folder. - + ```bash $ npm run asbuild ``` @@ -144,7 +144,7 @@ The AssemblyScript code of this example is just a noop. But this example include 10. Set up a backend service at `http://127.0.0.1:9095` with the `mirror` server from the Easegress repository. Using another HTTP server is fine, but the `mirror` server prints requests it received to the console, which makes it much easier to verify the results: ```bash - $ git clone https://github.com/megaease/easegress.git + $ git clone https://github.com/easegress-io/easegress.git $ cd easegress $ go run example/backend-service/mirror/mirror.go ``` diff --git a/docs/03.Advanced-Cookbook/3.08.ChatGPT-Bot.md b/docs/03.Advanced-Cookbook/3.08.ChatGPT-Bot.md index addaceb488..ff8f231c4e 100644 --- a/docs/03.Advanced-Cookbook/3.08.ChatGPT-Bot.md +++ b/docs/03.Advanced-Cookbook/3.08.ChatGPT-Bot.md @@ -175,7 +175,7 @@ template: | ## 5. Deploy -Once we have prepared the configuration file (can be downloaded [here](https://github.com/megaease/easegress/tree/main/example/chatgpt-bot)), we can deploy this Pipeline to Easegress (assuming the file name is `chatgpt-pipeline.yaml`) via the following command. +Once we have prepared the configuration file (can be downloaded [here](https://github.com/easegress-io/easegress/tree/main/example/chatgpt-bot)), we can deploy this Pipeline to Easegress (assuming the file name is `chatgpt-pipeline.yaml`) via the following command. ```bash $ egctl create -f chatgpt-pipeline.yaml diff --git a/docs/03.Advanced-Cookbook/3.12.Migrate.md b/docs/03.Advanced-Cookbook/3.12.Migrate.md index 7be92861ba..b9849b9f78 100644 --- a/docs/03.Advanced-Cookbook/3.12.Migrate.md +++ b/docs/03.Advanced-Cookbook/3.12.Migrate.md @@ -154,7 +154,7 @@ return result ```go import ( // ... - "github.com/megaease/easegress/v2/pkg/object/httppipeline" // remove this line + "github.com/easegress-io/easegress/v2/pkg/object/httppipeline" // remove this line // ... ) diff --git a/docs/06.Development-for-Easegress/6.1.Developer-Guide.md b/docs/06.Development-for-Easegress/6.1.Developer-Guide.md index 462854f6cc..fae86dbc2c 100644 --- a/docs/06.Development-for-Easegress/6.1.Developer-Guide.md +++ b/docs/06.Development-for-Easegress/6.1.Developer-Guide.md @@ -149,7 +149,7 @@ func (c *StatusInLocalController) syncStatus() { #### Register Object to Supervisor -All objects must satisfy the interface `Object` in [`pkg/object/supervisor/registry.go`](https://github.com/megaease/easegress/blob/master/pkg/supervisor/registry.go). +All objects must satisfy the interface `Object` in [`pkg/object/supervisor/registry.go`](https://github.com/easegress-io/easegress/blob/master/pkg/supervisor/registry.go). ```go package statusinlocalcontroller @@ -159,8 +159,8 @@ import ( "runtime/debug" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "gopkg.in/yaml.v2" ) @@ -293,7 +293,7 @@ import ( // Objects // ... - _ "github.com/megaease/easegress/v2/pkg/object/statusinlocalcontroller" + _ "github.com/easegress-io/easegress/v2/pkg/object/statusinlocalcontroller" ) ``` @@ -347,7 +347,7 @@ func (m *HeaderCounter) Handle(ctx *context.Context) (result string) { #### Register Filter to Pipeline -Our core logic is very simple, now let's add some non-business code to make our new filter conform to the requirement of the Pipeline framework. All filters must satisfy the interface `Filter` in [`pkg/object/filters/filters.go`](https://github.com/megaease/easegress/blob/main/pkg/filters/filters.go). +Our core logic is very simple, now let's add some non-business code to make our new filter conform to the requirement of the Pipeline framework. All filters must satisfy the interface `Filter` in [`pkg/object/filters/filters.go`](https://github.com/easegress-io/easegress/blob/main/pkg/filters/filters.go). All of the methods with their names and comments are clean, the only one we need to emphasize is `Inherit`. It is called when the pipeline is updated, without modifying the filter's identity (*name* and *kind*). In practice, this happens when the underlying machine reboots and restarts Easegress. It's the filter's own responsibility to do hot-update in `Inherit` such as transferring meaningful consecutive data. @@ -401,7 +401,7 @@ Then we need to add the import line in the `pkg/registry/registry.go`: ```go import ( - _ "github.com/megaease/easegress/v2/pkg/filters/headercounter + _ "github.com/easegress-io/easegress/v2/pkg/filters/headercounter ) ``` diff --git a/docs/07.Reference/7.07.Benchmark.md b/docs/07.Reference/7.07.Benchmark.md index 6eaba65978..492fc2b27f 100644 --- a/docs/07.Reference/7.07.Benchmark.md +++ b/docs/07.Reference/7.07.Benchmark.md @@ -264,7 +264,7 @@ http: ``` **Echo Server** -1. [Source code](https://github.com/megaease/easegress/tree/main/example/backend-service/mirror) +1. [Source code](https://github.com/easegress-io/easegress/tree/main/example/backend-service/mirror) 2. Its logic is accepting HTTP request and printing to the console, in this testing, we only use `9095` port. @@ -510,7 +510,7 @@ To minimize the factors, 5 Azure VMs, with SKU [Standard D8s v3 (8 vcpus, 32 GiB ### Software - Easegress build with Go 1.16.6 @ `d2e5887` + Easegress build with Go 1.16.6 @ `d2e5887` * upstream: Ubuntu 20.04.2, NGINX 1.18.0-0ubuntu1.2 diff --git a/docs/07.Reference/7.09.Maintain.md b/docs/07.Reference/7.09.Maintain.md index 088d68c5d7..85b43efca6 100644 --- a/docs/07.Reference/7.09.Maintain.md +++ b/docs/07.Reference/7.09.Maintain.md @@ -9,7 +9,7 @@ Let's suppose that the next version is `X.Y.Z`. Then new *tag* is `vX.Y.Z` (note ## Steps 1. Create a Pull Request that updates release version `X.Y.Z` in Makefile and adds the new version to `CHANGELOG.md`. Include significant changes, implemented enchantments and fixed bugs to `CHANGELOG.md`. Once the PR is reviewed and approved, merge it to main branch. -2. Create new release note at https://github.com/megaease/easegress/releases/new with *release title* `easegress-vX.Y.Z`, click *Choose a tag* and add new tag `vX.Y.Z`. Write the Release note. You can use the modifications written to `CHANGELOG.md` in previous step. Follow the same format, as previous Release notes. Once written, click `Save draft`. +2. Create new release note at https://github.com/easegress-io/easegress/releases/new with *release title* `easegress-vX.Y.Z`, click *Choose a tag* and add new tag `vX.Y.Z`. Write the Release note. You can use the modifications written to `CHANGELOG.md` in previous step. Follow the same format, as previous Release notes. Once written, click `Save draft`. 3. New tag triggers Goreleaser Github action. Follow up that it creates and uploads successfully all binaries and Docker images. 4. Ensure that the release note created in step 2 contains the command to pull the new Docker image. 5. Edit the release note create in step 2, and click `Publish release`. diff --git a/example/backend-service/echo/echo.go b/example/backend-service/echo/echo.go index e0ecfea59d..1a2b9c9968 100644 --- a/example/backend-service/echo/echo.go +++ b/example/backend-service/echo/echo.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/example/backend-service/mirror/mirror.go b/example/backend-service/mirror/mirror.go index 9fbea142b2..ed40d0acf0 100644 --- a/example/backend-service/mirror/mirror.go +++ b/example/backend-service/mirror/mirror.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/example/backend-service/remote/remote.go b/example/backend-service/remote/remote.go index 0fa89b71c6..dc1b7d594a 100644 --- a/example/backend-service/remote/remote.go +++ b/example/backend-service/remote/remote.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/example/translation-bot/README.md b/example/translation-bot/README.md index cb6f9a0be3..7c0af86705 100644 --- a/example/translation-bot/README.md +++ b/example/translation-bot/README.md @@ -3,7 +3,7 @@ ## 1. Prerequisites -* Install the latest version of Easegress according to [this document](https://github.com/megaease/easegress#setting-up-easegress) and make sure that external applications can access the Easegress instance on at least one of ports 80, 88, 443 or 8443. +* Install the latest version of Easegress according to [this document](https://github.com/easegress-io/easegress#setting-up-easegress) and make sure that external applications can access the Easegress instance on at least one of ports 80, 88, 443 or 8443. * Create a Telegram bot by following [this document](https://core.telegram.org/bots#3-how-do-i-create-a-bot), set its name, write down its token, and [set up a Webhook](https://core.telegram.org/bots/api#setwebhook) that points to the Easegress instance installed in the previous step. The bot will receive notifications of new messages through this Webhook. Note the webhook url must be an `https` one. * AWS Access Key ID and Access Key Secret, and ensure that you can use the AWS translation API with this Access Key. * Google Cloud's Token and ensure that you can use Google Cloud's Speech Recognize API and OCR (Image Annotation) API with this Token. diff --git a/go.mod b/go.mod index 8c09493956..4d753e2441 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/megaease/easegress/v2 +module github.com/easegress-io/easegress/v2 go 1.21 diff --git a/helm-charts/easegress/Chart.yaml b/helm-charts/easegress/Chart.yaml index cab8c2d790..e1548b0c57 100644 --- a/helm-charts/easegress/Chart.yaml +++ b/helm-charts/easegress/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: easegress type: application version: 1.0.0 -icon: https://raw.github.com/megaease/easegress/main/doc/imgs/easegress.svg +icon: https://raw.github.com/easegress-io/easegress/main/doc/imgs/easegress.svg diff --git a/helm-charts/easegress/README.md b/helm-charts/easegress/README.md index 7317de1e49..60a2455a68 100644 --- a/helm-charts/easegress/README.md +++ b/helm-charts/easegress/README.md @@ -58,7 +58,7 @@ kubectl delete pvc easegress-pv-easegress-0 -n easegress ## Parameters -The following table lists the configurable parameters of the MegaEase Easegress Helm installation. +The following table lists the configurable parameters of the Easegress Helm installation. | Key | Type | Default | Description | |-----|------|---------|-------------| diff --git a/pkg/api/api.go b/pkg/api/api.go index f7fb379669..82793277ef 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,12 +26,12 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func aboutText() string { - return fmt.Sprintf(`Copyright © 2017 - %d MegaEase(https://megaease.com). All rights reserved. + return fmt.Sprintf(`Copyright © 2017 - %d The Easegress Authors. All rights reserved. Powered by open-source software: Etcd(https://etcd.io), Apache License 2.0. `, time.Now().Year()) } diff --git a/pkg/api/cluster.go b/pkg/api/cluster.go index 071b0d1301..1f9db8a215 100644 --- a/pkg/api/cluster.go +++ b/pkg/api/cluster.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "strconv" "strings" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func (s *Server) _purgeMember(memberName string) { diff --git a/pkg/api/customdata.go b/pkg/api/customdata.go index 58299ae89e..26ac58b43b 100644 --- a/pkg/api/customdata.go +++ b/pkg/api/customdata.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "net/http" "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/cluster/customdata" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/cluster/customdata" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/api/dynamicmux.go b/pkg/api/dynamicmux.go index 7619d10508..b612becc62 100644 --- a/pkg/api/dynamicmux.go +++ b/pkg/api/dynamicmux.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,7 +27,7 @@ import ( "github.com/go-chi/chi/v5/middleware" "github.com/go-chi/cors" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type ( diff --git a/pkg/api/error.go b/pkg/api/error.go index 1b1114da02..4c9c930eb3 100644 --- a/pkg/api/error.go +++ b/pkg/api/error.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package api import ( "net/http" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/api/logs.go b/pkg/api/logs.go index aeb3a16f9a..d25c63274a 100644 --- a/pkg/api/logs.go +++ b/pkg/api/logs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,7 +28,7 @@ import ( "github.com/fsnotify/fsnotify" "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "go.uber.org/zap" ) diff --git a/pkg/api/member.go b/pkg/api/member.go index f55658c092..86ac2afba1 100644 --- a/pkg/api/member.go +++ b/pkg/api/member.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func (s *Server) memberAPIEntries() []*Entry { diff --git a/pkg/api/metadata.go b/pkg/api/metadata.go index b9501cae2e..29bcb30e53 100644 --- a/pkg/api/metadata.go +++ b/pkg/api/metadata.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,8 +25,8 @@ import ( "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/v" ) const ( diff --git a/pkg/api/middlewares.go b/pkg/api/middlewares.go index ffc49d3fc2..e8491b95e3 100644 --- a/pkg/api/middlewares.go +++ b/pkg/api/middlewares.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( "github.com/go-chi/chi/v5/middleware" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) func (m *dynamicMux) newAPILogger(next http.Handler) http.Handler { diff --git a/pkg/api/object.go b/pkg/api/object.go index ce02a3da01..67c7a8d708 100644 --- a/pkg/api/object.go +++ b/pkg/api/object.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,9 +27,9 @@ import ( "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/api/profile.go b/pkg/api/profile.go index 2cadf097ec..12bf73648a 100644 --- a/pkg/api/profile.go +++ b/pkg/api/profile.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/api/prometheus.go b/pkg/api/prometheus.go index 937b729b74..220dd8ca8e 100644 --- a/pkg/api/prometheus.go +++ b/pkg/api/prometheus.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/api/registry.go b/pkg/api/registry.go index 472a4ebc95..e8755a2075 100644 --- a/pkg/api/registry.go +++ b/pkg/api/registry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "fmt" "strings" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) func init() { diff --git a/pkg/api/server.go b/pkg/api/server.go index 3228e968f6..87a5ddd082 100644 --- a/pkg/api/server.go +++ b/pkg/api/server.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,12 +26,12 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/cluster/customdata" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" - pprof "github.com/megaease/easegress/v2/pkg/profile" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/cluster/customdata" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" + pprof "github.com/easegress-io/easegress/v2/pkg/profile" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) type ( diff --git a/pkg/api/wasm.go b/pkg/api/wasm.go index 0126d98385..a8e8961d3c 100644 --- a/pkg/api/wasm.go +++ b/pkg/api/wasm.go @@ -2,7 +2,7 @@ // +build wasmhost /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,8 +28,8 @@ import ( "github.com/go-chi/chi/v5" "go.etcd.io/etcd/client/v3/concurrency" - "github.com/megaease/easegress/v2/pkg/filters/wasmhost" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/filters/wasmhost" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func (s *Server) isFilterExist(pipeline, filter, kind string) bool { diff --git a/pkg/cluster/cluster.go b/pkg/cluster/cluster.go index ccbdcd3e1a..45ef2cae78 100644 --- a/pkg/cluster/cluster.go +++ b/pkg/cluster/cluster.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,9 +30,9 @@ import ( "go.etcd.io/etcd/client/v3/concurrency" "go.etcd.io/etcd/server/v3/embed" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/cluster/cluster_interface.go b/pkg/cluster/cluster_interface.go index e34df486a8..67f91ad72f 100644 --- a/pkg/cluster/cluster_interface.go +++ b/pkg/cluster/cluster_interface.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "go.etcd.io/etcd/api/v3/mvccpb" clientv3 "go.etcd.io/etcd/client/v3" diff --git a/pkg/cluster/cluster_interface_test.go b/pkg/cluster/cluster_interface_test.go index a3c4abfea9..47bb6927b1 100644 --- a/pkg/cluster/cluster_interface_test.go +++ b/pkg/cluster/cluster_interface_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/cluster/cluster_test.go b/pkg/cluster/cluster_test.go index aaf4b2aff6..18026440b3 100644 --- a/pkg/cluster/cluster_test.go +++ b/pkg/cluster/cluster_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,9 +32,9 @@ import ( "go.etcd.io/etcd/api/v3/mvccpb" "go.etcd.io/etcd/client/v3/concurrency" - "github.com/megaease/easegress/v2/pkg/env" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/env" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" "github.com/stretchr/testify/assert" ) diff --git a/pkg/cluster/clustertest/cluster.go b/pkg/cluster/clustertest/cluster.go index f7e73c11a4..694f963166 100644 --- a/pkg/cluster/clustertest/cluster.go +++ b/pkg/cluster/clustertest/cluster.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/cluster" "go.etcd.io/etcd/api/v3/mvccpb" clientv3 "go.etcd.io/etcd/client/v3" "go.etcd.io/etcd/client/v3/concurrency" diff --git a/pkg/cluster/clustertest/syncer.go b/pkg/cluster/clustertest/syncer.go index 25eb707871..4ac82c7fe9 100644 --- a/pkg/cluster/clustertest/syncer.go +++ b/pkg/cluster/clustertest/syncer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/cluster/clustertest/watcher.go b/pkg/cluster/clustertest/watcher.go index e31ab62d4b..edf78b160f 100644 --- a/pkg/cluster/clustertest/watcher.go +++ b/pkg/cluster/clustertest/watcher.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ package clustertest import ( - "github.com/megaease/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/cluster" clientv3 "go.etcd.io/etcd/client/v3" ) diff --git a/pkg/cluster/config.go b/pkg/cluster/config.go index 796ba8d31e..0d816ef766 100644 --- a/pkg/cluster/config.go +++ b/pkg/cluster/config.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,9 +23,9 @@ import ( "go.etcd.io/etcd/server/v3/embed" - "github.com/megaease/easegress/v2/pkg/common" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/common" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" ) const ( diff --git a/pkg/cluster/config_test.go b/pkg/cluster/config_test.go index 6cc8ab33af..470250ad8c 100644 --- a/pkg/cluster/config_test.go +++ b/pkg/cluster/config_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/option" "github.com/phayes/freeport" ) diff --git a/pkg/cluster/customdata/customdata.go b/pkg/cluster/customdata/customdata.go index d7197c8358..98d42d0469 100644 --- a/pkg/cluster/customdata/customdata.go +++ b/pkg/cluster/customdata/customdata.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,9 +23,9 @@ import ( "fmt" "time" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/dynamicobject" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/dynamicobject" "github.com/xeipuuv/gojsonschema" "go.etcd.io/etcd/client/v3/concurrency" ) diff --git a/pkg/cluster/customdata/customdata_test.go b/pkg/cluster/customdata/customdata_test.go index f547aca97d..fba827be17 100644 --- a/pkg/cluster/customdata/customdata_test.go +++ b/pkg/cluster/customdata/customdata_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,9 +24,9 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/cluster/clustertest" - "github.com/megaease/easegress/v2/pkg/util/dynamicobject" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/cluster/clustertest" + "github.com/easegress-io/easegress/v2/pkg/util/dynamicobject" "go.etcd.io/etcd/api/v3/mvccpb" "go.etcd.io/etcd/client/v3/concurrency" diff --git a/pkg/cluster/doc.go b/pkg/cluster/doc.go index 759adef6ac..6461cf2571 100644 --- a/pkg/cluster/doc.go +++ b/pkg/cluster/doc.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/cluster/layout.go b/pkg/cluster/layout.go index 304030a955..565f55ba64 100644 --- a/pkg/cluster/layout.go +++ b/pkg/cluster/layout.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/cluster/layout_test.go b/pkg/cluster/layout_test.go index 5a5faa820f..f168457401 100644 --- a/pkg/cluster/layout_test.go +++ b/pkg/cluster/layout_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/cluster/mutex.go b/pkg/cluster/mutex.go index 182708fd12..eaeda04048 100644 --- a/pkg/cluster/mutex.go +++ b/pkg/cluster/mutex.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/cluster/op.go b/pkg/cluster/op.go index b0b3f9ccb4..50f02390f9 100644 --- a/pkg/cluster/op.go +++ b/pkg/cluster/op.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/cluster/op_test.go b/pkg/cluster/op_test.go index 0cc8c67ef5..4a5a3b38a9 100644 --- a/pkg/cluster/op_test.go +++ b/pkg/cluster/op_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/option" "github.com/stretchr/testify/assert" clientv3 "go.etcd.io/etcd/client/v3" ) diff --git a/pkg/cluster/syncer.go b/pkg/cluster/syncer.go index 4640d88758..314b2d6774 100644 --- a/pkg/cluster/syncer.go +++ b/pkg/cluster/syncer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,7 +25,7 @@ import ( "go.etcd.io/etcd/api/v3/mvccpb" clientv3 "go.etcd.io/etcd/client/v3" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type syncer struct { diff --git a/pkg/cluster/syncer_test.go b/pkg/cluster/syncer_test.go index 636321ac15..d48b15bcf7 100644 --- a/pkg/cluster/syncer_test.go +++ b/pkg/cluster/syncer_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/option" "github.com/stretchr/testify/assert" "go.etcd.io/etcd/api/v3/mvccpb" clientv3 "go.etcd.io/etcd/client/v3" diff --git a/pkg/cluster/test_util.go b/pkg/cluster/test_util.go index 520d418f80..e78cbab43a 100644 --- a/pkg/cluster/test_util.go +++ b/pkg/cluster/test_util.go @@ -1,5 +1,5 @@ /* -* Copyright (c) 2017, MegaEase +* Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "github.com/phayes/freeport" - "github.com/megaease/easegress/v2/pkg/env" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/env" + "github.com/easegress-io/easegress/v2/pkg/option" ) func check(e error) { diff --git a/pkg/cluster/watcher.go b/pkg/cluster/watcher.go index d91434cae2..219d020278 100644 --- a/pkg/cluster/watcher.go +++ b/pkg/cluster/watcher.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,7 +24,7 @@ import ( "go.etcd.io/etcd/api/v3/mvccpb" clientv3 "go.etcd.io/etcd/client/v3" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type ( diff --git a/pkg/cluster/watcher_test.go b/pkg/cluster/watcher_test.go index d53cc7a622..987f8e6965 100644 --- a/pkg/cluster/watcher_test.go +++ b/pkg/cluster/watcher_test.go @@ -1,5 +1,5 @@ /* -* Copyright (c) 2017, MegaEase +* Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/option" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" pbv3 "go.etcd.io/etcd/api/v3/etcdserverpb" diff --git a/pkg/common/os.go b/pkg/common/os.go index a3df799fe4..3e1ea43768 100644 --- a/pkg/common/os.go +++ b/pkg/common/os.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/common/os_test.go b/pkg/common/os_test.go index 6cf0b0cf76..099810a603 100644 --- a/pkg/common/os_test.go +++ b/pkg/common/os_test.go @@ -2,7 +2,7 @@ // +build !windows /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/common/signal.go b/pkg/common/signal.go index f8b8f035ff..5f6c0ffebb 100644 --- a/pkg/common/signal.go +++ b/pkg/common/signal.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/common/signal_unix.go b/pkg/common/signal_unix.go index d78e03a4e1..70ad53a551 100644 --- a/pkg/common/signal_unix.go +++ b/pkg/common/signal_unix.go @@ -2,7 +2,7 @@ // +build !windows /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/common/signal_unix_test.go b/pkg/common/signal_unix_test.go index 392a051eee..4a51cd6b94 100644 --- a/pkg/common/signal_unix_test.go +++ b/pkg/common/signal_unix_test.go @@ -2,7 +2,7 @@ // +build !windows /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/common/signal_windows.go b/pkg/common/signal_windows.go index 5af054322d..fd51a6e1dc 100644 --- a/pkg/common/signal_windows.go +++ b/pkg/common/signal_windows.go @@ -2,7 +2,7 @@ // +build windows /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/common/utils.go b/pkg/common/utils.go index 5d0cb24edc..1b90c2722a 100644 --- a/pkg/common/utils.go +++ b/pkg/common/utils.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/common/utils_test.go b/pkg/common/utils_test.go index 3ed6eb75c4..cbb66b7222 100644 --- a/pkg/common/utils_test.go +++ b/pkg/common/utils_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/context/context.go b/pkg/context/context.go index e5337f30e3..7f7babe417 100644 --- a/pkg/context/context.go +++ b/pkg/context/context.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "bytes" "runtime/debug" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/tracing" ) // DefaultNamespace is the name of the default namespace. diff --git a/pkg/context/contexttest/contexttest.go b/pkg/context/contexttest/contexttest.go index d7edcf7fcf..a9f32c852a 100644 --- a/pkg/context/contexttest/contexttest.go +++ b/pkg/context/contexttest/contexttest.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ // Package contexttest provides utilities for testing context. package contexttest -import "github.com/megaease/easegress/v2/pkg/context" +import "github.com/easegress-io/easegress/v2/pkg/context" // MockedMuxMapper is a mux mapper for mocking in testing. type MockedMuxMapper struct { diff --git a/pkg/context/statuscode.go b/pkg/context/statuscode.go index 1ebd4d53c2..18272fa77f 100644 --- a/pkg/context/statuscode.go +++ b/pkg/context/statuscode.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/env/doc.go b/pkg/env/doc.go index 3f189d81c6..6392b5587c 100644 --- a/pkg/env/doc.go +++ b/pkg/env/doc.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/env/env.go b/pkg/env/env.go index d258150a37..2184b34720 100644 --- a/pkg/env/env.go +++ b/pkg/env/env.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,8 +19,8 @@ package env import ( - "github.com/megaease/easegress/v2/pkg/common" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/common" + "github.com/easegress-io/easegress/v2/pkg/option" ) // InitServerDir initializes subdirs server needs. diff --git a/pkg/filters/builder/builder.go b/pkg/filters/builder/builder.go index 2e0430f31d..62841f63ad 100644 --- a/pkg/filters/builder/builder.go +++ b/pkg/filters/builder/builder.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,8 +23,8 @@ import ( "text/template" sprig "github.com/go-task/slim-sprig" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/filters/builder/builder_test.go b/pkg/filters/builder/builder_test.go index b7e6a7d102..2ea1e29c63 100644 --- a/pkg/filters/builder/builder_test.go +++ b/pkg/filters/builder/builder_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/builder/databuilder.go b/pkg/filters/builder/databuilder.go index 951bfaf208..29b0ea467b 100644 --- a/pkg/filters/builder/databuilder.go +++ b/pkg/filters/builder/databuilder.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,9 +20,9 @@ package builder import ( "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" ) const ( diff --git a/pkg/filters/builder/databuilder_test.go b/pkg/filters/builder/databuilder_test.go index 2433b3086c..35e8a8176a 100644 --- a/pkg/filters/builder/databuilder_test.go +++ b/pkg/filters/builder/databuilder_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,8 +20,8 @@ package builder import ( "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/builder/extrafuncs.go b/pkg/filters/builder/extrafuncs.go index 4469ad33cf..56b1e07902 100644 --- a/pkg/filters/builder/extrafuncs.go +++ b/pkg/filters/builder/extrafuncs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( "strings" "text/template" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) func toFloat64(val interface{}) float64 { diff --git a/pkg/filters/builder/extrafuncs_test.go b/pkg/filters/builder/extrafuncs_test.go index c564f5f2a6..56db3144c7 100644 --- a/pkg/filters/builder/extrafuncs_test.go +++ b/pkg/filters/builder/extrafuncs_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/builder/requestadaptor.go b/pkg/filters/builder/requestadaptor.go index 7833c6d7a7..cd745d1302 100644 --- a/pkg/filters/builder/requestadaptor.go +++ b/pkg/filters/builder/requestadaptor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,15 +24,15 @@ import ( "strconv" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/util/pathadaptor" - "github.com/megaease/easegress/v2/pkg/util/readers" - "github.com/megaease/easegress/v2/pkg/util/signer" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/util/pathadaptor" + "github.com/easegress-io/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/util/signer" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) const ( diff --git a/pkg/filters/builder/requestadaptor_test.go b/pkg/filters/builder/requestadaptor_test.go index d0d706e93b..101c0b4dbc 100644 --- a/pkg/filters/builder/requestadaptor_test.go +++ b/pkg/filters/builder/requestadaptor_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,14 +24,14 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/util/pathadaptor" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/util/pathadaptor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/builder/requestbuilder.go b/pkg/filters/builder/requestbuilder.go index c6d31b9e7e..4c7d897590 100644 --- a/pkg/filters/builder/requestbuilder.go +++ b/pkg/filters/builder/requestbuilder.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,10 +20,10 @@ package builder import ( "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols" ) const ( diff --git a/pkg/filters/builder/requestbuilder_test.go b/pkg/filters/builder/requestbuilder_test.go index d34bbe30b7..55ed03bcd8 100644 --- a/pkg/filters/builder/requestbuilder_test.go +++ b/pkg/filters/builder/requestbuilder_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,10 +24,10 @@ import ( "testing" sprig "github.com/go-task/slim-sprig" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/builder/responseadaptor.go b/pkg/filters/builder/responseadaptor.go index 6bc1809555..2525591407 100644 --- a/pkg/filters/builder/responseadaptor.go +++ b/pkg/filters/builder/responseadaptor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,12 +22,12 @@ import ( "strconv" "strings" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/util/readers" ) const ( diff --git a/pkg/filters/builder/responseadaptor_test.go b/pkg/filters/builder/responseadaptor_test.go index 3b441dafc2..c998a36b47 100644 --- a/pkg/filters/builder/responseadaptor_test.go +++ b/pkg/filters/builder/responseadaptor_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,14 +25,14 @@ import ( "strings" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/readers" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/filters/builder/responsebuilder.go b/pkg/filters/builder/responsebuilder.go index 25ca35e769..4e0875eef5 100644 --- a/pkg/filters/builder/responsebuilder.go +++ b/pkg/filters/builder/responsebuilder.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,10 +20,10 @@ package builder import ( "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols" ) const ( diff --git a/pkg/filters/builder/responsebuilder_test.go b/pkg/filters/builder/responsebuilder_test.go index 85439f184d..7e0919378e 100644 --- a/pkg/filters/builder/responsebuilder_test.go +++ b/pkg/filters/builder/responsebuilder_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,11 +24,11 @@ import ( "strings" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/builder/resultbuilder.go b/pkg/filters/builder/resultbuilder.go index 1dd9822c66..3bc7f23006 100644 --- a/pkg/filters/builder/resultbuilder.go +++ b/pkg/filters/builder/resultbuilder.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,9 +20,9 @@ package builder import ( "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" ) const ( diff --git a/pkg/filters/builder/resultbuilder_test.go b/pkg/filters/builder/resultbuilder_test.go index a2df237a94..6a5e4e74eb 100644 --- a/pkg/filters/builder/resultbuilder_test.go +++ b/pkg/filters/builder/resultbuilder_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,8 +20,8 @@ package builder import ( "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/certextractor/certextractor.go b/pkg/filters/certextractor/certextractor.go index f5adb5e227..d2448b9059 100644 --- a/pkg/filters/certextractor/certextractor.go +++ b/pkg/filters/certextractor/certextractor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "crypto/x509/pkix" "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" ) const ( diff --git a/pkg/filters/certextractor/certextractor_test.go b/pkg/filters/certextractor/certextractor_test.go index a7cb33bd29..f8368dadd5 100644 --- a/pkg/filters/certextractor/certextractor_test.go +++ b/pkg/filters/certextractor/certextractor_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,13 +26,13 @@ import ( "strings" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/connectcontrol/connectcontrol.go b/pkg/filters/connectcontrol/connectcontrol.go index 24f8058b32..02598ac14d 100644 --- a/pkg/filters/connectcontrol/connectcontrol.go +++ b/pkg/filters/connectcontrol/connectcontrol.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,10 +21,10 @@ package connectcontrol import ( "regexp" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" ) const ( diff --git a/pkg/filters/connectcontrol/connectcontrol_test.go b/pkg/filters/connectcontrol/connectcontrol_test.go index a0ff613cf6..1bb0649ebc 100644 --- a/pkg/filters/connectcontrol/connectcontrol_test.go +++ b/pkg/filters/connectcontrol/connectcontrol_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,10 +21,10 @@ import ( "testing" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/corsadaptor/corsadaptor.go b/pkg/filters/corsadaptor/corsadaptor.go index 8a695643ee..d3a92d0851 100644 --- a/pkg/filters/corsadaptor/corsadaptor.go +++ b/pkg/filters/corsadaptor/corsadaptor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,9 +24,9 @@ import ( "github.com/rs/cors" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" ) const ( diff --git a/pkg/filters/corsadaptor/corsadaptor_test.go b/pkg/filters/corsadaptor/corsadaptor_test.go index 361ea54ad0..d88ebe682a 100644 --- a/pkg/filters/corsadaptor/corsadaptor_test.go +++ b/pkg/filters/corsadaptor/corsadaptor_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,10 +21,10 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/fallback/fallback.go b/pkg/filters/fallback/fallback.go index b14949f18a..b849f59ceb 100644 --- a/pkg/filters/fallback/fallback.go +++ b/pkg/filters/fallback/fallback.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "io" "strconv" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" ) const ( diff --git a/pkg/filters/fallback/fallback_test.go b/pkg/filters/fallback/fallback_test.go index 4bddffc81b..1d7cf76f89 100644 --- a/pkg/filters/fallback/fallback_test.go +++ b/pkg/filters/fallback/fallback_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,11 +21,11 @@ import ( "io" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/filters.go b/pkg/filters/filters.go index cabc6cbe6c..015e701fb2 100644 --- a/pkg/filters/filters.go +++ b/pkg/filters/filters.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,11 +21,11 @@ package filters import ( "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/v" ) type ( diff --git a/pkg/filters/filters_test.go b/pkg/filters/filters_test.go index 55b39c07ed..f40f4d5166 100644 --- a/pkg/filters/filters_test.go +++ b/pkg/filters/filters_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package filters import ( "testing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/headerlookup/headerlookup.go b/pkg/filters/headerlookup/headerlookup.go index 23f096501e..e0958a9c31 100644 --- a/pkg/filters/headerlookup/headerlookup.go +++ b/pkg/filters/headerlookup/headerlookup.go @@ -1,5 +1,5 @@ /* -* Copyright (c) 2017, MegaEase +* Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -29,12 +29,12 @@ import ( lru "github.com/hashicorp/golang-lru" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/filters/headerlookup/headerlookup_test.go b/pkg/filters/headerlookup/headerlookup_test.go index d48ee54e1f..7a8e42b60f 100644 --- a/pkg/filters/headerlookup/headerlookup_test.go +++ b/pkg/filters/headerlookup/headerlookup_test.go @@ -1,5 +1,5 @@ /* -* Copyright (c) 2017, MegaEase +* Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,14 +26,14 @@ import ( lru "github.com/hashicorp/golang-lru" - cluster "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/cluster/clustertest" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + cluster "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/cluster/clustertest" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/headertojson/headertojson.go b/pkg/filters/headertojson/headertojson.go index 4c014b91be..c23d7ba4d9 100644 --- a/pkg/filters/headertojson/headertojson.go +++ b/pkg/filters/headertojson/headertojson.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "net/http" json "github.com/goccy/go-json" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" ) const ( diff --git a/pkg/filters/headertojson/headertojson_test.go b/pkg/filters/headertojson/headertojson_test.go index 58d2087294..52c2a47ad4 100644 --- a/pkg/filters/headertojson/headertojson_test.go +++ b/pkg/filters/headertojson/headertojson_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,10 +25,10 @@ import ( "testing" json "github.com/goccy/go-json" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/headertojson/spec.go b/pkg/filters/headertojson/spec.go index cece716b83..eb628b91bd 100644 --- a/pkg/filters/headertojson/spec.go +++ b/pkg/filters/headertojson/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,7 +17,7 @@ package headertojson -import "github.com/megaease/easegress/v2/pkg/filters" +import "github.com/easegress-io/easegress/v2/pkg/filters" type ( // Spec is spec of HeaderToJson diff --git a/pkg/filters/kafka/kafka.go b/pkg/filters/kafka/kafka.go index 1598e9492e..ad28c46f14 100644 --- a/pkg/filters/kafka/kafka.go +++ b/pkg/filters/kafka/kafka.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,10 +22,10 @@ import ( "fmt" "github.com/Shopify/sarama" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" ) const ( diff --git a/pkg/filters/kafka/kafka_test.go b/pkg/filters/kafka/kafka_test.go index 9d8e82844a..79e062dd69 100644 --- a/pkg/filters/kafka/kafka_test.go +++ b/pkg/filters/kafka/kafka_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" "github.com/Shopify/sarama" "github.com/eclipse/paho.mqtt.golang/packets" diff --git a/pkg/filters/kafka/spec.go b/pkg/filters/kafka/spec.go index 2cb43cf7bf..3d18ff1ed5 100644 --- a/pkg/filters/kafka/spec.go +++ b/pkg/filters/kafka/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,7 +17,7 @@ package kafka -import "github.com/megaease/easegress/v2/pkg/filters" +import "github.com/easegress-io/easegress/v2/pkg/filters" type ( // Spec is spec of Kafka diff --git a/pkg/filters/kafkabackend/kafka.go b/pkg/filters/kafkabackend/kafka.go index fa433e5bb9..d9a46466e6 100644 --- a/pkg/filters/kafkabackend/kafka.go +++ b/pkg/filters/kafkabackend/kafka.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,10 +24,10 @@ import ( "net/http" "github.com/Shopify/sarama" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" ) const ( diff --git a/pkg/filters/kafkabackend/kafka_test.go b/pkg/filters/kafkabackend/kafka_test.go index 6192df7e07..d5f0f23200 100644 --- a/pkg/filters/kafkabackend/kafka_test.go +++ b/pkg/filters/kafkabackend/kafka_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,10 +24,10 @@ import ( "testing" "github.com/Shopify/sarama" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/kafkabackend/spec.go b/pkg/filters/kafkabackend/spec.go index 7611b9da6f..f6e25d1e11 100644 --- a/pkg/filters/kafkabackend/spec.go +++ b/pkg/filters/kafkabackend/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,7 +17,7 @@ package kafka -import "github.com/megaease/easegress/v2/pkg/filters" +import "github.com/easegress-io/easegress/v2/pkg/filters" type ( // Spec is spec of Kafka diff --git a/pkg/filters/meshadaptor/meshadaptor.go b/pkg/filters/meshadaptor/meshadaptor.go index d59bb077e4..c9c83db5a9 100644 --- a/pkg/filters/meshadaptor/meshadaptor.go +++ b/pkg/filters/meshadaptor/meshadaptor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,11 +19,11 @@ package meshadaptor import ( - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - proxy "github.com/megaease/easegress/v2/pkg/filters/proxies/httpproxy" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + proxy "github.com/easegress-io/easegress/v2/pkg/filters/proxies/httpproxy" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" ) const ( diff --git a/pkg/filters/mock/mock.go b/pkg/filters/mock/mock.go index 6588c57169..fa5e6da617 100644 --- a/pkg/filters/mock/mock.go +++ b/pkg/filters/mock/mock.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,11 +22,11 @@ import ( "strings" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) const ( diff --git a/pkg/filters/mock/mock_test.go b/pkg/filters/mock/mock_test.go index 744a55046b..04dc3cfb09 100644 --- a/pkg/filters/mock/mock_test.go +++ b/pkg/filters/mock/mock_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,11 +23,11 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/mqttclientauth/mqttauth.go b/pkg/filters/mqttclientauth/mqttauth.go index 6372d5e6d8..6e8a18910c 100644 --- a/pkg/filters/mqttclientauth/mqttauth.go +++ b/pkg/filters/mqttclientauth/mqttauth.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "encoding/hex" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" ) const ( diff --git a/pkg/filters/mqttclientauth/mqttauth_test.go b/pkg/filters/mqttclientauth/mqttauth_test.go index 425b330e29..e86cc47448 100644 --- a/pkg/filters/mqttclientauth/mqttauth_test.go +++ b/pkg/filters/mqttclientauth/mqttauth_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,9 +23,9 @@ import ( "testing" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/oidcadaptor/oidcadaptor.go b/pkg/filters/oidcadaptor/oidcadaptor.go index b9b5ca3293..0f4c017673 100644 --- a/pkg/filters/oidcadaptor/oidcadaptor.go +++ b/pkg/filters/oidcadaptor/oidcadaptor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,10 +32,10 @@ import ( "github.com/golang-jwt/jwt/v4" "github.com/google/uuid" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" ) // https://openid.net/specs/openid-connect-core-1_0.html diff --git a/pkg/filters/opafilter/opafilter.go b/pkg/filters/opafilter/opafilter.go index a397bc7a3b..c532710bc2 100644 --- a/pkg/filters/opafilter/opafilter.go +++ b/pkg/filters/opafilter/opafilter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,11 +28,11 @@ import ( "github.com/open-policy-agent/opa/rego" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) // https://www.openpolicyagent.org/docs/v0.35.0/ diff --git a/pkg/filters/opafilter/opafilter_test.go b/pkg/filters/opafilter/opafilter_test.go index 7b0e7ef762..90d06c9266 100644 --- a/pkg/filters/opafilter/opafilter_test.go +++ b/pkg/filters/opafilter/opafilter_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,11 +25,11 @@ import ( "github.com/stretchr/testify/assert" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func setRequest(t *testing.T, ctx *context.Context, stdReq *http.Request) { diff --git a/pkg/filters/proxies/grpcproxy/codec.go b/pkg/filters/proxies/grpcproxy/codec.go index 174935369a..55eccffef9 100644 --- a/pkg/filters/proxies/grpcproxy/codec.go +++ b/pkg/filters/proxies/grpcproxy/codec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/proxies/grpcproxy/codec_test.go b/pkg/filters/proxies/grpcproxy/codec_test.go index b42e8535b9..3a5cf50b2c 100644 --- a/pkg/filters/proxies/grpcproxy/codec_test.go +++ b/pkg/filters/proxies/grpcproxy/codec_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/proxies/grpcproxy/loadbalance.go b/pkg/filters/proxies/grpcproxy/loadbalance.go index e863fa0487..3af2eef5b7 100644 --- a/pkg/filters/proxies/grpcproxy/loadbalance.go +++ b/pkg/filters/proxies/grpcproxy/loadbalance.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,9 +20,9 @@ package grpcproxy import ( "sync" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" ) const ( diff --git a/pkg/filters/proxies/grpcproxy/loadbalance_test.go b/pkg/filters/proxies/grpcproxy/loadbalance_test.go index e4e343e1dd..14b0e7c7fb 100644 --- a/pkg/filters/proxies/grpcproxy/loadbalance_test.go +++ b/pkg/filters/proxies/grpcproxy/loadbalance_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,8 +21,8 @@ import ( "context" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" "google.golang.org/grpc/metadata" ) diff --git a/pkg/filters/proxies/grpcproxy/pool.go b/pkg/filters/proxies/grpcproxy/pool.go index d44a9f4735..4b952aa5b4 100644 --- a/pkg/filters/proxies/grpcproxy/pool.go +++ b/pkg/filters/proxies/grpcproxy/pool.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,18 +25,18 @@ import ( "net/url" "sync" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/util/objectpool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/util/objectpool" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/resilience" ) type ( diff --git a/pkg/filters/proxies/grpcproxy/pool_test.go b/pkg/filters/proxies/grpcproxy/pool_test.go index b0d53d3877..a48acd1e1b 100644 --- a/pkg/filters/proxies/grpcproxy/pool_test.go +++ b/pkg/filters/proxies/grpcproxy/pool_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "sync" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/util/objectpool" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/util/objectpool" "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/pkg/filters/proxies/grpcproxy/proxy.go b/pkg/filters/proxies/grpcproxy/proxy.go index dc992be0e3..1521072cb3 100644 --- a/pkg/filters/proxies/grpcproxy/proxy.go +++ b/pkg/filters/proxies/grpcproxy/proxy.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,13 +22,13 @@ import ( "fmt" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/objectpool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/objectpool" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" "google.golang.org/grpc/credentials/insecure" diff --git a/pkg/filters/proxies/grpcproxy/proxy_test.go b/pkg/filters/proxies/grpcproxy/proxy_test.go index ed37fcf9aa..d31f3aa0d0 100644 --- a/pkg/filters/proxies/grpcproxy/proxy_test.go +++ b/pkg/filters/proxies/grpcproxy/proxy_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,14 +22,14 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" "gopkg.in/yaml.v3" ) diff --git a/pkg/filters/proxies/grpcproxy/requestmatch.go b/pkg/filters/proxies/grpcproxy/requestmatch.go index fe50d60d9b..1a3183c182 100644 --- a/pkg/filters/proxies/grpcproxy/requestmatch.go +++ b/pkg/filters/proxies/grpcproxy/requestmatch.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,10 +18,10 @@ package grpcproxy import ( - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) // RequestMatcherSpec describe RequestMatcher diff --git a/pkg/filters/proxies/grpcproxy/requestmatch_test.go b/pkg/filters/proxies/grpcproxy/requestmatch_test.go index ed3d2649f4..25c8ab3ce6 100644 --- a/pkg/filters/proxies/grpcproxy/requestmatch_test.go +++ b/pkg/filters/proxies/grpcproxy/requestmatch_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "reflect" "testing" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" "google.golang.org/grpc/metadata" "github.com/stretchr/testify/assert" diff --git a/pkg/filters/proxies/healthcheck.go b/pkg/filters/proxies/healthcheck.go index 773b2407f6..c3ae0f695c 100644 --- a/pkg/filters/proxies/healthcheck.go +++ b/pkg/filters/proxies/healthcheck.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/proxies/healthcheck_test.go b/pkg/filters/proxies/healthcheck_test.go index 669b666917..d88f859b98 100644 --- a/pkg/filters/proxies/healthcheck_test.go +++ b/pkg/filters/proxies/healthcheck_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/proxies/httpproxy/compression.go b/pkg/filters/proxies/httpproxy/compression.go index 4bcf20ff7d..c9b859c0e4 100644 --- a/pkg/filters/proxies/httpproxy/compression.go +++ b/pkg/filters/proxies/httpproxy/compression.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "net/http" "strings" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/util/readers" ) // TODO: Expose more options: compression level, mime types. diff --git a/pkg/filters/proxies/httpproxy/compression_test.go b/pkg/filters/proxies/httpproxy/compression_test.go index 2832406e5b..7b6b03ec2c 100644 --- a/pkg/filters/proxies/httpproxy/compression_test.go +++ b/pkg/filters/proxies/httpproxy/compression_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/proxies/httpproxy/healthcheck.go b/pkg/filters/proxies/httpproxy/healthcheck.go index d4ebad1262..4a22635c22 100644 --- a/pkg/filters/proxies/httpproxy/healthcheck.go +++ b/pkg/filters/proxies/httpproxy/healthcheck.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,8 +28,8 @@ import ( "strings" "github.com/gorilla/websocket" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/logger" ) const ( diff --git a/pkg/filters/proxies/httpproxy/healthcheck_test.go b/pkg/filters/proxies/httpproxy/healthcheck_test.go index 5f68767a23..9a860b83c4 100644 --- a/pkg/filters/proxies/httpproxy/healthcheck_test.go +++ b/pkg/filters/proxies/httpproxy/healthcheck_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,7 +27,7 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/megaease/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/httpproxy/memorycache.go b/pkg/filters/proxies/httpproxy/memorycache.go index 93373eb9c0..5bf6ff378d 100644 --- a/pkg/filters/proxies/httpproxy/memorycache.go +++ b/pkg/filters/proxies/httpproxy/memorycache.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,9 +24,9 @@ import ( cache "github.com/patrickmn/go-cache" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) const ( diff --git a/pkg/filters/proxies/httpproxy/memorycache_test.go b/pkg/filters/proxies/httpproxy/memorycache_test.go index 03b4ad0b18..9099e73b7e 100644 --- a/pkg/filters/proxies/httpproxy/memorycache_test.go +++ b/pkg/filters/proxies/httpproxy/memorycache_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/httpproxy/pool.go b/pkg/filters/proxies/httpproxy/pool.go index 8f3c16b3e6..9a5a669797 100644 --- a/pkg/filters/proxies/httpproxy/pool.go +++ b/pkg/filters/proxies/httpproxy/pool.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,16 +28,16 @@ import ( gohttpstat "github.com/tcnksm/go-httpstat" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpstat" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/fasttime" - "github.com/megaease/easegress/v2/pkg/util/prometheushelper" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpstat" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/util/prometheushelper" + "github.com/easegress-io/easegress/v2/pkg/util/readers" "github.com/prometheus/client_golang/prometheus" ) diff --git a/pkg/filters/proxies/httpproxy/pool_test.go b/pkg/filters/proxies/httpproxy/pool_test.go index 64ebc1b38e..7286e4016a 100644 --- a/pkg/filters/proxies/httpproxy/pool_test.go +++ b/pkg/filters/proxies/httpproxy/pool_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,13 +21,13 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/httpproxy/proxy.go b/pkg/filters/proxies/httpproxy/proxy.go index 52f149cb94..e5a12b0be0 100644 --- a/pkg/filters/proxies/httpproxy/proxy.go +++ b/pkg/filters/proxies/httpproxy/proxy.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,13 +28,13 @@ import ( "net/http" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/easemonitor" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/easemonitor" ) const ( diff --git a/pkg/filters/proxies/httpproxy/proxy_test.go b/pkg/filters/proxies/httpproxy/proxy_test.go index 5ff5a1554b..d7470bd8c0 100644 --- a/pkg/filters/proxies/httpproxy/proxy_test.go +++ b/pkg/filters/proxies/httpproxy/proxy_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,16 +28,16 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpstat" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpstat" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/httpproxy/requestmatch.go b/pkg/filters/proxies/httpproxy/requestmatch.go index 0679f6ff7e..3f859ada71 100644 --- a/pkg/filters/proxies/httpproxy/requestmatch.go +++ b/pkg/filters/proxies/httpproxy/requestmatch.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,10 +18,10 @@ package httpproxy import ( - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) // RequestMatcherSpec describe RequestMatcher diff --git a/pkg/filters/proxies/httpproxy/requestmatch_test.go b/pkg/filters/proxies/httpproxy/requestmatch_test.go index a882ebda0d..f950f6e039 100644 --- a/pkg/filters/proxies/httpproxy/requestmatch_test.go +++ b/pkg/filters/proxies/httpproxy/requestmatch_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,9 +21,9 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/httpproxy/simplehttpproxy.go b/pkg/filters/proxies/httpproxy/simplehttpproxy.go index 8755a3f25e..79045146f6 100644 --- a/pkg/filters/proxies/httpproxy/simplehttpproxy.go +++ b/pkg/filters/proxies/httpproxy/simplehttpproxy.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,14 +27,14 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpstat" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpstat" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" ) var simpleHTTPProxyKind = &filters.Kind{ diff --git a/pkg/filters/proxies/httpproxy/simplehttpproxy_test.go b/pkg/filters/proxies/httpproxy/simplehttpproxy_test.go index 6a3d90882f..9e7502ac37 100644 --- a/pkg/filters/proxies/httpproxy/simplehttpproxy_test.go +++ b/pkg/filters/proxies/httpproxy/simplehttpproxy_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/httpproxy/wspool.go b/pkg/filters/proxies/httpproxy/wspool.go index ca216495a6..650f22fed9 100644 --- a/pkg/filters/proxies/httpproxy/wspool.go +++ b/pkg/filters/proxies/httpproxy/wspool.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,12 +25,12 @@ import ( "net/url" "sync" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpstat" - "github.com/megaease/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpstat" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" "nhooyr.io/websocket" ) diff --git a/pkg/filters/proxies/httpproxy/wspool_test.go b/pkg/filters/proxies/httpproxy/wspool_test.go index 05e2dc79ac..23d4e63e07 100644 --- a/pkg/filters/proxies/httpproxy/wspool_test.go +++ b/pkg/filters/proxies/httpproxy/wspool_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/httpproxy/wsproxy.go b/pkg/filters/proxies/httpproxy/wsproxy.go index e8e4d9ad85..df0e1b3d68 100644 --- a/pkg/filters/proxies/httpproxy/wsproxy.go +++ b/pkg/filters/proxies/httpproxy/wsproxy.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,10 +20,10 @@ package httpproxy import ( "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) // WebSocketProxyKind is the kind of WebSocketProxy. diff --git a/pkg/filters/proxies/httpproxy/wsproxy_test.go b/pkg/filters/proxies/httpproxy/wsproxy_test.go index 244e9e782d..de61b79263 100644 --- a/pkg/filters/proxies/httpproxy/wsproxy_test.go +++ b/pkg/filters/proxies/httpproxy/wsproxy_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "net/http/httptest" "testing" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/loadbalance.go b/pkg/filters/proxies/loadbalance.go index e800aed488..072161f0f7 100644 --- a/pkg/filters/proxies/loadbalance.go +++ b/pkg/filters/proxies/loadbalance.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "sync/atomic" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols" ) const ( diff --git a/pkg/filters/proxies/loadbalance_test.go b/pkg/filters/proxies/loadbalance_test.go index 9da4b5dca3..a0a5596bcd 100644 --- a/pkg/filters/proxies/loadbalance_test.go +++ b/pkg/filters/proxies/loadbalance_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,8 +25,8 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/requestmatch.go b/pkg/filters/proxies/requestmatch.go index d8c5713425..5977cb5f40 100644 --- a/pkg/filters/proxies/requestmatch.go +++ b/pkg/filters/proxies/requestmatch.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "hash/fnv" "math/rand" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) // RequestMatcher is the interface to match requests. diff --git a/pkg/filters/proxies/requestmatch_test.go b/pkg/filters/proxies/requestmatch_test.go index d7d01a3eaf..8514b1ac93 100644 --- a/pkg/filters/proxies/requestmatch_test.go +++ b/pkg/filters/proxies/requestmatch_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,8 +23,8 @@ import ( "strconv" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/server.go b/pkg/filters/proxies/server.go index 82520b111f..922c5b2c67 100644 --- a/pkg/filters/proxies/server.go +++ b/pkg/filters/proxies/server.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/proxies/server_test.go b/pkg/filters/proxies/server_test.go index 607dd22d01..3e35b8f87c 100644 --- a/pkg/filters/proxies/server_test.go +++ b/pkg/filters/proxies/server_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/proxies/serverpool.go b/pkg/filters/proxies/serverpool.go index 3e05cc5263..b456e13df9 100644 --- a/pkg/filters/proxies/serverpool.go +++ b/pkg/filters/proxies/serverpool.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "sync" "sync/atomic" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/serviceregistry" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/serviceregistry" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) // ServerPoolImpl is the interface for server pool. diff --git a/pkg/filters/proxies/serverpool_test.go b/pkg/filters/proxies/serverpool_test.go index 048202de58..5172239a97 100644 --- a/pkg/filters/proxies/serverpool_test.go +++ b/pkg/filters/proxies/serverpool_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,8 +20,8 @@ package proxies import ( "testing" - "github.com/megaease/easegress/v2/pkg/object/serviceregistry" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/object/serviceregistry" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/proxies/stickysession.go b/pkg/filters/proxies/stickysession.go index fa31519076..860584bce5 100644 --- a/pkg/filters/proxies/stickysession.go +++ b/pkg/filters/proxies/stickysession.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,8 +28,8 @@ import ( "time" "github.com/buraksezer/consistent" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/spaolacci/murmur3" ) diff --git a/pkg/filters/proxies/stickysession_test.go b/pkg/filters/proxies/stickysession_test.go index a246eeb3fa..27f484884c 100644 --- a/pkg/filters/proxies/stickysession_test.go +++ b/pkg/filters/proxies/stickysession_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/ratelimiter/ratelimiter.go b/pkg/filters/ratelimiter/ratelimiter.go index 2350fe1bb9..f701e7b291 100644 --- a/pkg/filters/ratelimiter/ratelimiter.go +++ b/pkg/filters/ratelimiter/ratelimiter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,12 +24,12 @@ import ( "reflect" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - librl "github.com/megaease/easegress/v2/pkg/util/ratelimiter" - "github.com/megaease/easegress/v2/pkg/util/urlrule" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + librl "github.com/easegress-io/easegress/v2/pkg/util/ratelimiter" + "github.com/easegress-io/easegress/v2/pkg/util/urlrule" ) const ( diff --git a/pkg/filters/redirector/redirector.go b/pkg/filters/redirector/redirector.go index 247bccd5fa..ffe909339c 100644 --- a/pkg/filters/redirector/redirector.go +++ b/pkg/filters/redirector/redirector.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "regexp" "strings" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) const ( diff --git a/pkg/filters/redirector/redirector_test.go b/pkg/filters/redirector/redirector_test.go index b69f703e5a..38482d0b08 100644 --- a/pkg/filters/redirector/redirector_test.go +++ b/pkg/filters/redirector/redirector_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,12 +22,12 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/redirectorv2/redirectorv2.go b/pkg/filters/redirectorv2/redirectorv2.go index aa48739d15..b9311f8288 100644 --- a/pkg/filters/redirectorv2/redirectorv2.go +++ b/pkg/filters/redirectorv2/redirectorv2.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "net/url" "strings" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - httprouters "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + httprouters "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" gwapis "sigs.k8s.io/gateway-api/apis/v1" ) diff --git a/pkg/filters/redirectorv2/redirectorv2_test.go b/pkg/filters/redirectorv2/redirectorv2_test.go index 76ae046c03..ed3d11c113 100644 --- a/pkg/filters/redirectorv2/redirectorv2_test.go +++ b/pkg/filters/redirectorv2/redirectorv2_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,9 +21,9 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" gwapis "sigs.k8s.io/gateway-api/apis/v1" diff --git a/pkg/filters/registry.go b/pkg/filters/registry.go index bd99c37e8b..6158cefba6 100644 --- a/pkg/filters/registry.go +++ b/pkg/filters/registry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/registry_test.go b/pkg/filters/registry_test.go index b6e2981be2..5e46868d97 100644 --- a/pkg/filters/registry_test.go +++ b/pkg/filters/registry_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package filters import ( "testing" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/remotefilter/remotefilter.go b/pkg/filters/remotefilter/remotefilter.go index bef087ca47..b92df42e40 100644 --- a/pkg/filters/remotefilter/remotefilter.go +++ b/pkg/filters/remotefilter/remotefilter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,12 +28,12 @@ import ( "net/http" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) const ( diff --git a/pkg/filters/topicmapper/spec.go b/pkg/filters/topicmapper/spec.go index 53239f5f04..623932b14b 100644 --- a/pkg/filters/topicmapper/spec.go +++ b/pkg/filters/topicmapper/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,7 +17,7 @@ package topicmapper -import "github.com/megaease/easegress/v2/pkg/filters" +import "github.com/easegress-io/easegress/v2/pkg/filters" type ( // Spec is spec of Kafka diff --git a/pkg/filters/topicmapper/spec_test.go b/pkg/filters/topicmapper/spec_test.go index ff71b5518c..893cd8c8ef 100644 --- a/pkg/filters/topicmapper/spec_test.go +++ b/pkg/filters/topicmapper/spec_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,8 +20,8 @@ package topicmapper import ( "testing" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/topicmapper/topic.go b/pkg/filters/topicmapper/topic.go index cc6e306185..7106149d8c 100644 --- a/pkg/filters/topicmapper/topic.go +++ b/pkg/filters/topicmapper/topic.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "regexp" "strings" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type topicMapFunc func(mqttTopic string) (topic string, headers map[string]string, err error) diff --git a/pkg/filters/topicmapper/topic_test.go b/pkg/filters/topicmapper/topic_test.go index b98179c274..4aa20fed0b 100644 --- a/pkg/filters/topicmapper/topic_test.go +++ b/pkg/filters/topicmapper/topic_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "reflect" "testing" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) func init() { diff --git a/pkg/filters/topicmapper/topicmapper.go b/pkg/filters/topicmapper/topicmapper.go index df39732c48..02a053eb9f 100644 --- a/pkg/filters/topicmapper/topicmapper.go +++ b/pkg/filters/topicmapper/topicmapper.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,10 +19,10 @@ package topicmapper import ( - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" ) const ( diff --git a/pkg/filters/topicmapper/topicmapper_test.go b/pkg/filters/topicmapper/topicmapper_test.go index f16ad565d2..1f8344977b 100644 --- a/pkg/filters/topicmapper/topicmapper_test.go +++ b/pkg/filters/topicmapper/topicmapper_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,8 +21,8 @@ import ( "testing" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/validator/basicauth.go b/pkg/filters/validator/basicauth.go index f38e635c1c..85bec7bba8 100644 --- a/pkg/filters/validator/basicauth.go +++ b/pkg/filters/validator/basicauth.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,12 +32,12 @@ import ( "github.com/tg123/go-htpasswd" "golang.org/x/crypto/bcrypt" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/filters/validator/jwt.go b/pkg/filters/validator/jwt.go index 15e8e4b3c6..7105e56377 100644 --- a/pkg/filters/validator/jwt.go +++ b/pkg/filters/validator/jwt.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( "github.com/golang-jwt/jwt/v4" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" ) // JWTValidatorSpec defines the configuration of JWT validator diff --git a/pkg/filters/validator/oauth2.go b/pkg/filters/validator/oauth2.go index d883e9dc7d..52338b0214 100644 --- a/pkg/filters/validator/oauth2.go +++ b/pkg/filters/validator/oauth2.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,8 +27,8 @@ import ( "github.com/golang-jwt/jwt" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/filters/validator/validator.go b/pkg/filters/validator/validator.go index 27d3596b81..356c09ad2f 100644 --- a/pkg/filters/validator/validator.go +++ b/pkg/filters/validator/validator.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,12 +23,12 @@ import ( "fmt" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/util/signer" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/util/signer" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) const ( diff --git a/pkg/filters/validator/validator_test.go b/pkg/filters/validator/validator_test.go index c1944d80c7..4b122935f0 100644 --- a/pkg/filters/validator/validator_test.go +++ b/pkg/filters/validator/validator_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,14 +27,14 @@ import ( "testing" "time" - cluster "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/cluster/clustertest" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + cluster "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/cluster/clustertest" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" ) diff --git a/pkg/filters/wasmhost/doc.go b/pkg/filters/wasmhost/doc.go index 07122cfcf0..3a0fbfaefd 100644 --- a/pkg/filters/wasmhost/doc.go +++ b/pkg/filters/wasmhost/doc.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/filters/wasmhost/hostfunc.go b/pkg/filters/wasmhost/hostfunc.go index ab94210d94..3e13024ce9 100644 --- a/pkg/filters/wasmhost/hostfunc.go +++ b/pkg/filters/wasmhost/hostfunc.go @@ -2,7 +2,7 @@ // +build wasmhost /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -34,8 +34,8 @@ import ( "time" "github.com/bytecodealliance/wasmtime-go" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "go.etcd.io/etcd/client/v3/concurrency" ) diff --git a/pkg/filters/wasmhost/vm.go b/pkg/filters/wasmhost/vm.go index 94e8760007..355bd1e3cb 100644 --- a/pkg/filters/wasmhost/vm.go +++ b/pkg/filters/wasmhost/vm.go @@ -2,7 +2,7 @@ // +build wasmhost /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "fmt" "github.com/bytecodealliance/wasmtime-go" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" ) // WasmVM represents a wasm VM diff --git a/pkg/filters/wasmhost/wasmhost.go b/pkg/filters/wasmhost/wasmhost.go index 3efe5e74e4..5472981d05 100644 --- a/pkg/filters/wasmhost/wasmhost.go +++ b/pkg/filters/wasmhost/wasmhost.go @@ -2,7 +2,7 @@ // +build wasmhost /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,11 +32,11 @@ import ( "sync/atomic" "time" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "go.etcd.io/etcd/api/v3/mvccpb" ) diff --git a/pkg/graceupdate/graceupdate.go b/pkg/graceupdate/graceupdate.go index ea2f808733..1cd0ddfc4d 100644 --- a/pkg/graceupdate/graceupdate.go +++ b/pkg/graceupdate/graceupdate.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,8 +23,8 @@ import ( "github.com/megaease/grace/gracenet" - "github.com/megaease/easegress/v2/pkg/common" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/common" + "github.com/easegress-io/easegress/v2/pkg/logger" ) var ( diff --git a/pkg/logger/export.go b/pkg/logger/export.go index 2c1a4c5101..9c9af97418 100644 --- a/pkg/logger/export.go +++ b/pkg/logger/export.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,9 +21,9 @@ import ( "net/url" "time" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/util/fasttime" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" "github.com/openzipkin/zipkin-go/model" "go.uber.org/zap" ) diff --git a/pkg/logger/hub.go b/pkg/logger/hub.go index 8ba3a16c7a..df89c1cb8a 100644 --- a/pkg/logger/hub.go +++ b/pkg/logger/hub.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/logger/logfile.go b/pkg/logger/logfile.go index 311f2e8f80..8e90d9bbe8 100644 --- a/pkg/logger/logfile.go +++ b/pkg/logger/logfile.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/logger/logger.go b/pkg/logger/logger.go index f2d679a502..62af49cd05 100644 --- a/pkg/logger/logger.go +++ b/pkg/logger/logger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,9 +31,9 @@ import ( "go.uber.org/zap" "go.uber.org/zap/zapcore" - "github.com/megaease/easegress/v2/pkg/common" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/common" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" ) func init() { diff --git a/pkg/logger/logger_test.go b/pkg/logger/logger_test.go index 9a6015ffa4..cda11370d2 100644 --- a/pkg/logger/logger_test.go +++ b/pkg/logger/logger_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/option" ) func TestMustPlainLogger(t *testing.T) { diff --git a/pkg/object/autocertmanager/autocertmanager.go b/pkg/object/autocertmanager/autocertmanager.go index 94b7c7509d..0915c376c5 100644 --- a/pkg/object/autocertmanager/autocertmanager.go +++ b/pkg/object/autocertmanager/autocertmanager.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,9 +30,9 @@ import ( "sync/atomic" "time" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "golang.org/x/crypto/acme" "golang.org/x/net/idna" ) diff --git a/pkg/object/autocertmanager/autocertmanager_test.go b/pkg/object/autocertmanager/autocertmanager_test.go index dc7d6d82e3..2e5f5ae5e8 100644 --- a/pkg/object/autocertmanager/autocertmanager_test.go +++ b/pkg/object/autocertmanager/autocertmanager_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -42,11 +42,11 @@ import ( "time" "github.com/libdns/libdns" - cluster "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + cluster "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "golang.org/x/crypto/acme" ) diff --git a/pkg/object/autocertmanager/dnsprovider.go b/pkg/object/autocertmanager/dnsprovider.go index 1459042b6b..830826b69d 100644 --- a/pkg/object/autocertmanager/dnsprovider.go +++ b/pkg/object/autocertmanager/dnsprovider.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/autocertmanager/domain.go b/pkg/object/autocertmanager/domain.go index 7606921afe..23bf3aabd6 100644 --- a/pkg/object/autocertmanager/domain.go +++ b/pkg/object/autocertmanager/domain.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,7 +31,7 @@ import ( "time" "github.com/libdns/libdns" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "golang.org/x/crypto/acme" ) diff --git a/pkg/object/autocertmanager/storage.go b/pkg/object/autocertmanager/storage.go index fd4482a314..12a3dc5109 100644 --- a/pkg/object/autocertmanager/storage.go +++ b/pkg/object/autocertmanager/storage.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,8 +30,8 @@ import ( "strings" "time" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" "go.etcd.io/etcd/api/v3/mvccpb" ) diff --git a/pkg/object/consulserviceregistry/client.go b/pkg/object/consulserviceregistry/client.go index 38228d379a..86e946d27f 100644 --- a/pkg/object/consulserviceregistry/client.go +++ b/pkg/object/consulserviceregistry/client.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/consulserviceregistry/consulserviceregistry.go b/pkg/object/consulserviceregistry/consulserviceregistry.go index 7ac4e3c965..9773b6f2c0 100644 --- a/pkg/object/consulserviceregistry/consulserviceregistry.go +++ b/pkg/object/consulserviceregistry/consulserviceregistry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,10 +26,10 @@ import ( "github.com/hashicorp/consul/api" - egapi "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/serviceregistry" - "github.com/megaease/easegress/v2/pkg/supervisor" + egapi "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/serviceregistry" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/easemonitormetrics/easemonitormetrics.go b/pkg/object/easemonitormetrics/easemonitormetrics.go index e6921a532c..417c176840 100644 --- a/pkg/object/easemonitormetrics/easemonitormetrics.go +++ b/pkg/object/easemonitormetrics/easemonitormetrics.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,12 +28,12 @@ import ( "github.com/Shopify/sarama" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/statussynccontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/easemonitor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/statussynccontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/easemonitor" ) const ( diff --git a/pkg/object/etcdserviceregistry/etcdserviceregistry.go b/pkg/object/etcdserviceregistry/etcdserviceregistry.go index 0e3681f48e..e50fcdb31d 100644 --- a/pkg/object/etcdserviceregistry/etcdserviceregistry.go +++ b/pkg/object/etcdserviceregistry/etcdserviceregistry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,11 +26,11 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/serviceregistry" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/serviceregistry" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" clientv3 "go.etcd.io/etcd/client/v3" ) diff --git a/pkg/object/eurekaserviceregistry/eurekaserviceregistry.go b/pkg/object/eurekaserviceregistry/eurekaserviceregistry.go index f87d8d388c..c8937e9c6f 100644 --- a/pkg/object/eurekaserviceregistry/eurekaserviceregistry.go +++ b/pkg/object/eurekaserviceregistry/eurekaserviceregistry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,10 +25,10 @@ import ( eurekaapi "github.com/ArthurHlt/go-eureka-client/eureka" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/serviceregistry" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/serviceregistry" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/function/faascontroller.go b/pkg/object/function/faascontroller.go index 47f2d4fa59..0e11081bdb 100644 --- a/pkg/object/function/faascontroller.go +++ b/pkg/object/function/faascontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,11 +22,11 @@ import ( "fmt" "strings" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/object/function/spec" - "github.com/megaease/easegress/v2/pkg/object/function/worker" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/object/function/spec" + "github.com/easegress-io/easegress/v2/pkg/object/function/worker" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/v" ) const ( diff --git a/pkg/object/function/provider/provider.go b/pkg/object/function/provider/provider.go index a796195486..fe1a72447c 100644 --- a/pkg/object/function/provider/provider.go +++ b/pkg/object/function/provider/provider.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,9 +32,9 @@ import ( "knative.dev/serving/pkg/apis/autoscaling" servingv1 "knative.dev/serving/pkg/apis/serving/v1" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/function/spec" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/function/spec" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) type ( diff --git a/pkg/object/function/spec/fsm.go b/pkg/object/function/spec/fsm.go index d563df5837..ba09dfa7c1 100644 --- a/pkg/object/function/spec/fsm.go +++ b/pkg/object/function/spec/fsm.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/function/spec/fsm_test.go b/pkg/object/function/spec/fsm_test.go index 69fbab9689..f040a8b8fd 100644 --- a/pkg/object/function/spec/fsm_test.go +++ b/pkg/object/function/spec/fsm_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/function/spec/function.go b/pkg/object/function/spec/function.go index 1132dc57d9..2fdc8baa99 100644 --- a/pkg/object/function/spec/function.go +++ b/pkg/object/function/spec/function.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,10 +20,10 @@ package spec import ( "fmt" - "github.com/megaease/easegress/v2/pkg/filters/builder" + "github.com/easegress-io/easegress/v2/pkg/filters/builder" k8sresource "k8s.io/apimachinery/pkg/api/resource" - "github.com/megaease/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver" ) const ( diff --git a/pkg/object/function/spec/function_test.go b/pkg/object/function/spec/function_test.go index 979ad276f5..65e7695933 100644 --- a/pkg/object/function/spec/function_test.go +++ b/pkg/object/function/spec/function_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/function/storage/storage.go b/pkg/object/function/storage/storage.go index ffab3200cb..909c82512d 100644 --- a/pkg/object/function/storage/storage.go +++ b/pkg/object/function/storage/storage.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "go.etcd.io/etcd/api/v3/mvccpb" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" ) const ( diff --git a/pkg/object/function/worker/api.go b/pkg/object/function/worker/api.go index ec79ff7ace..03f32c23c2 100644 --- a/pkg/object/function/worker/api.go +++ b/pkg/object/function/worker/api.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,12 +24,12 @@ import ( "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/function/spec" - "github.com/megaease/easegress/v2/pkg/object/function/storage" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/function/spec" + "github.com/easegress-io/easegress/v2/pkg/object/function/storage" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/v" ) var ( diff --git a/pkg/object/function/worker/function.go b/pkg/object/function/worker/function.go index 44299d6165..10d09f4628 100644 --- a/pkg/object/function/worker/function.go +++ b/pkg/object/function/worker/function.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,10 +18,10 @@ package worker import ( - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/function/spec" - "github.com/megaease/easegress/v2/pkg/object/function/storage" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/function/spec" + "github.com/easegress-io/easegress/v2/pkg/object/function/storage" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) // put puts a function spec and status into store. diff --git a/pkg/object/function/worker/ingress.go b/pkg/object/function/worker/ingress.go index 3f23e9444d..4c08475678 100644 --- a/pkg/object/function/worker/ingress.go +++ b/pkg/object/function/worker/ingress.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,16 +21,16 @@ import ( "fmt" "sync" - "github.com/megaease/easegress/v2/pkg/filters/builder" - proxy "github.com/megaease/easegress/v2/pkg/filters/proxies/httpproxy" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/function/spec" - "github.com/megaease/easegress/v2/pkg/object/httpserver" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/filters/builder" + proxy "github.com/easegress-io/easegress/v2/pkg/filters/proxies/httpproxy" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/function/spec" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ingressFunctionKey = "X-FaaS-Func-Name" diff --git a/pkg/object/function/worker/worker.go b/pkg/object/function/worker/worker.go index 74d7a62379..7626bff484 100644 --- a/pkg/object/function/worker/worker.go +++ b/pkg/object/function/worker/worker.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,11 +23,11 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/function/provider" - "github.com/megaease/easegress/v2/pkg/object/function/spec" - "github.com/megaease/easegress/v2/pkg/object/function/storage" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/function/provider" + "github.com/easegress-io/easegress/v2/pkg/object/function/spec" + "github.com/easegress-io/easegress/v2/pkg/object/function/storage" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) type ( diff --git a/pkg/object/gatewaycontroller/gatewaycontroller.go b/pkg/object/gatewaycontroller/gatewaycontroller.go index 10745d585c..898fedc9e1 100644 --- a/pkg/object/gatewaycontroller/gatewaycontroller.go +++ b/pkg/object/gatewaycontroller/gatewaycontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,9 +23,9 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/gatewaycontroller/k8s.go b/pkg/object/gatewaycontroller/k8s.go index 32faf45040..643898d621 100644 --- a/pkg/object/gatewaycontroller/k8s.go +++ b/pkg/object/gatewaycontroller/k8s.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,7 @@ import ( "strconv" "time" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/object/gatewaycontroller/translator.go b/pkg/object/gatewaycontroller/translator.go index 553dcac75f..7044d7102f 100644 --- a/pkg/object/gatewaycontroller/translator.go +++ b/pkg/object/gatewaycontroller/translator.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,20 +21,20 @@ import ( "fmt" "strings" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/filters/builder" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/filters/proxies/httpproxy" - redirector "github.com/megaease/easegress/v2/pkg/filters/redirectorv2" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/pathadaptor" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/filters/builder" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies/httpproxy" + redirector "github.com/easegress-io/easegress/v2/pkg/filters/redirectorv2" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/pathadaptor" "golang.org/x/exp/slices" apicorev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/object/globalfilter/globalfilter.go b/pkg/object/globalfilter/globalfilter.go index 1c8212c49d..89eedd2479 100644 --- a/pkg/object/globalfilter/globalfilter.go +++ b/pkg/object/globalfilter/globalfilter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,11 +23,11 @@ import ( "strings" "sync/atomic" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/object/grpcserver/grpcserver.go b/pkg/object/grpcserver/grpcserver.go index 12a0b0789b..81b080b588 100644 --- a/pkg/object/grpcserver/grpcserver.go +++ b/pkg/object/grpcserver/grpcserver.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,9 +21,9 @@ package grpcserver import ( "strings" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/grpcserver/grpcserver_test.go b/pkg/object/grpcserver/grpcserver_test.go index 2e83c0fd74..33a0209031 100644 --- a/pkg/object/grpcserver/grpcserver_test.go +++ b/pkg/object/grpcserver/grpcserver_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/context/contexttest" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/context/contexttest" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/grpcserver/mux.go b/pkg/object/grpcserver/mux.go index a54370eca2..18d7f46b59 100644 --- a/pkg/object/grpcserver/mux.go +++ b/pkg/object/grpcserver/mux.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,8 +21,8 @@ import ( "fmt" "runtime/debug" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -32,13 +32,13 @@ import ( "sync/atomic" lru "github.com/hashicorp/golang-lru" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/globalfilter" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/ipfilter" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/globalfilter" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/ipfilter" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) type ( diff --git a/pkg/object/grpcserver/mux_test.go b/pkg/object/grpcserver/mux_test.go index dd9965a243..103be80291 100644 --- a/pkg/object/grpcserver/mux_test.go +++ b/pkg/object/grpcserver/mux_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,11 +21,11 @@ import ( stdcontext "context" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/context/contexttest" - "github.com/megaease/easegress/v2/pkg/protocols/grpcprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/context/contexttest" + "github.com/easegress-io/easegress/v2/pkg/protocols/grpcprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/pkg/object/grpcserver/runtime.go b/pkg/object/grpcserver/runtime.go index acf08fe41e..9f152338e3 100644 --- a/pkg/object/grpcserver/runtime.go +++ b/pkg/object/grpcserver/runtime.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,12 +23,12 @@ import ( "sync/atomic" "time" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters/proxies/grpcproxy" - "github.com/megaease/easegress/v2/pkg/graceupdate" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/limitlistener" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies/grpcproxy" + "github.com/easegress-io/easegress/v2/pkg/graceupdate" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/limitlistener" "google.golang.org/grpc" "google.golang.org/grpc/encoding" "google.golang.org/grpc/keepalive" diff --git a/pkg/object/grpcserver/runtime_test.go b/pkg/object/grpcserver/runtime_test.go index 03c6d20e32..1df2bb3f73 100644 --- a/pkg/object/grpcserver/runtime_test.go +++ b/pkg/object/grpcserver/runtime_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/context/contexttest" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/context/contexttest" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/grpcserver/spec.go b/pkg/object/grpcserver/spec.go index e3e832e625..877066568f 100644 --- a/pkg/object/grpcserver/spec.go +++ b/pkg/object/grpcserver/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "fmt" "regexp" - "github.com/megaease/easegress/v2/pkg/util/ipfilter" + "github.com/easegress-io/easegress/v2/pkg/util/ipfilter" ) type ( diff --git a/pkg/object/grpcserver/spec_test.go b/pkg/object/grpcserver/spec_test.go index 7dcbf3012a..872b189050 100644 --- a/pkg/object/grpcserver/spec_test.go +++ b/pkg/object/grpcserver/spec_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package grpcserver import ( "testing" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/httpserver.go b/pkg/object/httpserver/httpserver.go index 7415b32063..8d3f1b92fd 100644 --- a/pkg/object/httpserver/httpserver.go +++ b/pkg/object/httpserver/httpserver.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,9 +21,9 @@ package httpserver import ( "strings" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/httpserver/httpserver_test.go b/pkg/object/httpserver/httpserver_test.go index ea1d67a758..57947c47ef 100644 --- a/pkg/object/httpserver/httpserver_test.go +++ b/pkg/object/httpserver/httpserver_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,10 +22,10 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/context/contexttest" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/context/contexttest" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/metrics_test.go b/pkg/object/httpserver/metrics_test.go index 49b6bc8505..3d8972e683 100644 --- a/pkg/object/httpserver/metrics_test.go +++ b/pkg/object/httpserver/metrics_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ package httpserver import ( - "github.com/megaease/easegress/v2/pkg/util/prometheushelper" + "github.com/easegress-io/easegress/v2/pkg/util/prometheushelper" "github.com/prometheus/client_golang/prometheus" ) diff --git a/pkg/object/httpserver/mux.go b/pkg/object/httpserver/mux.go index 927d9fb758..900b49abf9 100644 --- a/pkg/object/httpserver/mux.go +++ b/pkg/object/httpserver/mux.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,22 +30,22 @@ import ( "text/template" "time" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" lru "github.com/hashicorp/golang-lru" - "github.com/megaease/easegress/v2/pkg/object/globalfilter" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/autocertmanager" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpstat" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/fasttime" - "github.com/megaease/easegress/v2/pkg/util/ipfilter" - "github.com/megaease/easegress/v2/pkg/util/readers" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/object/globalfilter" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/autocertmanager" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpstat" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/util/ipfilter" + "github.com/easegress-io/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" "github.com/prometheus/client_golang/prometheus" ) diff --git a/pkg/object/httpserver/mux_test.go b/pkg/object/httpserver/mux_test.go index c88538b015..63ce34a978 100644 --- a/pkg/object/httpserver/mux_test.go +++ b/pkg/object/httpserver/mux_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,19 +27,19 @@ import ( "testing" "testing/iotest" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/option" - - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/context/contexttest" - _ "github.com/megaease/easegress/v2/pkg/object/httpserver/routers/ordered" - _ "github.com/megaease/easegress/v2/pkg/object/httpserver/routers/radixtree" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpstat" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/option" + + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/context/contexttest" + _ "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers/ordered" + _ "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers/radixtree" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpstat" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/tracing" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/routers/ordered/router.go b/pkg/object/httpserver/routers/ordered/router.go index 37e0655480..93009c8927 100644 --- a/pkg/object/httpserver/routers/ordered/router.go +++ b/pkg/object/httpserver/routers/ordered/router.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "regexp" "strings" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" ) type ( diff --git a/pkg/object/httpserver/routers/ordered/router_test.go b/pkg/object/httpserver/routers/ordered/router_test.go index 3d4f251192..3a94e8dceb 100644 --- a/pkg/object/httpserver/routers/ordered/router_test.go +++ b/pkg/object/httpserver/routers/ordered/router_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,10 +22,10 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/ipfilter" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/ipfilter" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/routers/radixtree/router.go b/pkg/object/httpserver/routers/radixtree/router.go index 3a2373c447..561f7e06c8 100644 --- a/pkg/object/httpserver/routers/radixtree/router.go +++ b/pkg/object/httpserver/routers/radixtree/router.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,8 +26,8 @@ import ( "strings" "text/template" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) // radixtree-router implementation below is a based on the original work by diff --git a/pkg/object/httpserver/routers/radixtree/router_test.go b/pkg/object/httpserver/routers/radixtree/router_test.go index d39df13e79..a27d95fd90 100644 --- a/pkg/object/httpserver/routers/radixtree/router_test.go +++ b/pkg/object/httpserver/routers/radixtree/router_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,8 +21,8 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/routers/routers.go b/pkg/object/httpserver/routers/routers.go index 8bfeccbc36..99099a2648 100644 --- a/pkg/object/httpserver/routers/routers.go +++ b/pkg/object/httpserver/routers/routers.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,8 +25,8 @@ import ( "net/http" "net/url" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" ) type ( diff --git a/pkg/object/httpserver/routers/routers_test.go b/pkg/object/httpserver/routers/routers_test.go index e30d728705..aa312aca5a 100644 --- a/pkg/object/httpserver/routers/routers_test.go +++ b/pkg/object/httpserver/routers/routers_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/routers/spec.go b/pkg/object/httpserver/routers/spec.go index 53e97aa921..e66783fc7e 100644 --- a/pkg/object/httpserver/routers/spec.go +++ b/pkg/object/httpserver/routers/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,9 +24,9 @@ import ( "regexp" "strings" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/ipfilter" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/ipfilter" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) // Rules represents the set of rules. diff --git a/pkg/object/httpserver/routers/spec_test.go b/pkg/object/httpserver/routers/spec_test.go index 2ceff529ef..50346c0cf0 100644 --- a/pkg/object/httpserver/routers/spec_test.go +++ b/pkg/object/httpserver/routers/spec_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/util/ipfilter" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/util/ipfilter" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/runtime.go b/pkg/object/httpserver/runtime.go index 18664f0d0f..2c5f65ed00 100644 --- a/pkg/object/httpserver/runtime.go +++ b/pkg/object/httpserver/runtime.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,15 +31,15 @@ import ( "github.com/quic-go/quic-go" "github.com/quic-go/quic-go/http3" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/graceupdate" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpstat" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/easemonitor" - "github.com/megaease/easegress/v2/pkg/util/filterwriter" - "github.com/megaease/easegress/v2/pkg/util/limitlistener" - "github.com/megaease/easegress/v2/pkg/util/prometheushelper" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/graceupdate" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpstat" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/easemonitor" + "github.com/easegress-io/easegress/v2/pkg/util/filterwriter" + "github.com/easegress-io/easegress/v2/pkg/util/limitlistener" + "github.com/easegress-io/easegress/v2/pkg/util/prometheushelper" "github.com/prometheus/client_golang/prometheus" ) diff --git a/pkg/object/httpserver/runtime_test.go b/pkg/object/httpserver/runtime_test.go index 23bb93eb7d..18988c0628 100644 --- a/pkg/object/httpserver/runtime_test.go +++ b/pkg/object/httpserver/runtime_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/context/contexttest" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/context/contexttest" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/httpserver/spec.go b/pkg/object/httpserver/spec.go index 8ffda308a2..d9e8b6371c 100644 --- a/pkg/object/httpserver/spec.go +++ b/pkg/object/httpserver/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "encoding/base64" "fmt" - "github.com/megaease/easegress/v2/pkg/object/autocertmanager" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/ipfilter" + "github.com/easegress-io/easegress/v2/pkg/object/autocertmanager" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/ipfilter" ) type ( diff --git a/pkg/object/httpserver/spec_test.go b/pkg/object/httpserver/spec_test.go index 11c753263e..18554ee5d7 100644 --- a/pkg/object/httpserver/spec_test.go +++ b/pkg/object/httpserver/spec_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,10 +24,10 @@ import ( "strings" "testing" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/supervisor" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/ingresscontroller/ingresscontroller.go b/pkg/object/ingresscontroller/ingresscontroller.go index a7b206ff34..73755faeb0 100644 --- a/pkg/object/ingresscontroller/ingresscontroller.go +++ b/pkg/object/ingresscontroller/ingresscontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,11 +24,11 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/ingresscontroller/k8s.go b/pkg/object/ingresscontroller/k8s.go index 76bb06c89a..e76a40d3f2 100644 --- a/pkg/object/ingresscontroller/k8s.go +++ b/pkg/object/ingresscontroller/k8s.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "strconv" "time" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/discovery" "k8s.io/client-go/informers" diff --git a/pkg/object/ingresscontroller/translator.go b/pkg/object/ingresscontroller/translator.go index 6d82124eec..41c21c7d7f 100644 --- a/pkg/object/ingresscontroller/translator.go +++ b/pkg/object/ingresscontroller/translator.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,15 +25,15 @@ import ( "strings" "time" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - proxy "github.com/megaease/easegress/v2/pkg/filters/proxies/httpproxy" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + proxy "github.com/easegress-io/easegress/v2/pkg/filters/proxies/httpproxy" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" apicorev1 "k8s.io/api/core/v1" apinetv1 "k8s.io/api/networking/v1" ) diff --git a/pkg/object/meshcontroller/api/api.go b/pkg/object/meshcontroller/api/api.go index 17cf18361d..98b58d08b0 100644 --- a/pkg/object/meshcontroller/api/api.go +++ b/pkg/object/meshcontroller/api/api.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,13 +23,13 @@ import ( "io" "net/http" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/k8s" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/k8s" + "github.com/easegress-io/easegress/v2/pkg/v" "k8s.io/client-go/kubernetes" ) diff --git a/pkg/object/meshcontroller/api/api_customresource.go b/pkg/object/meshcontroller/api/api_customresource.go index e8e41232a7..86c00717c3 100644 --- a/pkg/object/meshcontroller/api/api_customresource.go +++ b/pkg/object/meshcontroller/api/api_customresource.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "sort" "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/megaease/easemesh-api/v2alpha1" "github.com/xeipuuv/gojsonschema" ) diff --git a/pkg/object/meshcontroller/api/api_ingress.go b/pkg/object/meshcontroller/api/api_ingress.go index b784fb0e9c..a421fa6f6b 100644 --- a/pkg/object/meshcontroller/api/api_ingress.go +++ b/pkg/object/meshcontroller/api/api_ingress.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,10 +26,10 @@ import ( "github.com/go-chi/chi/v5" v2alpha1 "github.com/megaease/easemesh-api/v2alpha1" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ingressesByOrder []*spec.Ingress diff --git a/pkg/object/meshcontroller/api/api_part.go b/pkg/object/meshcontroller/api/api_part.go index 3ff1047e5f..ae8e9a0fc3 100644 --- a/pkg/object/meshcontroller/api/api_part.go +++ b/pkg/object/meshcontroller/api/api_part.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,9 +23,9 @@ import ( v2alpha1 "github.com/megaease/easemesh-api/v2alpha1" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/object/meshcontroller/api/api_service.go b/pkg/object/meshcontroller/api/api_service.go index 2320bb9006..548f5dcbbd 100644 --- a/pkg/object/meshcontroller/api/api_service.go +++ b/pkg/object/meshcontroller/api/api_service.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,11 +32,11 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) type servicesByOrder []*spec.Service diff --git a/pkg/object/meshcontroller/api/api_servicecanary.go b/pkg/object/meshcontroller/api/api_servicecanary.go index d1cbd2b34e..fc54c068bf 100644 --- a/pkg/object/meshcontroller/api/api_servicecanary.go +++ b/pkg/object/meshcontroller/api/api_servicecanary.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,10 +25,10 @@ import ( "github.com/go-chi/chi/v5" v2alpha1 "github.com/megaease/easemesh-api/v2alpha1" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func (a *API) readServiceCanaryName(r *http.Request) (string, error) { diff --git a/pkg/object/meshcontroller/api/api_serviceinstance.go b/pkg/object/meshcontroller/api/api_serviceinstance.go index 8f772c6912..e0f2603858 100644 --- a/pkg/object/meshcontroller/api/api_serviceinstance.go +++ b/pkg/object/meshcontroller/api/api_serviceinstance.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,10 +24,10 @@ import ( "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" v2alpha1 "github.com/megaease/easemesh-api/v2alpha1" ) diff --git a/pkg/object/meshcontroller/api/api_tenant.go b/pkg/object/meshcontroller/api/api_tenant.go index 55dc3d7468..f94ccfc050 100644 --- a/pkg/object/meshcontroller/api/api_tenant.go +++ b/pkg/object/meshcontroller/api/api_tenant.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,10 +27,10 @@ import ( "github.com/go-chi/chi/v5" v2alpha1 "github.com/megaease/easemesh-api/v2alpha1" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type tenantsByOrder []*spec.Tenant diff --git a/pkg/object/meshcontroller/api/api_trafficcontrol.go b/pkg/object/meshcontroller/api/api_trafficcontrol.go index b65477e395..54443a4334 100644 --- a/pkg/object/meshcontroller/api/api_trafficcontrol.go +++ b/pkg/object/meshcontroller/api/api_trafficcontrol.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,10 +22,10 @@ import ( "net/http" "sort" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/megaease/easemesh-api/v2alpha1" ) diff --git a/pkg/object/meshcontroller/certmanager/certmanager.go b/pkg/object/meshcontroller/certmanager/certmanager.go index 18742272be..d31bf654a8 100644 --- a/pkg/object/meshcontroller/certmanager/certmanager.go +++ b/pkg/object/meshcontroller/certmanager/certmanager.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,12 +23,12 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/informer" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/informer" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/meshcontroller/certmanager/meshcertprovider.go b/pkg/object/meshcontroller/certmanager/meshcertprovider.go index 1aaa42d384..a50baca09b 100644 --- a/pkg/object/meshcontroller/certmanager/meshcertprovider.go +++ b/pkg/object/meshcontroller/certmanager/meshcertprovider.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,8 +31,8 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" ) var ( diff --git a/pkg/object/meshcontroller/informer/informer.go b/pkg/object/meshcontroller/informer/informer.go index 6028d7421b..c9c105619c 100644 --- a/pkg/object/meshcontroller/informer/informer.go +++ b/pkg/object/meshcontroller/informer/informer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,12 +24,12 @@ import ( "go.etcd.io/etcd/api/v3/mvccpb" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/layout" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/layout" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/object/meshcontroller/ingresscontroller/ingresscontroller.go b/pkg/object/meshcontroller/ingresscontroller/ingresscontroller.go index 64999ce9cb..ba79ceb1a8 100644 --- a/pkg/object/meshcontroller/ingresscontroller/ingresscontroller.go +++ b/pkg/object/meshcontroller/ingresscontroller/ingresscontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,13 +24,13 @@ import ( "runtime/debug" "sync" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/informer" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/informer" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) type ( diff --git a/pkg/object/meshcontroller/label/label.go b/pkg/object/meshcontroller/label/label.go index 11da5615a4..b96c8c5117 100644 --- a/pkg/object/meshcontroller/label/label.go +++ b/pkg/object/meshcontroller/label/label.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/meshcontroller/layout/layout.go b/pkg/object/meshcontroller/layout/layout.go index 02ee08fd2b..c6b324010a 100644 --- a/pkg/object/meshcontroller/layout/layout.go +++ b/pkg/object/meshcontroller/layout/layout.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/meshcontroller/master/master.go b/pkg/object/meshcontroller/master/master.go index b6d23bc3d3..7eebee99a9 100644 --- a/pkg/object/meshcontroller/master/master.go +++ b/pkg/object/meshcontroller/master/master.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,15 +22,15 @@ import ( "runtime/debug" "time" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/certmanager" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/layout" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/certmanager" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/layout" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/object/meshcontroller/meshcontroller.go b/pkg/object/meshcontroller/meshcontroller.go index 87c70c206e..1ddd2cdc08 100644 --- a/pkg/object/meshcontroller/meshcontroller.go +++ b/pkg/object/meshcontroller/meshcontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,15 +21,15 @@ package meshcontroller import ( "strings" - egapi "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/api" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/ingresscontroller" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/label" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/master" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/worker" - "github.com/megaease/easegress/v2/pkg/supervisor" + egapi "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/api" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/ingresscontroller" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/label" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/master" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/worker" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( @@ -51,7 +51,7 @@ func init() { } type ( - // MeshController is a business controller to complete MegaEase Service Mesh. + // MeshController is a business controller to complete EaseMesh. MeshController struct { superSpec *supervisor.Spec spec *spec.Admin diff --git a/pkg/object/meshcontroller/registrycenter/consul.go b/pkg/object/meshcontroller/registrycenter/consul.go index 3e54cc479d..6b167bf416 100644 --- a/pkg/object/meshcontroller/registrycenter/consul.go +++ b/pkg/object/meshcontroller/registrycenter/consul.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/meshcontroller/registrycenter/discovery.go b/pkg/object/meshcontroller/registrycenter/discovery.go index 5bde7a1bbd..b9ad954f17 100644 --- a/pkg/object/meshcontroller/registrycenter/discovery.go +++ b/pkg/object/meshcontroller/registrycenter/discovery.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "runtime/debug" "strings" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" ) type ( diff --git a/pkg/object/meshcontroller/registrycenter/eureka.go b/pkg/object/meshcontroller/registrycenter/eureka.go index 37c7816e01..6aa9c87e8d 100644 --- a/pkg/object/meshcontroller/registrycenter/eureka.go +++ b/pkg/object/meshcontroller/registrycenter/eureka.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/meshcontroller/registrycenter/nacos.go b/pkg/object/meshcontroller/registrycenter/nacos.go index 94d646509b..934be1d11e 100644 --- a/pkg/object/meshcontroller/registrycenter/nacos.go +++ b/pkg/object/meshcontroller/registrycenter/nacos.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/meshcontroller/registrycenter/registrycenter.go b/pkg/object/meshcontroller/registrycenter/registrycenter.go index 6a8d6d25c9..5385f97e0b 100644 --- a/pkg/object/meshcontroller/registrycenter/registrycenter.go +++ b/pkg/object/meshcontroller/registrycenter/registrycenter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,12 +31,12 @@ import ( "github.com/go-chi/chi/v5" consul "github.com/hashicorp/consul/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/informer" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/jmxtool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/informer" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/jmxtool" ) const ( diff --git a/pkg/object/meshcontroller/service/service.go b/pkg/object/meshcontroller/service/service.go index ffe65cdb46..9643041b01 100644 --- a/pkg/object/meshcontroller/service/service.go +++ b/pkg/object/meshcontroller/service/service.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,14 +25,14 @@ import ( "go.etcd.io/etcd/api/v3/mvccpb" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/cluster/customdata" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/layout" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/cluster/customdata" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/layout" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/object/meshcontroller/spec/builder.go b/pkg/object/meshcontroller/spec/builder.go index 740608ba3c..6b924e2957 100644 --- a/pkg/object/meshcontroller/spec/builder.go +++ b/pkg/object/meshcontroller/spec/builder.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,19 +20,19 @@ package spec import ( "fmt" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/filters/meshadaptor" - "github.com/megaease/easegress/v2/pkg/filters/mock" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - proxy "github.com/megaease/easegress/v2/pkg/filters/proxies/httpproxy" - "github.com/megaease/easegress/v2/pkg/filters/ratelimiter" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot/httpheader" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/filters/meshadaptor" + "github.com/easegress-io/easegress/v2/pkg/filters/mock" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + proxy "github.com/easegress-io/easegress/v2/pkg/filters/proxies/httpproxy" + "github.com/easegress-io/easegress/v2/pkg/filters/ratelimiter" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot/httpheader" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) type ( diff --git a/pkg/object/meshcontroller/spec/ingresscontroller.go b/pkg/object/meshcontroller/spec/ingresscontroller.go index 0e217ee4a3..69b552aca1 100644 --- a/pkg/object/meshcontroller/spec/ingresscontroller.go +++ b/pkg/object/meshcontroller/spec/ingresscontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,8 +21,8 @@ import ( "bytes" "fmt" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) // IngressControllerServerName returns the server name of ingress controller. diff --git a/pkg/object/meshcontroller/spec/selector.go b/pkg/object/meshcontroller/spec/selector.go index 3ee2c0531f..30cee3c3b5 100644 --- a/pkg/object/meshcontroller/spec/selector.go +++ b/pkg/object/meshcontroller/spec/selector.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,7 +17,7 @@ package spec -import "github.com/megaease/easegress/v2/pkg/util/stringtool" +import "github.com/easegress-io/easegress/v2/pkg/util/stringtool" type ( // ServiceSelector is to select service instances diff --git a/pkg/object/meshcontroller/spec/selector_test.go b/pkg/object/meshcontroller/spec/selector_test.go index fbb71e5a92..c0f75ac334 100644 --- a/pkg/object/meshcontroller/spec/selector_test.go +++ b/pkg/object/meshcontroller/spec/selector_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/meshcontroller/spec/sidecar.go b/pkg/object/meshcontroller/spec/sidecar.go index 695b2cbadc..0c6f8baf09 100644 --- a/pkg/object/meshcontroller/spec/sidecar.go +++ b/pkg/object/meshcontroller/spec/sidecar.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,8 +20,8 @@ package spec import ( "fmt" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) // SidecarEgressServerName returns egress HTTP server name diff --git a/pkg/object/meshcontroller/spec/spec.go b/pkg/object/meshcontroller/spec/spec.go index 1ab4fe977d..f4d14c4321 100644 --- a/pkg/object/meshcontroller/spec/spec.go +++ b/pkg/object/meshcontroller/spec/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,13 +22,13 @@ import ( "fmt" "time" - "github.com/megaease/easegress/v2/pkg/cluster/customdata" - "github.com/megaease/easegress/v2/pkg/filters/mock" - proxy "github.com/megaease/easegress/v2/pkg/filters/proxies/httpproxy" - "github.com/megaease/easegress/v2/pkg/filters/ratelimiter" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/util/stringtool" - "github.com/megaease/easegress/v2/pkg/util/urlrule" + "github.com/easegress-io/easegress/v2/pkg/cluster/customdata" + "github.com/easegress-io/easegress/v2/pkg/filters/mock" + proxy "github.com/easegress-io/easegress/v2/pkg/filters/proxies/httpproxy" + "github.com/easegress-io/easegress/v2/pkg/filters/ratelimiter" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/util/urlrule" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/object/meshcontroller/spec/spec_test.go b/pkg/object/meshcontroller/spec/spec_test.go index 77df70fc68..cd84bcbaf8 100644 --- a/pkg/object/meshcontroller/spec/spec_test.go +++ b/pkg/object/meshcontroller/spec/spec_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,18 +22,18 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/filters/mock" - "github.com/megaease/easegress/v2/pkg/filters/proxies" - "github.com/megaease/easegress/v2/pkg/filters/ratelimiter" - "github.com/megaease/easegress/v2/pkg/logger" - _ "github.com/megaease/easegress/v2/pkg/object/httpserver" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/stringtool" - "github.com/megaease/easegress/v2/pkg/util/urlrule" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/filters/mock" + "github.com/easegress-io/easegress/v2/pkg/filters/proxies" + "github.com/easegress-io/easegress/v2/pkg/filters/ratelimiter" + "github.com/easegress-io/easegress/v2/pkg/logger" + _ "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/util/urlrule" v2alpha1 "github.com/megaease/easemesh-api/v2alpha1" ) diff --git a/pkg/object/meshcontroller/storage/storage.go b/pkg/object/meshcontroller/storage/storage.go index b549bc9d12..0b82a6dbe4 100644 --- a/pkg/object/meshcontroller/storage/storage.go +++ b/pkg/object/meshcontroller/storage/storage.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "go.etcd.io/etcd/api/v3/mvccpb" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type ( diff --git a/pkg/object/meshcontroller/worker/api.go b/pkg/object/meshcontroller/worker/api.go index 6c21460e6c..0719eb5bcf 100644 --- a/pkg/object/meshcontroller/worker/api.go +++ b/pkg/object/meshcontroller/worker/api.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package worker import ( "net/http" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" ) const ( diff --git a/pkg/object/meshcontroller/worker/api_consul.go b/pkg/object/meshcontroller/worker/api_consul.go index 8b33f0fe5b..1d5d8111fa 100644 --- a/pkg/object/meshcontroller/worker/api_consul.go +++ b/pkg/object/meshcontroller/worker/api_consul.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,10 +24,10 @@ import ( "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/registrycenter" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/registrycenter" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func (worker *Worker) consulAPIs() []*apiEntry { diff --git a/pkg/object/meshcontroller/worker/api_eureka.go b/pkg/object/meshcontroller/worker/api_eureka.go index 82da98811d..2c2b27dec2 100644 --- a/pkg/object/meshcontroller/worker/api_eureka.go +++ b/pkg/object/meshcontroller/worker/api_eureka.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,10 +28,10 @@ import ( "github.com/ArthurHlt/go-eureka-client/eureka" "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/registrycenter" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/registrycenter" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/object/meshcontroller/worker/api_nacos.go b/pkg/object/meshcontroller/worker/api_nacos.go index 8ec6ab353f..7b0d632517 100644 --- a/pkg/object/meshcontroller/worker/api_nacos.go +++ b/pkg/object/meshcontroller/worker/api_nacos.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,10 +23,10 @@ import ( "github.com/go-chi/chi/v5" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/registrycenter" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/registrycenter" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func (worker *Worker) nacosAPIs() []*apiEntry { diff --git a/pkg/object/meshcontroller/worker/egress.go b/pkg/object/meshcontroller/worker/egress.go index 9e63cf09d3..538d60d6f5 100644 --- a/pkg/object/meshcontroller/worker/egress.go +++ b/pkg/object/meshcontroller/worker/egress.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,17 +21,17 @@ import ( "fmt" "sync" - "github.com/megaease/easegress/v2/pkg/object/httpserver/routers" - - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/informer" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers" + + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/informer" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const egressRPCKey = "X-Mesh-Rpc-Service" diff --git a/pkg/object/meshcontroller/worker/ingress.go b/pkg/object/meshcontroller/worker/ingress.go index 76af2a024d..1d20959089 100644 --- a/pkg/object/meshcontroller/worker/ingress.go +++ b/pkg/object/meshcontroller/worker/ingress.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,13 +21,13 @@ import ( "fmt" "sync" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/informer" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/informer" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) // ErrIngressClosed is the error when operating in a closed Ingress server diff --git a/pkg/object/meshcontroller/worker/observability.go b/pkg/object/meshcontroller/worker/observability.go index 6d12903885..84959b9efc 100644 --- a/pkg/object/meshcontroller/worker/observability.go +++ b/pkg/object/meshcontroller/worker/observability.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ package worker import ( - "github.com/megaease/easegress/v2/pkg/util/jmxtool" + "github.com/easegress-io/easegress/v2/pkg/util/jmxtool" ) type ( diff --git a/pkg/object/meshcontroller/worker/server.go b/pkg/object/meshcontroller/worker/server.go index c754d4a5c3..7d57a68eaf 100644 --- a/pkg/object/meshcontroller/worker/server.go +++ b/pkg/object/meshcontroller/worker/server.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,8 +28,8 @@ import ( "github.com/go-chi/chi/v5" "go.uber.org/zap" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/object/meshcontroller/worker/worker.go b/pkg/object/meshcontroller/worker/worker.go index 8c5a7dddbb..0cf427aed1 100644 --- a/pkg/object/meshcontroller/worker/worker.go +++ b/pkg/object/meshcontroller/worker/worker.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,18 +30,18 @@ import ( "strings" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/informer" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/label" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/layout" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/registrycenter" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/service" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/storage" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/jmxtool" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/informer" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/label" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/layout" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/registrycenter" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/service" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/storage" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/jmxtool" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) type ( diff --git a/pkg/object/mock/namespacer.go b/pkg/object/mock/namespacer.go index 83809382aa..541f44a072 100644 --- a/pkg/object/mock/namespacer.go +++ b/pkg/object/mock/namespacer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,13 +22,13 @@ import ( "fmt" "strings" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/httpserver" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/object/mqttproxy/broker.go b/pkg/object/mqttproxy/broker.go index 8c0302a41b..6a24af4982 100644 --- a/pkg/object/mqttproxy/broker.go +++ b/pkg/object/mqttproxy/broker.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,12 +32,12 @@ import ( "time" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" - "github.com/megaease/easegress/v2/pkg/tracing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/openzipkin/zipkin-go/model" "github.com/openzipkin/zipkin-go/propagation/b3" ) diff --git a/pkg/object/mqttproxy/cachetopicmgr.go b/pkg/object/mqttproxy/cachetopicmgr.go index 00e3ee5042..abc879dcbb 100644 --- a/pkg/object/mqttproxy/cachetopicmgr.go +++ b/pkg/object/mqttproxy/cachetopicmgr.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/client.go b/pkg/object/mqttproxy/client.go index 838a7de67a..8cc7a2d19d 100644 --- a/pkg/object/mqttproxy/client.go +++ b/pkg/object/mqttproxy/client.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,9 +26,9 @@ import ( "time" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" ) const ( diff --git a/pkg/object/mqttproxy/mock_test.go b/pkg/object/mqttproxy/mock_test.go index 2734f84efb..84fe4e7590 100644 --- a/pkg/object/mqttproxy/mock_test.go +++ b/pkg/object/mqttproxy/mock_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,10 +26,10 @@ import ( "time" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/protocols/mqttprot" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/protocols/mqttprot" "go.etcd.io/etcd/api/v3/mvccpb" clientv3 "go.etcd.io/etcd/client/v3" "go.etcd.io/etcd/client/v3/concurrency" diff --git a/pkg/object/mqttproxy/mqtt_test.go b/pkg/object/mqttproxy/mqtt_test.go index d302bd365c..a93dbda823 100644 --- a/pkg/object/mqttproxy/mqtt_test.go +++ b/pkg/object/mqttproxy/mqtt_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -35,14 +35,14 @@ import ( paho "github.com/eclipse/paho.mqtt.golang" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - _ "github.com/megaease/easegress/v2/pkg/filters/mqttclientauth" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/option" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + _ "github.com/easegress-io/easegress/v2/pkg/filters/mqttclientauth" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/openzipkin/zipkin-go/propagation/b3" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/object/mqttproxy/mqttproxy.go b/pkg/object/mqttproxy/mqttproxy.go index 5d64bf3e56..9d0c6ea33d 100644 --- a/pkg/object/mqttproxy/mqttproxy.go +++ b/pkg/object/mqttproxy/mqttproxy.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,12 +24,12 @@ import ( "net/url" "strings" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/object/mqttproxy/nocachetopicmgr.go b/pkg/object/mqttproxy/nocachetopicmgr.go index ef220f81e3..a46c77d823 100644 --- a/pkg/object/mqttproxy/nocachetopicmgr.go +++ b/pkg/object/mqttproxy/nocachetopicmgr.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/ratelimiter.go b/pkg/object/mqttproxy/ratelimiter.go index e96e987678..29d8e7c00c 100644 --- a/pkg/object/mqttproxy/ratelimiter.go +++ b/pkg/object/mqttproxy/ratelimiter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package mqttproxy import ( "time" - "github.com/megaease/easegress/v2/pkg/util/ratelimiter" + "github.com/easegress-io/easegress/v2/pkg/util/ratelimiter" ) // Limiter is a rate limiter for MQTTProxy diff --git a/pkg/object/mqttproxy/ratelimiter_test.go b/pkg/object/mqttproxy/ratelimiter_test.go index 73d8e5da1c..ccd1e620b6 100644 --- a/pkg/object/mqttproxy/ratelimiter_test.go +++ b/pkg/object/mqttproxy/ratelimiter_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/session.go b/pkg/object/mqttproxy/session.go index 7200777a1c..1b7e3142d0 100644 --- a/pkg/object/mqttproxy/session.go +++ b/pkg/object/mqttproxy/session.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "time" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/openzipkin/zipkin-go/model" ) diff --git a/pkg/object/mqttproxy/session_manager.go b/pkg/object/mqttproxy/session_manager.go index 4e4cb28769..7177be6016 100644 --- a/pkg/object/mqttproxy/session_manager.go +++ b/pkg/object/mqttproxy/session_manager.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "sync" "github.com/eclipse/paho.mqtt.golang/packets" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type ( diff --git a/pkg/object/mqttproxy/session_test.go b/pkg/object/mqttproxy/session_test.go index a0841ab079..b993cdefd1 100644 --- a/pkg/object/mqttproxy/session_test.go +++ b/pkg/object/mqttproxy/session_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/sessioncache.go b/pkg/object/mqttproxy/sessioncache.go index 1d567b69c0..bc97b22809 100644 --- a/pkg/object/mqttproxy/sessioncache.go +++ b/pkg/object/mqttproxy/sessioncache.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/sessioncache_test.go b/pkg/object/mqttproxy/sessioncache_test.go index 2abaeb0bff..5ac6afc4c3 100644 --- a/pkg/object/mqttproxy/sessioncache_test.go +++ b/pkg/object/mqttproxy/sessioncache_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/spec.go b/pkg/object/mqttproxy/spec.go index 28466017ad..33100cb9c9 100644 --- a/pkg/object/mqttproxy/spec.go +++ b/pkg/object/mqttproxy/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/storage.go b/pkg/object/mqttproxy/storage.go index 23577f7a09..96b3c3877c 100644 --- a/pkg/object/mqttproxy/storage.go +++ b/pkg/object/mqttproxy/storage.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "sync" "sync/atomic" - "github.com/megaease/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/cluster" etcderror "go.etcd.io/etcd/api/v3/v3rpc/rpctypes" ) diff --git a/pkg/object/mqttproxy/topic.go b/pkg/object/mqttproxy/topic.go index f621fdbf08..f1f00fcfbf 100644 --- a/pkg/object/mqttproxy/topic.go +++ b/pkg/object/mqttproxy/topic.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/topic_test.go b/pkg/object/mqttproxy/topic_test.go index 405337a8ca..144556c479 100644 --- a/pkg/object/mqttproxy/topic_test.go +++ b/pkg/object/mqttproxy/topic_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/mqttproxy/topicmgr.go b/pkg/object/mqttproxy/topicmgr.go index f73b44cccb..d6cd078164 100644 --- a/pkg/object/mqttproxy/topicmgr.go +++ b/pkg/object/mqttproxy/topicmgr.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/nacosserviceregistry/nacosserviceregistry.go b/pkg/object/nacosserviceregistry/nacosserviceregistry.go index b59bbd5cff..054090f645 100644 --- a/pkg/object/nacosserviceregistry/nacosserviceregistry.go +++ b/pkg/object/nacosserviceregistry/nacosserviceregistry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,11 +25,11 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/serviceregistry" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/serviceregistry" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/v" "github.com/nacos-group/nacos-sdk-go/v2/clients" "github.com/nacos-group/nacos-sdk-go/v2/clients/naming_client" diff --git a/pkg/object/pipeline/mock.go b/pkg/object/pipeline/mock.go index 61912eca39..5e03b5f89f 100644 --- a/pkg/object/pipeline/mock.go +++ b/pkg/object/pipeline/mock.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,7 +17,7 @@ package pipeline -import "github.com/megaease/easegress/v2/pkg/filters" +import "github.com/easegress-io/easegress/v2/pkg/filters" // MockGetFilter is used to get filter from pipeline for testing. func MockGetFilter(p *Pipeline, name string) filters.Filter { diff --git a/pkg/object/pipeline/pipeline.go b/pkg/object/pipeline/pipeline.go index a1c87617d6..adbf9ea684 100644 --- a/pkg/object/pipeline/pipeline.go +++ b/pkg/object/pipeline/pipeline.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,14 +23,14 @@ import ( "strings" "time" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/resilience" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/easemonitor" - "github.com/megaease/easegress/v2/pkg/util/fasttime" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/resilience" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/easemonitor" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) const ( diff --git a/pkg/object/pipeline/pipeline_test.go b/pkg/object/pipeline/pipeline_test.go index a8d670cdf7..b46ed657af 100644 --- a/pkg/object/pipeline/pipeline_test.go +++ b/pkg/object/pipeline/pipeline_test.go @@ -1,5 +1,5 @@ /* -* Copyright (c) 2017, MegaEase +* Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,12 +23,12 @@ import ( "reflect" "testing" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/filters" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols/httpprot" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/tracing" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/filters" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols/httpprot" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/tracing" "github.com/stretchr/testify/assert" ) diff --git a/pkg/object/rawconfigtrafficcontroller/rawconfigtrafficcontroller.go b/pkg/object/rawconfigtrafficcontroller/rawconfigtrafficcontroller.go index 0b844c8dd8..570d789124 100644 --- a/pkg/object/rawconfigtrafficcontroller/rawconfigtrafficcontroller.go +++ b/pkg/object/rawconfigtrafficcontroller/rawconfigtrafficcontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,12 +22,12 @@ import ( "fmt" "strings" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/pipeline" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/serviceregistry/service.go b/pkg/object/serviceregistry/service.go index 63023e52f8..01fbdd6146 100644 --- a/pkg/object/serviceregistry/service.go +++ b/pkg/object/serviceregistry/service.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/serviceregistry/serviceregistry.go b/pkg/object/serviceregistry/serviceregistry.go index f580b60fcb..6b77a0b8ca 100644 --- a/pkg/object/serviceregistry/serviceregistry.go +++ b/pkg/object/serviceregistry/serviceregistry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,9 +23,9 @@ import ( "strings" "sync" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" ) const ( diff --git a/pkg/object/serviceregistry/watcher.go b/pkg/object/serviceregistry/watcher.go index 257d579473..7f6f96bda3 100644 --- a/pkg/object/serviceregistry/watcher.go +++ b/pkg/object/serviceregistry/watcher.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "fmt" "github.com/google/uuid" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type ( diff --git a/pkg/object/statussynccontroller/statussynccontroller.go b/pkg/object/statussynccontroller/statussynccontroller.go index fd5e3bfb2c..59b04d0c81 100644 --- a/pkg/object/statussynccontroller/statussynccontroller.go +++ b/pkg/object/statussynccontroller/statussynccontroller.go @@ -1,4 +1,4 @@ -/* * Copyright (c) 2017, MegaEase +/* * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,14 +22,14 @@ import ( "strings" "sync" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/util/timetool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/timetool" - "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" + "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" ) const ( diff --git a/pkg/object/statussynccontroller/timer.go b/pkg/object/statussynccontroller/timer.go index b0202578cc..24c4880aab 100644 --- a/pkg/object/statussynccontroller/timer.go +++ b/pkg/object/statussynccontroller/timer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/object/trafficcontroller/trafficcontroller.go b/pkg/object/trafficcontroller/trafficcontroller.go index 91dca675d5..c7f6f3ab0b 100644 --- a/pkg/object/trafficcontroller/trafficcontroller.go +++ b/pkg/object/trafficcontroller/trafficcontroller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,11 +23,11 @@ import ( "runtime/debug" "sync" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/easemonitor" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/easemonitor" ) const ( diff --git a/pkg/object/zookeeperserviceregistry/zookeeperserviceregistry.go b/pkg/object/zookeeperserviceregistry/zookeeperserviceregistry.go index eaaf8e237b..c80098633e 100644 --- a/pkg/object/zookeeperserviceregistry/zookeeperserviceregistry.go +++ b/pkg/object/zookeeperserviceregistry/zookeeperserviceregistry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,11 +25,11 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/api" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/serviceregistry" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/api" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/serviceregistry" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" zookeeper "github.com/go-zookeeper/zk" ) diff --git a/pkg/option/env.go b/pkg/option/env.go index 029733aab9..5ebb680652 100644 --- a/pkg/option/env.go +++ b/pkg/option/env.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/option/env_test.go b/pkg/option/env_test.go index 80b4b91abc..59d7f685d1 100644 --- a/pkg/option/env_test.go +++ b/pkg/option/env_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/option/option.go b/pkg/option/option.go index 1e2970edff..f2c087ed0a 100644 --- a/pkg/option/option.go +++ b/pkg/option/option.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,8 +31,8 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/megaease/easegress/v2/pkg/common" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/common" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) // ClusterOptions defines the cluster members. diff --git a/pkg/option/option_test.go b/pkg/option/option_test.go index c0d9fbf95b..773a1c5771 100644 --- a/pkg/option/option_test.go +++ b/pkg/option/option_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ package option import ( - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" "github.com/stretchr/testify/assert" "os" diff --git a/pkg/pidfile/pidfile.go b/pkg/pidfile/pidfile.go index 6f46282d46..9e7af90e5d 100644 --- a/pkg/pidfile/pidfile.go +++ b/pkg/pidfile/pidfile.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "path/filepath" "strconv" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" ) const ( diff --git a/pkg/profile/profile.go b/pkg/profile/profile.go index e103a2b99b..88159ae449 100644 --- a/pkg/profile/profile.go +++ b/pkg/profile/profile.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,8 +26,8 @@ import ( "runtime/pprof" "sync" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" ) // Profile is the Profile interface. diff --git a/pkg/protocols/grpcprot/fake.go b/pkg/protocols/grpcprot/fake.go index 5c8e7c4202..debe77347a 100644 --- a/pkg/protocols/grpcprot/fake.go +++ b/pkg/protocols/grpcprot/fake.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/protocols/grpcprot/grpc.go b/pkg/protocols/grpcprot/grpc.go index 10f7ffc3c4..09ff78326d 100644 --- a/pkg/protocols/grpcprot/grpc.go +++ b/pkg/protocols/grpcprot/grpc.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ package grpcprot import ( "fmt" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols" "google.golang.org/grpc" ) diff --git a/pkg/protocols/grpcprot/grpc_test.go b/pkg/protocols/grpcprot/grpc_test.go index bca52104ee..9a34f24ae2 100644 --- a/pkg/protocols/grpcprot/grpc_test.go +++ b/pkg/protocols/grpcprot/grpc_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/protocols/grpcprot/header.go b/pkg/protocols/grpcprot/header.go index c89b070853..800d9c709c 100644 --- a/pkg/protocols/grpcprot/header.go +++ b/pkg/protocols/grpcprot/header.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package grpcprot import ( "fmt" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols" "google.golang.org/grpc/metadata" ) diff --git a/pkg/protocols/grpcprot/header_test.go b/pkg/protocols/grpcprot/header_test.go index 32c23cf70f..6bf4c893bb 100644 --- a/pkg/protocols/grpcprot/header_test.go +++ b/pkg/protocols/grpcprot/header_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/protocols/grpcprot/request.go b/pkg/protocols/grpcprot/request.go index 6d6de93a65..5beff0557c 100644 --- a/pkg/protocols/grpcprot/request.go +++ b/pkg/protocols/grpcprot/request.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,8 +25,8 @@ import ( "strings" "sync" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/protocols" "google.golang.org/grpc" "google.golang.org/grpc/metadata" "google.golang.org/grpc/peer" diff --git a/pkg/protocols/grpcprot/request_test.go b/pkg/protocols/grpcprot/request_test.go index d2219781f3..26f522bd50 100644 --- a/pkg/protocols/grpcprot/request_test.go +++ b/pkg/protocols/grpcprot/request_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "os" "testing" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "github.com/stretchr/testify/assert" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/pkg/protocols/grpcprot/response.go b/pkg/protocols/grpcprot/response.go index 62c619f531..cee9a03177 100644 --- a/pkg/protocols/grpcprot/response.go +++ b/pkg/protocols/grpcprot/response.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package grpcprot import ( "io" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" diff --git a/pkg/protocols/grpcprot/response_test.go b/pkg/protocols/grpcprot/response_test.go index 40edc12c0a..bfae6412ea 100644 --- a/pkg/protocols/grpcprot/response_test.go +++ b/pkg/protocols/grpcprot/response_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/protocols/httpprot/http.go b/pkg/protocols/httpprot/http.go index 57555dab16..2b52cd297a 100644 --- a/pkg/protocols/httpprot/http.go +++ b/pkg/protocols/httpprot/http.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "fmt" "net/http" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) // DefaultMaxPayloadSize is the default max allowed payload size. diff --git a/pkg/protocols/httpprot/http_test.go b/pkg/protocols/httpprot/http_test.go index 39b0aa4c81..3317cddc74 100644 --- a/pkg/protocols/httpprot/http_test.go +++ b/pkg/protocols/httpprot/http_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/protocols/httpprot/httpheader/httpheader.go b/pkg/protocols/httpprot/httpheader/httpheader.go index 72c7b47be5..e03584a992 100644 --- a/pkg/protocols/httpprot/httpheader/httpheader.go +++ b/pkg/protocols/httpprot/httpheader/httpheader.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/protocols/httpprot/httpheader/validator.go b/pkg/protocols/httpprot/httpheader/validator.go index 201154f561..db7f92c266 100644 --- a/pkg/protocols/httpprot/httpheader/validator.go +++ b/pkg/protocols/httpprot/httpheader/validator.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,8 +21,8 @@ import ( "fmt" "regexp" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) type ( diff --git a/pkg/protocols/httpprot/httpstat/httpstat.go b/pkg/protocols/httpprot/httpstat/httpstat.go index ee55d1dba4..49d94c28c6 100644 --- a/pkg/protocols/httpprot/httpstat/httpstat.go +++ b/pkg/protocols/httpprot/httpstat/httpstat.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,9 +26,9 @@ import ( metrics "github.com/rcrowley/go-metrics" - "github.com/megaease/easegress/v2/pkg/util/codecounter" - "github.com/megaease/easegress/v2/pkg/util/easemonitor" - "github.com/megaease/easegress/v2/pkg/util/sampler" + "github.com/easegress-io/easegress/v2/pkg/util/codecounter" + "github.com/easegress-io/easegress/v2/pkg/util/easemonitor" + "github.com/easegress-io/easegress/v2/pkg/util/sampler" ) type ( diff --git a/pkg/protocols/httpprot/httpstat/topn.go b/pkg/protocols/httpprot/httpstat/topn.go index cbadc9aad9..917fcd384d 100644 --- a/pkg/protocols/httpprot/httpstat/topn.go +++ b/pkg/protocols/httpprot/httpstat/topn.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "sort" "sync" - "github.com/megaease/easegress/v2/pkg/util/urlclusteranalyzer" + "github.com/easegress-io/easegress/v2/pkg/util/urlclusteranalyzer" ) type ( diff --git a/pkg/protocols/httpprot/request.go b/pkg/protocols/httpprot/request.go index 480351d1cd..608f65f924 100644 --- a/pkg/protocols/httpprot/request.go +++ b/pkg/protocols/httpprot/request.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,8 +27,8 @@ import ( "net/url" "strings" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/util/readers" "github.com/tomasen/realip" ) diff --git a/pkg/protocols/httpprot/request_test.go b/pkg/protocols/httpprot/request_test.go index 858b3ea7fc..9c3047101c 100644 --- a/pkg/protocols/httpprot/request_test.go +++ b/pkg/protocols/httpprot/request_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( "strings" "testing" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/util/readers" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/protocols/httpprot/response.go b/pkg/protocols/httpprot/response.go index 15245d75ac..6ae7f650a9 100644 --- a/pkg/protocols/httpprot/response.go +++ b/pkg/protocols/httpprot/response.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "net/http" "strconv" - "github.com/megaease/easegress/v2/pkg/protocols" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/util/readers" ) // Response wraps http.Response. diff --git a/pkg/protocols/httpprot/response_test.go b/pkg/protocols/httpprot/response_test.go index 01941ed5a2..d1636a3524 100644 --- a/pkg/protocols/httpprot/response_test.go +++ b/pkg/protocols/httpprot/response_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,7 +24,7 @@ import ( "strings" "testing" - "github.com/megaease/easegress/v2/pkg/util/readers" + "github.com/easegress-io/easegress/v2/pkg/util/readers" "github.com/stretchr/testify/assert" ) diff --git a/pkg/protocols/mqttprot/mock.go b/pkg/protocols/mqttprot/mock.go index 1b226f3807..c2d1b7faaf 100644 --- a/pkg/protocols/mqttprot/mock.go +++ b/pkg/protocols/mqttprot/mock.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/protocols/mqttprot/mqtt.go b/pkg/protocols/mqttprot/mqtt.go index fd9cb0afca..6f085a0ebc 100644 --- a/pkg/protocols/mqttprot/mqtt.go +++ b/pkg/protocols/mqttprot/mqtt.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ // Package mqttprot implements the MQTT protocol. package mqttprot -import "github.com/megaease/easegress/v2/pkg/protocols" +import "github.com/easegress-io/easegress/v2/pkg/protocols" func init() { protocols.Register("mqtt", &Protocol{}) diff --git a/pkg/protocols/mqttprot/request.go b/pkg/protocols/mqttprot/request.go index 8fdcfb3ba8..ab207fb371 100644 --- a/pkg/protocols/mqttprot/request.go +++ b/pkg/protocols/mqttprot/request.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "bytes" "io" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols" "github.com/eclipse/paho.mqtt.golang/packets" ) diff --git a/pkg/protocols/mqttprot/response.go b/pkg/protocols/mqttprot/response.go index 05fff9f836..0d8e5e26a8 100644 --- a/pkg/protocols/mqttprot/response.go +++ b/pkg/protocols/mqttprot/response.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "bytes" "io" - "github.com/megaease/easegress/v2/pkg/protocols" + "github.com/easegress-io/easegress/v2/pkg/protocols" ) type ( diff --git a/pkg/protocols/protocols.go b/pkg/protocols/protocols.go index 9d0b285504..2e3afa797e 100644 --- a/pkg/protocols/protocols.go +++ b/pkg/protocols/protocols.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/registry/registry.go b/pkg/registry/registry.go index 9058977224..0d2a5d8de5 100644 --- a/pkg/registry/registry.go +++ b/pkg/registry/registry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,51 +20,51 @@ package registry import ( // Filters - _ "github.com/megaease/easegress/v2/pkg/filters/builder" - _ "github.com/megaease/easegress/v2/pkg/filters/certextractor" - _ "github.com/megaease/easegress/v2/pkg/filters/connectcontrol" - _ "github.com/megaease/easegress/v2/pkg/filters/corsadaptor" - _ "github.com/megaease/easegress/v2/pkg/filters/fallback" - _ "github.com/megaease/easegress/v2/pkg/filters/headerlookup" - _ "github.com/megaease/easegress/v2/pkg/filters/headertojson" - _ "github.com/megaease/easegress/v2/pkg/filters/kafka" - _ "github.com/megaease/easegress/v2/pkg/filters/kafkabackend" - _ "github.com/megaease/easegress/v2/pkg/filters/meshadaptor" - _ "github.com/megaease/easegress/v2/pkg/filters/mock" - _ "github.com/megaease/easegress/v2/pkg/filters/mqttclientauth" - _ "github.com/megaease/easegress/v2/pkg/filters/oidcadaptor" - _ "github.com/megaease/easegress/v2/pkg/filters/opafilter" - _ "github.com/megaease/easegress/v2/pkg/filters/proxies/grpcproxy" - _ "github.com/megaease/easegress/v2/pkg/filters/proxies/httpproxy" - _ "github.com/megaease/easegress/v2/pkg/filters/ratelimiter" - _ "github.com/megaease/easegress/v2/pkg/filters/redirector" - _ "github.com/megaease/easegress/v2/pkg/filters/remotefilter" - _ "github.com/megaease/easegress/v2/pkg/filters/topicmapper" - _ "github.com/megaease/easegress/v2/pkg/filters/validator" - _ "github.com/megaease/easegress/v2/pkg/filters/wasmhost" + _ "github.com/easegress-io/easegress/v2/pkg/filters/builder" + _ "github.com/easegress-io/easegress/v2/pkg/filters/certextractor" + _ "github.com/easegress-io/easegress/v2/pkg/filters/connectcontrol" + _ "github.com/easegress-io/easegress/v2/pkg/filters/corsadaptor" + _ "github.com/easegress-io/easegress/v2/pkg/filters/fallback" + _ "github.com/easegress-io/easegress/v2/pkg/filters/headerlookup" + _ "github.com/easegress-io/easegress/v2/pkg/filters/headertojson" + _ "github.com/easegress-io/easegress/v2/pkg/filters/kafka" + _ "github.com/easegress-io/easegress/v2/pkg/filters/kafkabackend" + _ "github.com/easegress-io/easegress/v2/pkg/filters/meshadaptor" + _ "github.com/easegress-io/easegress/v2/pkg/filters/mock" + _ "github.com/easegress-io/easegress/v2/pkg/filters/mqttclientauth" + _ "github.com/easegress-io/easegress/v2/pkg/filters/oidcadaptor" + _ "github.com/easegress-io/easegress/v2/pkg/filters/opafilter" + _ "github.com/easegress-io/easegress/v2/pkg/filters/proxies/grpcproxy" + _ "github.com/easegress-io/easegress/v2/pkg/filters/proxies/httpproxy" + _ "github.com/easegress-io/easegress/v2/pkg/filters/ratelimiter" + _ "github.com/easegress-io/easegress/v2/pkg/filters/redirector" + _ "github.com/easegress-io/easegress/v2/pkg/filters/remotefilter" + _ "github.com/easegress-io/easegress/v2/pkg/filters/topicmapper" + _ "github.com/easegress-io/easegress/v2/pkg/filters/validator" + _ "github.com/easegress-io/easegress/v2/pkg/filters/wasmhost" // Objects - _ "github.com/megaease/easegress/v2/pkg/object/autocertmanager" - _ "github.com/megaease/easegress/v2/pkg/object/consulserviceregistry" - _ "github.com/megaease/easegress/v2/pkg/object/easemonitormetrics" - _ "github.com/megaease/easegress/v2/pkg/object/etcdserviceregistry" - _ "github.com/megaease/easegress/v2/pkg/object/eurekaserviceregistry" - _ "github.com/megaease/easegress/v2/pkg/object/function" - _ "github.com/megaease/easegress/v2/pkg/object/gatewaycontroller" - _ "github.com/megaease/easegress/v2/pkg/object/globalfilter" - _ "github.com/megaease/easegress/v2/pkg/object/grpcserver" - _ "github.com/megaease/easegress/v2/pkg/object/httpserver" - _ "github.com/megaease/easegress/v2/pkg/object/ingresscontroller" - _ "github.com/megaease/easegress/v2/pkg/object/meshcontroller" - _ "github.com/megaease/easegress/v2/pkg/object/mock" - _ "github.com/megaease/easegress/v2/pkg/object/mqttproxy" - _ "github.com/megaease/easegress/v2/pkg/object/nacosserviceregistry" - _ "github.com/megaease/easegress/v2/pkg/object/pipeline" - _ "github.com/megaease/easegress/v2/pkg/object/rawconfigtrafficcontroller" - _ "github.com/megaease/easegress/v2/pkg/object/trafficcontroller" - _ "github.com/megaease/easegress/v2/pkg/object/zookeeperserviceregistry" + _ "github.com/easegress-io/easegress/v2/pkg/object/autocertmanager" + _ "github.com/easegress-io/easegress/v2/pkg/object/consulserviceregistry" + _ "github.com/easegress-io/easegress/v2/pkg/object/easemonitormetrics" + _ "github.com/easegress-io/easegress/v2/pkg/object/etcdserviceregistry" + _ "github.com/easegress-io/easegress/v2/pkg/object/eurekaserviceregistry" + _ "github.com/easegress-io/easegress/v2/pkg/object/function" + _ "github.com/easegress-io/easegress/v2/pkg/object/gatewaycontroller" + _ "github.com/easegress-io/easegress/v2/pkg/object/globalfilter" + _ "github.com/easegress-io/easegress/v2/pkg/object/grpcserver" + _ "github.com/easegress-io/easegress/v2/pkg/object/httpserver" + _ "github.com/easegress-io/easegress/v2/pkg/object/ingresscontroller" + _ "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller" + _ "github.com/easegress-io/easegress/v2/pkg/object/mock" + _ "github.com/easegress-io/easegress/v2/pkg/object/mqttproxy" + _ "github.com/easegress-io/easegress/v2/pkg/object/nacosserviceregistry" + _ "github.com/easegress-io/easegress/v2/pkg/object/pipeline" + _ "github.com/easegress-io/easegress/v2/pkg/object/rawconfigtrafficcontroller" + _ "github.com/easegress-io/easegress/v2/pkg/object/trafficcontroller" + _ "github.com/easegress-io/easegress/v2/pkg/object/zookeeperserviceregistry" // Routers - _ "github.com/megaease/easegress/v2/pkg/object/httpserver/routers/ordered" - _ "github.com/megaease/easegress/v2/pkg/object/httpserver/routers/radixtree" + _ "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers/ordered" + _ "github.com/easegress-io/easegress/v2/pkg/object/httpserver/routers/radixtree" ) diff --git a/pkg/resilience/circuitbreaker.go b/pkg/resilience/circuitbreaker.go index 225c2995e5..58393a4b4c 100644 --- a/pkg/resilience/circuitbreaker.go +++ b/pkg/resilience/circuitbreaker.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,7 @@ import ( "strings" "time" - libcb "github.com/megaease/easegress/v2/pkg/util/circuitbreaker" + libcb "github.com/easegress-io/easegress/v2/pkg/util/circuitbreaker" ) // CircuitBreakerKind is the kind of CircuitBreaker. diff --git a/pkg/resilience/registry.go b/pkg/resilience/registry.go index 671374feaa..1cd8219215 100644 --- a/pkg/resilience/registry.go +++ b/pkg/resilience/registry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/resilience/resilience.go b/pkg/resilience/resilience.go index e9c167bece..c60dd28da0 100644 --- a/pkg/resilience/resilience.go +++ b/pkg/resilience/resilience.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "context" "fmt" - "github.com/megaease/easegress/v2/pkg/supervisor" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/supervisor" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/v" ) type ( diff --git a/pkg/resilience/retry.go b/pkg/resilience/retry.go index 35dc11ef8e..4428ac78e5 100644 --- a/pkg/resilience/retry.go +++ b/pkg/resilience/retry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/supervisor/mock.go b/pkg/supervisor/mock.go index 3893bc1f37..3aeccd2063 100644 --- a/pkg/supervisor/mock.go +++ b/pkg/supervisor/mock.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,8 +18,8 @@ package supervisor import ( - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/option" ) // NewMock return a mock supervisor for testing purpose diff --git a/pkg/supervisor/object.go b/pkg/supervisor/object.go index c350d8ae4a..37ad6636e2 100644 --- a/pkg/supervisor/object.go +++ b/pkg/supervisor/object.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,10 +28,10 @@ import ( "sync" "time" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/context" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/supervisor/registry.go b/pkg/supervisor/registry.go index bdd7d26b42..8cf0681061 100644 --- a/pkg/supervisor/registry.go +++ b/pkg/supervisor/registry.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "reflect" "sort" - "github.com/megaease/easegress/v2/pkg/context" + "github.com/easegress-io/easegress/v2/pkg/context" ) type ( diff --git a/pkg/supervisor/spec.go b/pkg/supervisor/spec.go index 7133f61809..0d1a20832b 100644 --- a/pkg/supervisor/spec.go +++ b/pkg/supervisor/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,8 +22,8 @@ import ( "reflect" "time" - "github.com/megaease/easegress/v2/pkg/util/codectool" - "github.com/megaease/easegress/v2/pkg/v" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/v" ) // DefaultSpecVersion is the default value of the Version field in MetaSpec. diff --git a/pkg/supervisor/supervisor.go b/pkg/supervisor/supervisor.go index 7f7d342c2a..5f6c98dee9 100644 --- a/pkg/supervisor/supervisor.go +++ b/pkg/supervisor/supervisor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,9 +24,9 @@ import ( "runtime/debug" "sync" - "github.com/megaease/easegress/v2/pkg/cluster" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/option" + "github.com/easegress-io/easegress/v2/pkg/cluster" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/option" ) const watcherName = "__SUPERVISOR__" diff --git a/pkg/tracing/cloudflare.go b/pkg/tracing/cloudflare.go index 4b9d3864ac..72b8b9751c 100644 --- a/pkg/tracing/cloudflare.go +++ b/pkg/tracing/cloudflare.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,7 @@ import ( "strconv" "time" - "github.com/megaease/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" "go.opentelemetry.io/otel/attribute" ) diff --git a/pkg/tracing/tracing.go b/pkg/tracing/tracing.go index bf62ec2085..ce624fad2c 100644 --- a/pkg/tracing/tracing.go +++ b/pkg/tracing/tracing.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( "net/http" "time" - "github.com/megaease/easegress/v2/pkg/util/fasttime" + "github.com/easegress-io/easegress/v2/pkg/util/fasttime" "go.opentelemetry.io/contrib/propagators/b3" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/exporters/jaeger" diff --git a/pkg/tracing/tracing_test.go b/pkg/tracing/tracing_test.go index a1b20f93d0..c02657b4fc 100644 --- a/pkg/tracing/tracing_test.go +++ b/pkg/tracing/tracing_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,7 +25,7 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "github.com/stretchr/testify/assert" "go.opentelemetry.io/otel/propagation" sdktrace "go.opentelemetry.io/otel/sdk/trace" diff --git a/pkg/util/circuitbreaker/circuitbreaker.go b/pkg/util/circuitbreaker/circuitbreaker.go index d04965033b..170511b7ff 100644 --- a/pkg/util/circuitbreaker/circuitbreaker.go +++ b/pkg/util/circuitbreaker/circuitbreaker.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/circuitbreaker/circuitbreaker_test.go b/pkg/util/circuitbreaker/circuitbreaker_test.go index 23878912d9..e21f52b152 100644 --- a/pkg/util/circuitbreaker/circuitbreaker_test.go +++ b/pkg/util/circuitbreaker/circuitbreaker_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/codecounter/codecounter.go b/pkg/util/codecounter/codecounter.go index bdd5d7012b..06af4a032a 100644 --- a/pkg/util/codecounter/codecounter.go +++ b/pkg/util/codecounter/codecounter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/codectool/codectool.go b/pkg/util/codectool/codectool.go index 4d6bedbfe6..e11811c50c 100644 --- a/pkg/util/codectool/codectool.go +++ b/pkg/util/codectool/codectool.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/dynamicobject/dynamicobject.go b/pkg/util/dynamicobject/dynamicobject.go index 16deb82dbd..bfb69fe52d 100644 --- a/pkg/util/dynamicobject/dynamicobject.go +++ b/pkg/util/dynamicobject/dynamicobject.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/dynamicobject/dynamicobject_test.go b/pkg/util/dynamicobject/dynamicobject_test.go index ccfc445237..39e66581d7 100644 --- a/pkg/util/dynamicobject/dynamicobject_test.go +++ b/pkg/util/dynamicobject/dynamicobject_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,7 +20,7 @@ package dynamicobject import ( "testing" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) func TestDynamicObject(t *testing.T) { diff --git a/pkg/util/easemonitor/easemonitor.go b/pkg/util/easemonitor/easemonitor.go index 99722a9911..9dfc11dc11 100644 --- a/pkg/util/easemonitor/easemonitor.go +++ b/pkg/util/easemonitor/easemonitor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,7 +19,7 @@ package easemonitor import ( - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/util/fasttime/fasttime.go b/pkg/util/fasttime/fasttime.go index f46536434d..fadb4d4729 100644 --- a/pkg/util/fasttime/fasttime.go +++ b/pkg/util/fasttime/fasttime.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/fasttime/fasttime_test.go b/pkg/util/fasttime/fasttime_test.go index 5990802c8b..afc63d7bda 100644 --- a/pkg/util/fasttime/fasttime_test.go +++ b/pkg/util/fasttime/fasttime_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/fasttime/fasttime_unix.go b/pkg/util/fasttime/fasttime_unix.go index 74ab12080f..827d387dd8 100644 --- a/pkg/util/fasttime/fasttime_unix.go +++ b/pkg/util/fasttime/fasttime_unix.go @@ -2,7 +2,7 @@ // +build !windows /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/fasttime/fasttime_windows.go b/pkg/util/fasttime/fasttime_windows.go index 6c4ae4a502..e9377b3204 100644 --- a/pkg/util/fasttime/fasttime_windows.go +++ b/pkg/util/fasttime/fasttime_windows.go @@ -2,7 +2,7 @@ // +build windows /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/filterwriter/filterwriter.go b/pkg/util/filterwriter/filterwriter.go index 91352e8e61..8597192634 100644 --- a/pkg/util/filterwriter/filterwriter.go +++ b/pkg/util/filterwriter/filterwriter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/filterwriter/filterwriter_test.go b/pkg/util/filterwriter/filterwriter_test.go index e1a27f40b3..337a2cd150 100644 --- a/pkg/util/filterwriter/filterwriter_test.go +++ b/pkg/util/filterwriter/filterwriter_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/ipfilter/ipfilter.go b/pkg/util/ipfilter/ipfilter.go index 3fad5e1558..9218ace448 100644 --- a/pkg/util/ipfilter/ipfilter.go +++ b/pkg/util/ipfilter/ipfilter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,7 +24,7 @@ import ( "github.com/yl2chen/cidranger" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) var ( diff --git a/pkg/util/ipfilter/ipfilter_test.go b/pkg/util/ipfilter/ipfilter_test.go index 74282c258f..4d59b9746c 100644 --- a/pkg/util/ipfilter/ipfilter_test.go +++ b/pkg/util/ipfilter/ipfilter_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/jmxtool/agent_controller.go b/pkg/util/jmxtool/agent_controller.go index ecc98ae6c8..6ce94130ed 100644 --- a/pkg/util/jmxtool/agent_controller.go +++ b/pkg/util/jmxtool/agent_controller.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,9 +22,9 @@ import ( "fmt" "net/http" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) const ( diff --git a/pkg/util/jmxtool/agent_controller_test.go b/pkg/util/jmxtool/agent_controller_test.go index 497e4b1168..5ddbc9f6c1 100644 --- a/pkg/util/jmxtool/agent_controller_test.go +++ b/pkg/util/jmxtool/agent_controller_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,8 +25,8 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/object/meshcontroller/spec" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/object/meshcontroller/spec" ) func createHTTPServer(finished chan bool, notFoundFlag bool) error { diff --git a/pkg/util/jmxtool/common.go b/pkg/util/jmxtool/common.go index 7788c45af0..f9634f3472 100644 --- a/pkg/util/jmxtool/common.go +++ b/pkg/util/jmxtool/common.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( "strconv" "strings" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) // JSONToKVMap converts JSON string to key value pairs diff --git a/pkg/util/jmxtool/common_test.go b/pkg/util/jmxtool/common_test.go index d693e4effd..c965fee9dd 100644 --- a/pkg/util/jmxtool/common_test.go +++ b/pkg/util/jmxtool/common_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/k8s/k8s.go b/pkg/util/k8s/k8s.go index 8c7dccef8f..9a1d6ab6d5 100644 --- a/pkg/util/k8s/k8s.go +++ b/pkg/util/k8s/k8s.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/limitlistener/limitlistener.go b/pkg/util/limitlistener/limitlistener.go index 37c81f893c..4b96d539f9 100644 --- a/pkg/util/limitlistener/limitlistener.go +++ b/pkg/util/limitlistener/limitlistener.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,7 @@ import ( "net" "sync" - sem2 "github.com/megaease/easegress/v2/pkg/util/sem" + sem2 "github.com/easegress-io/easegress/v2/pkg/util/sem" ) // NewLimitListener returns a Listener that accepts at most n simultaneous diff --git a/pkg/util/objectpool/objectpool.go b/pkg/util/objectpool/objectpool.go index 719de11296..258217a4a3 100644 --- a/pkg/util/objectpool/objectpool.go +++ b/pkg/util/objectpool/objectpool.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,7 @@ import ( "fmt" "sync" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) // PoolObject is an interface that about definition of object that managed by pool diff --git a/pkg/util/objectpool/objectpool_test.go b/pkg/util/objectpool/objectpool_test.go index 876d4e5998..abf6fcdb89 100644 --- a/pkg/util/objectpool/objectpool_test.go +++ b/pkg/util/objectpool/objectpool_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( "testing" "time" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "github.com/stretchr/testify/assert" ) diff --git a/pkg/util/pathadaptor/pathadaptor.go b/pkg/util/pathadaptor/pathadaptor.go index 862be13f61..62b44661b8 100644 --- a/pkg/util/pathadaptor/pathadaptor.go +++ b/pkg/util/pathadaptor/pathadaptor.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,7 @@ import ( "regexp" "strings" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" ) type ( diff --git a/pkg/util/prometheushelper/helper.go b/pkg/util/prometheushelper/helper.go index 825aed8b07..dc844a3a59 100644 --- a/pkg/util/prometheushelper/helper.go +++ b/pkg/util/prometheushelper/helper.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,7 @@ import ( "regexp" "sync" - "github.com/megaease/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/logger" "github.com/prometheus/client_golang/prometheus" ) diff --git a/pkg/util/ratelimiter/multiratelimiter.go b/pkg/util/ratelimiter/multiratelimiter.go index 37e72fcb86..6331d73d61 100644 --- a/pkg/util/ratelimiter/multiratelimiter.go +++ b/pkg/util/ratelimiter/multiratelimiter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/ratelimiter/multiratelimiter_test.go b/pkg/util/ratelimiter/multiratelimiter_test.go index 146882613b..b45db3bd12 100644 --- a/pkg/util/ratelimiter/multiratelimiter_test.go +++ b/pkg/util/ratelimiter/multiratelimiter_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/ratelimiter/ratelimiter.go b/pkg/util/ratelimiter/ratelimiter.go index 71d7d488a6..8ca1139fb5 100644 --- a/pkg/util/ratelimiter/ratelimiter.go +++ b/pkg/util/ratelimiter/ratelimiter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/ratelimiter/ratelimiter_test.go b/pkg/util/ratelimiter/ratelimiter_test.go index 8016acb9b9..30f2eeddde 100644 --- a/pkg/util/ratelimiter/ratelimiter_test.go +++ b/pkg/util/ratelimiter/ratelimiter_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/bytecountreader.go b/pkg/util/readers/bytecountreader.go index 0cff21d258..e5effba711 100644 --- a/pkg/util/readers/bytecountreader.go +++ b/pkg/util/readers/bytecountreader.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/bytecountreader_test.go b/pkg/util/readers/bytecountreader_test.go index eed97fbab0..6120dba818 100644 --- a/pkg/util/readers/bytecountreader_test.go +++ b/pkg/util/readers/bytecountreader_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/callbackreader.go b/pkg/util/readers/callbackreader.go index c54e360a5b..b0e5fcec77 100644 --- a/pkg/util/readers/callbackreader.go +++ b/pkg/util/readers/callbackreader.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/callbackreader_test.go b/pkg/util/readers/callbackreader_test.go index 8517ee7624..337573f91c 100644 --- a/pkg/util/readers/callbackreader_test.go +++ b/pkg/util/readers/callbackreader_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/gzipcompressreader.go b/pkg/util/readers/gzipcompressreader.go index 85ccddd613..674c06c819 100644 --- a/pkg/util/readers/gzipcompressreader.go +++ b/pkg/util/readers/gzipcompressreader.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/gzipcompressreader_test.go b/pkg/util/readers/gzipcompressreader_test.go index 3ebc5ff1be..4dff5ced3a 100644 --- a/pkg/util/readers/gzipcompressreader_test.go +++ b/pkg/util/readers/gzipcompressreader_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/readerat.go b/pkg/util/readers/readerat.go index b6af28b63b..e073b8f01c 100644 --- a/pkg/util/readers/readerat.go +++ b/pkg/util/readers/readerat.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/readers/readerat_test.go b/pkg/util/readers/readerat_test.go index 495a35988e..dd79a2a1e5 100644 --- a/pkg/util/readers/readerat_test.go +++ b/pkg/util/readers/readerat_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/sampler/sampler.go b/pkg/util/sampler/sampler.go index 4b32981149..f348d39393 100644 --- a/pkg/util/sampler/sampler.go +++ b/pkg/util/sampler/sampler.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/sampler/sampler_test.go b/pkg/util/sampler/sampler_test.go index 0902e6f9ba..60e686e757 100644 --- a/pkg/util/sampler/sampler_test.go +++ b/pkg/util/sampler/sampler_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/sem/semaphore.go b/pkg/util/sem/semaphore.go index a70eca4c12..ad453d52e6 100644 --- a/pkg/util/sem/semaphore.go +++ b/pkg/util/sem/semaphore.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/sem/semaphore_test.go b/pkg/util/sem/semaphore_test.go index 862d7145a5..df183c1ad9 100644 --- a/pkg/util/sem/semaphore_test.go +++ b/pkg/util/sem/semaphore_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/signer/signer.go b/pkg/util/signer/signer.go index 3ab30670de..032981f5a2 100644 --- a/pkg/util/signer/signer.go +++ b/pkg/util/signer/signer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/signer/signer_test.go b/pkg/util/signer/signer_test.go index 1c38c348fc..e2fe27418a 100644 --- a/pkg/util/signer/signer_test.go +++ b/pkg/util/signer/signer_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/signer/spec.go b/pkg/util/signer/spec.go index 6399230ecb..037be970a4 100644 --- a/pkg/util/signer/spec.go +++ b/pkg/util/signer/spec.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/stringtool/stringtool.go b/pkg/util/stringtool/stringtool.go index 6fddb6943a..322a2c8527 100644 --- a/pkg/util/stringtool/stringtool.go +++ b/pkg/util/stringtool/stringtool.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/stringtool/stringtool_test.go b/pkg/util/stringtool/stringtool_test.go index ea117c65b8..93176d2be5 100644 --- a/pkg/util/stringtool/stringtool_test.go +++ b/pkg/util/stringtool/stringtool_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/timetool/distributedtimer.go b/pkg/util/timetool/distributedtimer.go index f77d5e0b99..c9a470b361 100644 --- a/pkg/util/timetool/distributedtimer.go +++ b/pkg/util/timetool/distributedtimer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/timetool/distributedtimer_test.go b/pkg/util/timetool/distributedtimer_test.go index a178ac72c2..7bad748e61 100644 --- a/pkg/util/timetool/distributedtimer_test.go +++ b/pkg/util/timetool/distributedtimer_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/urlclusteranalyzer/urlclusteranalyzer.go b/pkg/util/urlclusteranalyzer/urlclusteranalyzer.go index f0a5ccf7bb..b49f3e0cc0 100644 --- a/pkg/util/urlclusteranalyzer/urlclusteranalyzer.go +++ b/pkg/util/urlclusteranalyzer/urlclusteranalyzer.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/urlclusteranalyzer/urlclusteranalyzer_test.go b/pkg/util/urlclusteranalyzer/urlclusteranalyzer_test.go index ad1e1e27e1..a63d1d7dd5 100644 --- a/pkg/util/urlclusteranalyzer/urlclusteranalyzer_test.go +++ b/pkg/util/urlclusteranalyzer/urlclusteranalyzer_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/util/urlrule/urlrule.go b/pkg/util/urlrule/urlrule.go index 5417d386c5..5098855850 100644 --- a/pkg/util/urlrule/urlrule.go +++ b/pkg/util/urlrule/urlrule.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ package urlrule import ( "net/http" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) type ( diff --git a/pkg/util/urlrule/urlrule_test.go b/pkg/util/urlrule/urlrule_test.go index 00b2bb1178..e0c45a7303 100644 --- a/pkg/util/urlrule/urlrule_test.go +++ b/pkg/util/urlrule/urlrule_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ import ( "net/http" "testing" - "github.com/megaease/easegress/v2/pkg/util/stringtool" + "github.com/easegress-io/easegress/v2/pkg/util/stringtool" ) func TestURLRULEMatch(t *testing.T) { diff --git a/pkg/v/format.go b/pkg/v/format.go index f068f88014..c907486e7d 100644 --- a/pkg/v/format.go +++ b/pkg/v/format.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/v/format_test.go b/pkg/v/format_test.go index 3f6d13e74e..f0fda410f9 100644 --- a/pkg/v/format_test.go +++ b/pkg/v/format_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/v/v.go b/pkg/v/v.go index f340cc6ae2..b0c1623025 100644 --- a/pkg/v/v.go +++ b/pkg/v/v.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,7 +26,7 @@ import ( genjs "github.com/invopop/jsonschema" loadjs "github.com/santhosh-tekuri/jsonschema/v5" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/v/v_test.go b/pkg/v/v_test.go index 527cb2785d..77461880e9 100644 --- a/pkg/v/v_test.go +++ b/pkg/v/v_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/v/validaterecorder.go b/pkg/v/validaterecorder.go index e4da7207db..879f1b0ba3 100644 --- a/pkg/v/validaterecorder.go +++ b/pkg/v/validaterecorder.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,8 +24,8 @@ import ( "runtime/debug" "strings" - "github.com/megaease/easegress/v2/pkg/logger" - "github.com/megaease/easegress/v2/pkg/util/codectool" + "github.com/easegress-io/easegress/v2/pkg/logger" + "github.com/easegress-io/easegress/v2/pkg/util/codectool" ) type ( diff --git a/pkg/v/validaterecorder_test.go b/pkg/v/validaterecorder_test.go index 90b4746ca6..c5070f84a5 100644 --- a/pkg/v/validaterecorder_test.go +++ b/pkg/v/validaterecorder_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/pkg/version/version.go b/pkg/version/version.go index 87e4680016..ff2431e925 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, MegaEase + * Copyright (c) 2017, The Easegress Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/easegress.service b/scripts/easegress.service index 01c233f42b..8570902c7e 100644 --- a/scripts/easegress.service +++ b/scripts/easegress.service @@ -1,6 +1,6 @@ [Unit] Description=Easegress Gateway -Documentation=https://github.com/megaease/easegress/tree/main/doc +Documentation=https://github.com/easegress-io/easegress/tree/main/doc After=network.target [Service] diff --git a/scripts/install.sh b/scripts/install.sh index dd75640c84..283df33463 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -32,7 +32,7 @@ else fi # Third - download the binaries -GITHUB_URL=https://github.com/megaease/easegress +GITHUB_URL=https://github.com/easegress-io/easegress LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' ${GITHUB_URL}/releases/latest) LATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/') ARTIFACT="easegress-${LATEST_VERSION}-${OS}-${ARCH}.tar.gz"