Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.30 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.7-alpha.6.4, fleet.roboscale.io v0.1.6-alpha.18 and connection-hub.roboscale.io v0.1.8-alpha.4
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Mar 21, 2024
1 parent e1905d0 commit c7eac43
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 9 deletions.
4 changes: 3 additions & 1 deletion crds/base/robot.roboscale.io_robots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ spec:
DNS.
type: string
protocol:
default: TCP
enum:
- TCP
- UDP
type: string
reference:
description: Reference to the `Server` instance. It is used
Expand Down
4 changes: 3 additions & 1 deletion crds/base/robot.roboscale.io_ros2workloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ spec:
Server's hostname. Used for getting Server's IP over DNS.
type: string
protocol:
default: TCP
enum:
- TCP
- UDP
type: string
reference:
description: Reference to the `Server` instance. It is used if
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.29</version>
<version>0.1.0-alpha.30</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,33 @@ public void setHostname(String hostname) {
this.hostname = hostname;
}

public enum Protocol {

@com.fasterxml.jackson.annotation.JsonProperty("TCP")
TCP("TCP"), @com.fasterxml.jackson.annotation.JsonProperty("UDP")
UDP("UDP");

java.lang.String value;

Protocol(java.lang.String value) {
this.value = value;
}

@com.fasterxml.jackson.annotation.JsonValue()
public java.lang.String getValue() {
return value;
}
}

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

public String getProtocol() {
public Protocol getProtocol() {
return protocol;
}

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,33 @@ public void setHostname(String hostname) {
this.hostname = hostname;
}

public enum Protocol {

@com.fasterxml.jackson.annotation.JsonProperty("TCP")
TCP("TCP"), @com.fasterxml.jackson.annotation.JsonProperty("UDP")
UDP("UDP");

java.lang.String value;

Protocol(java.lang.String value) {
this.value = value;
}

@com.fasterxml.jackson.annotation.JsonValue()
public java.lang.String getValue() {
return value;
}
}

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

public String getProtocol() {
public Protocol getProtocol() {
return protocol;
}

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

Expand Down

0 comments on commit c7eac43

Please sign in to comment.