3 – Configuration > 3.3 Configuration references > Fields: DataviewConfig.groovy validation

Fields: DataviewConfig.groovy validation

Path: Administration > Configuration > DataviewConfig.groovy validation link

Image 3-3: DataviewConfig.groovy validation

Click to enlarge

The DataviewConfig.groovy validation page displays validation results for each section of the DataviewConfig.groovy file. Each of the sections corresponds to a particular page in Viewpoint.

The following configurations are validated:

Configuration Description
dataview.job Portion of the DataviewConfig.groovy file that contains the JSON configuration for the Job Management page (see About job management).
dataview.nodes Portion of the DataviewConfig.groovy file that contains the JSON configuration for the Node Management page (see About node management).
dataview.principals Portion of the DataviewConfig.groovy file that contains the JSON configuration for the Principal Management page (see About principal management).
dataview.viewReservations Portion of the DataviewConfig.groovy file that contains the JSON configuration for the Reservation Management page (see About reservation management).

File validation

Displays whether or not the JSON configuration for a particular page passed or failed.

The validation check that Viewpoint runs on these files only checks that the JSON syntax is correct. It does not validate that your customizations will actually work.

If a JSON configuration failed validation, its corresponding page will still load, but without the configurations you attempted to make.

When you click a file heading (for example, dataview.events), the page expands to display the JSON objects contained in the configuration file. For example:

You cannot edit the JSON for configuration files from this interface. The DataviewConfig.groovy validation page only displays the JSON that is contained in the actual individual sections of the DataviewConfig.groovy file.

Related topics 

© 2014 Adaptive Computing