Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.20 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.6-alpha.19, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.11
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Jan 30, 2024
1 parent 5d2f9b1 commit 3a72dbd
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 38 deletions.
8 changes: 4 additions & 4 deletions crds/base/robot.roboscale.io_buildmanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ spec:
applied if the scope type is `Path`.
type: string
scopeType:
description: Type of the BuildManager scope. Allowed scopes
are `Workspace` and `Path`.
description: Type of the scope. Allowed scopes are `Workspace`
and `Path`.
type: string
workspace:
description: Name of the workspace. Should be selected among
Expand Down Expand Up @@ -470,8 +470,8 @@ spec:
applied if the scope type is `Path`.
type: string
scopeType:
description: Type of the BuildManager scope. Allowed
scopes are `Workspace` and `Path`.
description: Type of the scope. Allowed scopes are `Workspace`
and `Path`.
type: string
workspace:
description: Name of the workspace. Should be selected
Expand Down
31 changes: 20 additions & 11 deletions crds/base/robot.roboscale.io_launchmanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,6 @@ spec:
- Run
- Custom
type: string
required:
- cmd
- disableSourcingWs
- executable
- launchfile
- package
type: object
instances:
description: Cluster selector. If the current instance name
Expand All @@ -252,12 +246,27 @@ spec:
be defined relative, not absolute. (eg. `cmd_vel` instead
of /cmd_vel``)
type: boolean
workspace:
description: Name of the workspace. Should be selected among
the existing workspaces in WorkspaceManager's manifests.
type: string
scope:
description: Selects the scope for launch.
properties:
path:
description: Absolute path of the directory. It's being
applied if the scope type is `Path`.
type: string
scopeType:
description: Type of the scope. Allowed scopes are `Workspace`
and `Path`.
type: string
workspace:
description: Name of the workspace. Should be selected among
the existing workspaces in WorkspaceManager's manifests.
It's being applied if the scope type is `Workspace`.
type: string
required:
- scopeType
type: object
required:
- workspace
- scope
type: object
description: Launch descriptions. Every object defined here generates
a launching command in the specified workspace.
Expand Down
4 changes: 2 additions & 2 deletions crds/base/robot.roboscale.io_robots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,8 @@ spec:
It's being applied if the scope type is `Path`.
type: string
scopeType:
description: Type of the BuildManager scope.
Allowed scopes are `Workspace` and `Path`.
description: Type of the scope. Allowed scopes
are `Workspace` and `Path`.
type: string
workspace:
description: Name of the workspace. Should be
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.19</version>
<version>0.1.0-alpha.20</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 @@ -23,11 +23,11 @@ public void setPath(String path) {
}

/**
* Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.
* Type of the scope. Allowed scopes are `Workspace` and `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("scopeType")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String scopeType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ public void setPath(String path) {
}

/**
* Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.
* Type of the scope. Allowed scopes are `Workspace` and `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("scopeType")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String scopeType;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.roboscale.robot.v1alpha1.launchmanagerspec;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"container","entrypoint","instances","namespacing","workspace"})
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"container","entrypoint","instances","namespacing","scope"})
@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 Launches implements io.fabric8.kubernetes.api.model.KubernetesResource {
Expand Down Expand Up @@ -71,20 +71,20 @@ public void setNamespacing(Boolean namespacing) {
}

/**
* Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests.
* Selects the scope for launch.
*/
@com.fasterxml.jackson.annotation.JsonProperty("workspace")
@com.fasterxml.jackson.annotation.JsonProperty("scope")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Selects the scope for launch.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String workspace;
private io.roboscale.robot.v1alpha1.launchmanagerspec.launches.Scope scope;

public String getWorkspace() {
return workspace;
public io.roboscale.robot.v1alpha1.launchmanagerspec.launches.Scope getScope() {
return scope;
}

public void setWorkspace(String workspace) {
this.workspace = workspace;
public void setScope(io.roboscale.robot.v1alpha1.launchmanagerspec.launches.Scope scope) {
this.scope = scope;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public class Entrypoint implements io.fabric8.kubernetes.api.model.KubernetesRes
* Custom command to launch packages or start nodes. Required if the launch type is `Custom`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("cmd")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom command to launch packages or start nodes. Required if the launch type is `Custom`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String cmd;
Expand All @@ -27,7 +26,6 @@ public void setCmd(String cmd) {
* If `true`, workspaces are not sourced by default. Used if the launch type is `Custom`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("disableSourcingWs")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("If `true`, workspaces are not sourced by default. Used if the launch type is `Custom`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private Boolean disableSourcingWs;
Expand All @@ -44,7 +42,6 @@ public void setDisableSourcingWs(Boolean disableSourcingWs) {
* Executable file name. (eg. `webcam_pub.py`) Required and used if the launch type is `Run`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("executable")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Executable file name. (eg. `webcam_pub.py`) Required and used if the launch type is `Run`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String executable;
Expand All @@ -61,7 +58,6 @@ public void setExecutable(String executable) {
* Launchfile. (eg. `nav_launch.py`) Required and used if the launch type is `Launch`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("launchfile")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Launchfile. (eg. `nav_launch.py`) Required and used if the launch type is `Launch`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String launchfile;
Expand All @@ -78,7 +74,6 @@ public void setLaunchfile(String launchfile) {
* Package name. (eg. `robolaunch_cloudy_navigation`)
*/
@com.fasterxml.jackson.annotation.JsonProperty("package")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Package name. (eg. `robolaunch_cloudy_navigation`)")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String _package;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
package io.roboscale.robot.v1alpha1.launchmanagerspec.launches;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","scopeType","workspace"})
@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 Scope implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* Absolute path of the directory. It's being applied if the scope type is `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("path")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Absolute path of the directory. It's being applied if the scope type is `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String path;

public String getPath() {
return path;
}

public void setPath(String path) {
this.path = path;
}

/**
* Type of the scope. Allowed scopes are `Workspace` and `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("scopeType")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String scopeType;

public String getScopeType() {
return scopeType;
}

public void setScopeType(String scopeType) {
this.scopeType = scopeType;
}

/**
* Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests. It's being applied if the scope type is `Workspace`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("workspace")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the workspace. Should be selected among the existing workspaces in WorkspaceManager's manifests. It's being applied if the scope type is `Workspace`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String workspace;

public String getWorkspace() {
return workspace;
}

public void setWorkspace(String workspace) {
this.workspace = workspace;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ public void setPath(String path) {
}

/**
* Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.
* Type of the scope. Allowed scopes are `Workspace` and `Path`.
*/
@com.fasterxml.jackson.annotation.JsonProperty("scopeType")
@io.fabric8.generator.annotation.Required()
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the BuildManager scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of the scope. Allowed scopes are `Workspace` and `Path`.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String scopeType;

Expand Down

0 comments on commit 3a72dbd

Please sign in to comment.