Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.27 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.7-alpha.6.1, fleet.roboscale.io v0.1.6-alpha.16 and connection-hub.roboscale.io v0.1.7-alpha.12
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Mar 7, 2024
1 parent 0d8f28c commit a184a08
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
3 changes: 3 additions & 0 deletions crds/base/fleet.roboscale.io_fleets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ spec:
value. If instance type is `Client`, it should be the same with
Server's hostname. Used for getting Server's IP over DNS.
type: string
protocol:
default: TCP
type: string
reference:
description: Reference to the `Server` instance. It is used if
`.spec.type` is `Client`. Referenced object can be previously
Expand Down
2 changes: 1 addition & 1 deletion crds/base/robot.roboscale.io_ros2workloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2622,7 +2622,7 @@ spec:
- created
type: object
status:
description: Status of the ROS2Bridge instance.
description: Status of the StatefulSet.
properties:
availableReplicas:
description: Total number of available pods (ready for at
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.roboscale.robot</groupId>
<artifactId>robot-fabric8-client</artifactId>
<version>0.1.0-alpha.26</version>
<version>0.1.0-alpha.27</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.roboscale.fleet.v1alpha1.fleetspec;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cluster","domainID","hostname","reference","subdomain","type"})
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cluster","domainID","hostname","protocol","reference","subdomain","type"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class DiscoveryServerTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource {
Expand Down Expand Up @@ -57,6 +57,18 @@ public void setHostname(String hostname) {
this.hostname = hostname;
}

@com.fasterxml.jackson.annotation.JsonProperty("protocol")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String protocol = "TCP";

public String getProtocol() {
return protocol;
}

public void setProtocol(String protocol) {
this.protocol = protocol;
}

/**
* Reference to the `Server` instance. It is used if `.spec.type` is `Client`. Referenced object can be previously provisioned in another cluster. In that case, cluster's name can be specified in `.spec.cluster` field.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public void setResource(io.roboscale.robot.v1alpha2.ros2workloadstatus.statefuls
}

/**
* Status of the ROS2Bridge instance.
* Status of the StatefulSet.
*/
@com.fasterxml.jackson.annotation.JsonProperty("status")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of the ROS2Bridge instance.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of the StatefulSet.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha2.ros2workloadstatus.statefulsetstatuses.Status status;

Expand Down

0 comments on commit a184a08

Please sign in to comment.