Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-866

Schema for JBoss Product Installation Report does not contain information about its version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta3
    • 2.0.0.Alpha11
    • CLI
    • None

      Description of problem:
      Schema for JBoss Product Installation Report ( 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:

      1. get fresh EAP
      2. ./domain.sh
      3. ./jboss-cli.sh -c
      4. :read-operation-description(name=product-info)

      Actual results:
      Schema version is not in schema:

      {
          "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
          }
      }
      

      Expected results:
      Schema version should be in schema.

            ehugonne1@redhat.com Emmanuel Hugonnet
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: