]
Marek Kopecký commented on WFCORE-866:
--------------------------------------
Yes, description could be better. But value of "report-version" is not in the
schema (and it should be).
Schema for JBoss Product Installation Report does not contain
information about its version
-------------------------------------------------------------------------------------------
Key: WFCORE-866
URL:
https://issues.jboss.org/browse/WFCORE-866
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 2.0.0.Alpha11
Reporter: Marek Kopecký
Assignee: ehsavoie Hugonnet
*Description of problem:*
Schema for JBoss Product Installation Report (
[
EAP7-250|https://issues.jboss.org/browse/EAP7-250] ) does not contain information about
its version. Schema version is in generated report, but not in schema.
*How reproducible:*
Always
*Steps to Reproduce:*
# get fresh EAP
# ./domain.sh
# ./jboss-cli.sh -c
# :read-operation-description(name=product-info)
*Actual results:*
Schema version is not in schema:
{noformat}
{
"outcome" => "success",
"result" => {
"operation-name" => "product-info",
"description" => "Get product info report",
"request-properties" => {},
"reply-properties" => {
"type" => LIST,
"value-type" => {"summary" => {
"type" => OBJECT,
"description" => "Summary of the current server
installation.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"value-type" => {
"report-version" => {
"type" => STRING,
"description" => "Version of the summary of the
current server installation.",
"expressions-allowed" => false,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"node-name" => {
"type" => STRING,
"description" => "The name of the instance
node.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"host-name" => {
"type" => STRING,
"description" => "The name to use for this
host's host controller. Must be unique across the domain. If not set, defaults to the
runtime value of InetAddress.getLocalHost().getHostName().",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"instance-identifier" => {
"type" => STRING,
"description" => "Unique Id of the server
instance.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"product-name" => {
"type" => STRING,
"description" => "The name of the product that
is being run by this server.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"product-community-identifier" => {
"type" => STRING,
"description" => "Indicates the type of
distribution, if it is a Product or a Project.",
"expressions-allowed" => false,
"nillable" => false,
"default" => "Project",
"min-length" => 1L,
"max-length" => 2147483647L
},
"product-version" => {
"type" => STRING,
"description" => "The version of the product
release that is being run by this server.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"product-home" => {
"type" => STRING,
"description" => "Installation directory of the
current server instance.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"installation-date" => {
"type" => STRING,
"description" => "Installation date of the
current server instance.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"last-update-date" => {
"type" => STRING,
"description" => "Date of the last update of
the current product.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"host-operating-system" => {
"type" => STRING,
"description" => "The name of the Operating
System.",
"expressions-allowed" => false,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"jvm" => {
"type" => OBJECT,
"description" => "The JVM configuration for the
server.",
"expressions-allowed" => false,
"nillable" => false,
"value-type" => {
"java-version" => {
"type" => STRING,
"description" => "The Java language
version.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"jvm-version" => {
"type" => STRING,
"description" => "The complete build
version of the JVM.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"jvm-vendor" => {
"type" => STRING,
"description" => "The vendor of the
JVM.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"java-home" => {
"type" => STRING,
"description" => "Thepath to the JVM
used by the server instance.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
}
}
},
"host-cpu" => {
"type" => OBJECT,
"description" => "The description of the host
CPU.",
"expressions-allowed" => false,
"nillable" => false,
"value-type" => {
"host-cpu-arch" => {
"type" => STRING,
"description" => "The CPU architecture
of the host.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"host-core-count" => {
"type" => INT,
"description" => "The number of cores
available on the host.global.summary.java-home=The Java home.",
"expressions-allowed" => false,
"nillable" => true,
"default" => 1
}
}
}
}
}}
},
"read-only" => true,
"runtime-only" => true
}
}
{noformat}
*Expected results:*
Schema version should be in schema.