Skip to content

Commit

Permalink
Merge branch 'main' of github.com:redhat-appstudio/application-servic…
Browse files Browse the repository at this point in the history
…e into deprecatehas

Signed-off-by: John Collier <jcollier@redhat.com>
  • Loading branch information
johnmcollier committed Jun 6, 2024
2 parents 70f0043 + bda93f1 commit 9d95f53
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ENVIRONMENT ?= ""
ENABLE_WEBHOOKS ?= true
ENABLE_WEBHOOK_HTTP2 ?=false

APPLICATION_API_CRD = https://raw.githubusercontent.com/redhat-appstudio/application-api/main/manifests/application-api-customresourcedefinitions.yaml
APPLICATION_API_CRD = https://raw.githubusercontent.com/konflux-ci/application-api/main/manifests/application-api-customresourcedefinitions.yaml

# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.22
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

A Kubernetes operator to create, manage and control the lifecycle of applications and components.

This repository is closely associated with the [application-api](https://github.com/redhat-appstudio/application-api/) repository, which contains the Kubernetes CRD definitions for the application-service specific resources - `Application`, `Component` and `ComponentDetectionQuery`.
This repository is closely associated with the [application-api](https://github.com/konflux-ci/application-api/) repository, which contains the Kubernetes CRD definitions for the application-service specific resources - `Application`, `Component` and `ComponentDetectionQuery`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion config/samples/snapshot/snapshot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# API type definition is in https://github.com/redhat-appstudio/application-api/tree/main/api/v1alpha1
# API type definition is in https://github.com/konflux-ci/application-api/tree/main/api/v1alpha1
apiVersion: appstudio.redhat.com/v1alpha1
kind: Snapshot
metadata:
Expand Down
2 changes: 1 addition & 1 deletion docs/serviceability.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For more information, on how to debug on RHTAP Staging or how to set up a debugg
## FAQs
Q. Where can I view the application-service API types?

A. The application-service API types and their corresponding webhooks are defined in the [redhat-appstudio/application-api](https://github.com/redhat-appstudio/application-api) repository. You can also find the API reference information in the [Book of AppStudio](https://redhat-appstudio.github.io/architecture/ref/index.html) website.
A. The application-service API types and their corresponding webhooks are defined in the [konflux-ci/application-api](https://github.com/konflux-ci/application-api) repository. You can also find the API reference information in the [Book of AppStudio](https://redhat-appstudio.github.io/architecture/ref/index.html) website.

Q. Where are the application-service controller logic located?

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ go 1.19

require (
github.com/go-logr/logr v1.4.1
github.com/konflux-ci/application-api v0.0.0-20240527211352-be061932d497
github.com/konflux-ci/operator-toolkit v0.0.0-20240402130556-ef6dcbeca69d
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.27.10
github.com/openshift/api v0.0.0-20220912161038-458ad9ca9ca5
github.com/redhat-appstudio/application-api v0.0.0-20231016183051-2dde965fce17
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.27.0
k8s.io/api v0.26.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnr
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/konflux-ci/application-api v0.0.0-20240527211352-be061932d497 h1:Xv063qqQY8tPNYvx4+hTtWw4DPDAVa4A1SJibvPBsS4=
github.com/konflux-ci/application-api v0.0.0-20240527211352-be061932d497/go.mod h1:948Z+a1IbfRT0RtoHzWWSN9YEucSbMJTHaMhz7dVICc=
github.com/konflux-ci/operator-toolkit v0.0.0-20240402130556-ef6dcbeca69d h1:z7j3mglNoXvIrw5Vz/Ul+izoITRaqYURPIWrFoEyHgI=
github.com/konflux-ci/operator-toolkit v0.0.0-20240402130556-ef6dcbeca69d/go.mod h1:AcChx7FjpYSIkDvQgaUKyauuF0PXm3ivB5MqZSC9Eis=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
Expand Down Expand Up @@ -178,8 +180,6 @@ github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdO
github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/redhat-appstudio/application-api v0.0.0-20231016183051-2dde965fce17 h1:j/PSJj8lrHvW/V06wJzpr7XEa4UBr5QhBmFMm4H8bvY=
github.com/redhat-appstudio/application-api v0.0.0-20231016183051-2dde965fce17/go.mod h1:E277KEEjL6rEXUHIhc0FQd6jyf3CzCQ7MOkauqF3gt4=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (

routev1 "github.com/openshift/api/route/v1"

appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"
"github.com/redhat-appstudio/application-service/webhooks"

// Enable pprof for profiling
Expand Down
2 changes: 1 addition & 1 deletion webhooks/application_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"

"github.com/go-logr/logr"
appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/validation"
ctrl "sigs.k8s.io/controller-runtime"
Expand Down
2 changes: 1 addition & 1 deletion webhooks/application_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
//+kubebuilder:scaffold:imports
Expand Down
2 changes: 1 addition & 1 deletion webhooks/application_webhook_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"context"
"testing"

appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"
"go.uber.org/zap/zapcore"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

Expand Down
2 changes: 1 addition & 1 deletion webhooks/component_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"fmt"
"net/url"

appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"
"github.com/redhat-appstudio/application-service/pkg/util"

"github.com/go-logr/logr"
Expand Down
2 changes: 1 addition & 1 deletion webhooks/component_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
Expand Down
2 changes: 1 addition & 1 deletion webhooks/component_webhook_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"testing"

appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"
"github.com/redhat-appstudio/application-service/pkg/util"
"go.uber.org/zap/zapcore"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
2 changes: 1 addition & 1 deletion webhooks/webhook_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

appstudiov1alpha1 "github.com/konflux-ci/application-api/api/v1alpha1"
toolkit "github.com/konflux-ci/operator-toolkit/webhook"
appstudiov1alpha1 "github.com/redhat-appstudio/application-api/api/v1alpha1"
admissionv1beta1 "k8s.io/api/admission/v1beta1"

//+kubebuilder:scaffold:imports
Expand Down

0 comments on commit 9d95f53

Please sign in to comment.