ricardozanini commented on code in PR #224:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/224#discussion_r1336065428


##########
bddframework/pkg/api/app/v1beta1/groupversion_info.go:
##########
@@ -0,0 +1,42 @@
+// Copyright 2020 Red Hat, Inc. and/or its affiliates
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Package v1beta1 contains API Schema definitions for the app v1beta1 API 
group
+// +kubebuilder:object:generate=true
+// +groupName=app.kiegroup.org
+package v1beta1
+
+import (
+       "k8s.io/apimachinery/pkg/runtime/schema"
+       "sigs.k8s.io/controller-runtime/pkg/scheme"
+)
+
+var (
+       // GroupVersion is group version used to register these objects
+       GroupVersion = schema.GroupVersion{Group: "app.kiegroup.org", Version: 
"v1beta1"}

Review Comment:
   These types were migrated to keep compatibility with the previous work, but 
are not used here, right? This version follows the Kogito Operator.



##########
bddframework/pkg/api/app/v1beta1/kogitoservices.go:
##########
@@ -0,0 +1,447 @@
+// Copyright 2021 Red Hat, Inc. and/or its affiliates
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package v1beta1
+
+import (
+       appsv1 "k8s.io/api/apps/v1"
+       corev1 "k8s.io/api/core/v1"
+       "k8s.io/apimachinery/pkg/api/resource"
+       metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+
+       "github.com/kiegroup/kogito-serverless-operator/bddframework/pkg/api"
+)
+
+// KogitoServiceStatus is the basic structure for any Kogito Service status.
+type KogitoServiceStatus struct {

Review Comment:
   Assuming this is a compatibility migration only, we won't use this struct at 
all.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to