File tree Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,14 @@ type SonataFlowSpec struct {
120
120
// SonataFlowStatus defines the observed state of SonataFlow
121
121
type SonataFlowStatus struct {
122
122
api.Status `json:",inline"`
123
+ // Address is used as a part of Addressable interface (status.address.url) for knative
123
124
// +optional
124
125
Address duckv1.Addressable `json:"address,omitempty"`
125
126
// keeps track of how many failure recovers a given workflow had so far
126
127
RecoverFailureAttempts int `json:"recoverFailureAttempts,omitempty"`
127
128
LastTimeRecoverAttempt metav1.Time `json:"lastTimeRecoverAttempt,omitempty"`
128
- Endpoint * apis.URL `json:"endpoint,omitempty"`
129
+ // Endpoint is an externally accessible URL of the workflow
130
+ Endpoint * apis.URL `json:"endpoint,omitempty"`
129
131
}
130
132
131
133
func (s * SonataFlowStatus ) GetTopLevelConditionType () api.ConditionType {
Original file line number Diff line number Diff line change @@ -2150,11 +2150,8 @@ spec:
2150
2150
description : SonataFlowStatus defines the observed state of SonataFlow
2151
2151
properties :
2152
2152
address :
2153
- description : " Addressable provides a generic mechanism for a custom
2154
- resource definition to indicate a destination for message delivery.
2155
- \n Addressable is the schema for the destination information. This
2156
- is typically stored in the object's `status`, as this information
2157
- may be generated by the controller."
2153
+ description : Address is used as a part of Addressable interface (status.address.url)
2154
+ for knative
2158
2155
properties :
2159
2156
CACerts :
2160
2157
description : CACerts is the Certification Authority (CA) certificates
@@ -2196,6 +2193,7 @@ spec:
2196
2193
type : object
2197
2194
type : array
2198
2195
endpoint :
2196
+ description : Endpoint is an externally accessible URL of the workflow
2199
2197
type : string
2200
2198
lastTimeRecoverAttempt :
2201
2199
format : date-time
Original file line number Diff line number Diff line change @@ -2151,11 +2151,8 @@ spec:
2151
2151
description : SonataFlowStatus defines the observed state of SonataFlow
2152
2152
properties :
2153
2153
address :
2154
- description : " Addressable provides a generic mechanism for a custom
2155
- resource definition to indicate a destination for message delivery.
2156
- \n Addressable is the schema for the destination information. This
2157
- is typically stored in the object's `status`, as this information
2158
- may be generated by the controller."
2154
+ description : Address is used as a part of Addressable interface (status.address.url)
2155
+ for knative
2159
2156
properties :
2160
2157
CACerts :
2161
2158
description : CACerts is the Certification Authority (CA) certificates
@@ -2197,6 +2194,7 @@ spec:
2197
2194
type : object
2198
2195
type : array
2199
2196
endpoint :
2197
+ description : Endpoint is an externally accessible URL of the workflow
2200
2198
type : string
2201
2199
lastTimeRecoverAttempt :
2202
2200
format : date-time
Original file line number Diff line number Diff line change @@ -2581,11 +2581,8 @@ spec:
2581
2581
description : SonataFlowStatus defines the observed state of SonataFlow
2582
2582
properties :
2583
2583
address :
2584
- description : " Addressable provides a generic mechanism for a custom
2585
- resource definition to indicate a destination for message delivery.
2586
- \n Addressable is the schema for the destination information. This
2587
- is typically stored in the object's `status`, as this information
2588
- may be generated by the controller."
2584
+ description : Address is used as a part of Addressable interface (status.address.url)
2585
+ for knative
2589
2586
properties :
2590
2587
CACerts :
2591
2588
description : CACerts is the Certification Authority (CA) certificates
@@ -2627,6 +2624,7 @@ spec:
2627
2624
type : object
2628
2625
type : array
2629
2626
endpoint :
2627
+ description : Endpoint is an externally accessible URL of the workflow
2630
2628
type : string
2631
2629
lastTimeRecoverAttempt :
2632
2630
format : date-time
You can’t perform that action at this time.
0 commit comments