# US 10,372,583 B2 · Enhanced policy editor with completion support and on demand validation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,372,583 B2
- Document ID: US10372583B2
- Status: Granted
- Kind: B2
- Application number: 15/974,725
- Filed: 2018-05-09
- Published: 2018-09-13
- Granted: 2019-08-06
- Earliest claimed: 2016-01-22
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthew J. Clarke; Doina L. Klinger
- Web page: https://patentgrep.com/patent/US10372583B2

## CPC

- G06F 11/3604: Analysis of software for verifying properties of programs (testing of software G06F11/3668)
- G06F 8/315: {Object-oriented languages}
- G06F 8/33: Intelligent editors
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In an approach to providing completion support and on demand validation in a web tool that operates on live resources, one or more computer processors create one or more lists of content, where the one or more lists of content include one or more references to one or more runtime objects. The one or more computer processors parse the one or more lists of content. The one or more computer processors populate one or more lists of one or more choices with the parsed one or more lists of content. The one or more computer processors create one or more callbacks for one or more runtime objects referenced by the one or more lists of one or more choices.

## Claims

### Claim 1

A method for providing completion support and on demand validation in a web tool that operates on live resources, the method comprising:
creating, by one or more computer processors, one or more lists of content, wherein the one or more lists of content include one or more references to one or more runtime objects, and wherein the creating of the one or more lists of content occurs prior to runtime;
parsing, by the one or more computer processors, the one or more lists of content;
populating, by the one or more computer processors, one or more lists of one or more choices with the parsed one or more lists of content;
creating, by the one or more computer processors, one or more callbacks for one or more runtime objects referenced by the one or more lists of one or more choices;
building, by the one or more computer processors, a dependency tree that includes at least one of the one or more runtime objects referenced by the one or more lists of content;
receiving, by the one or more computer processors, a notification of a change to one or more of the referenced one or more runtime objects;
issuing, by the one or more computer processors, one or more representational state transfer (REST) application programming interface (API) calls to determine details of the change to one or more of the referenced one or more runtime objects;
running, by the one or more computer processors, a validation against the one or more changed referenced one or more runtime objects;
determining, by the one or more computer processors, whether one or more of the one or more changed referenced one or more runtime objects is invalid;
responsive to determining one or more of the one or more changed referenced one or more runtime objects is invalid, marking, by the one or more computer processors, the invalid changed referenced one or more runtime objects; and
outputting, by the one or more computer processors, results of the validation, wherein the results include one or more suggestions for replacing the invalid changed referenced one or more runtime objects.

### Claim 2 (depends on 1)

The method of claim 1, further comprising displaying, by the one or more computer processors, the one or more lists of one or more choices.

### Claim 3 (depends on 1)

The method of claim 1, wherein receiving a notification of a change to one or more of the referenced one or more runtime objects results from creation of the one or more callbacks.

### Claim 4 (depends on 1)

The method of claim 1, further comprising applying, by the one or more computer processors, one or more types of one or more filters to the one or more lists of content, wherein one or more types of one or more filters includes at least one of a type filter and a predicate filter.

### Claim 5 (depends on 1)

The method of claim 1, wherein content in the one or more lists of content includes one or more elements of a uniform resource identifier.

### Claim 6 (depends on 1)

The method of claim 1, wherein parsing the one or more lists of content further comprises determining, by the one or more computer processors, a name of at least one of the one or more runtime objects.

### Claim 7 (depends on 1)

The method of claim 1, wherein populating the one or more lists of one or more choices with the parsed one or more lists of content further comprises:
requesting, by the one or more computer processors, a full hierarchy of the one or more choices using a depth parameter; and
filtering, by the one or more computer processors, the hierarchy.

### Claim 8

A computer program product for providing completion support and on demand validation in a web tool that operates on live resources, the computer program product comprising:
one or more computer readable storage device and program instructions stored on the one or more computer readable storage device, the stored program instructions comprising:
program instructions to create one or more lists of content, wherein the one or more lists of content include one or more references to one or more runtime objects, and wherein the creating of the one or more lists of content occurs prior to runtime;
program instructions to parse the one or more lists of content;
program instructions to populate one or more lists of one or more choices with the parsed one or more lists of content;
program instructions to create one or more callbacks for one or more runtime objects referenced by the one or more lists of one or more choices;
program instructions to build a dependency tree that includes at least one of the one or more runtime objects referenced by the one or more lists of content;
program instructions to receive a notification of a change to one or more of the referenced one or more runtime objects;
program instructions to issue one or more representational state transfer (REST) application programming interface (API) calls to determine details of the change to one or more of the referenced one or more runtime objects;
program instructions to run a validation against the one or more changed referenced one or more runtime objects;
program instructions to determine whether one or more of the one or more changed referenced one or more runtime objects is invalid;
responsive to determining one or more of the one or more changed referenced one or more runtime objects is invalid, program instructions to mark the invalid changed referenced one or more runtime objects; and
program instructions to output results of the validation, wherein the results include one or more suggestions for replacing the invalid changed referenced one or more runtime objects.

### Claim 9 (depends on 8)

The computer program product of claim 8, the stored program instructions further comprising program instructions to display the one or more lists of one or more choices.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the program instructions to receive a notification of a change to one or more of the referenced one or more runtime objects results from creation of the one or more callbacks.

### Claim 11 (depends on 8)

The computer program product of claim 8, the stored program instructions further comprising program instructions to apply one or more types of one or more filters to the one or more lists of content, wherein one or more types of one or more filters includes at least one of a type filter and a predicate filter.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein content in the one or more lists of content includes one or more elements of a uniform resource identifier.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the program instructions to parse the one or more lists of content comprise program instructions to determine a name of at least one of the one or more runtime objects.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the program instructions to populate the one or more lists of one or more choices with the parsed one or more lists of content comprise:
program instructions to request a full hierarchy of the one or more choices using a depth parameter; and
program instructions to filter the hierarchy.

### Claim 15

A computer system for providing completion support and on demand validation in a web tool that operates on live resources, the computer system comprising:
one or more computer processors;
one or more computer readable storage device;
program instructions stored on the one or more computer readable storage device for execution by at least one of the one or more computer processors, the stored program instructions comprising:
program instructions to create one or more lists of content, wherein the one or more lists of content include one or more references to one or more runtime objects, and wherein the creating of the one or more lists of content occurs prior to runtime;
program instructions to parse the one or more lists of content;
program instructions to populate one or more lists of one or more choices with the parsed one or more lists of content;
program instructions to create one or more callbacks for one or more runtime objects referenced by the one or more lists of one or more choices;
program instructions to build a dependency tree that includes at least one of the one or more runtime objects referenced by the one or more lists of content;
program instructions to receive a notification of a change to one or more of the referenced one or more runtime objects;
program instructions to issue one or more representational state transfer (REST) application programming interface (API) calls to determine details of the change to one or more of the referenced one or more runtime objects;
program instructions to run a validation against the one or more changed referenced one or more runtime objects;
program instructions to determine whether one or more of the one or more changed referenced one or more runtime objects is invalid;
responsive to determining one or more of the one or more changed referenced one or more runtime objects is invalid, program instructions to mark the invalid changed referenced one or more runtime objects; and
program instructions to output results of the validation, wherein the results include one or more suggestions for replacing the invalid changed referenced one or more runtime objects.

### Claim 16 (depends on 15)

The computer system of claim 15, the stored program instructions further comprising program instructions to display the one or more lists of one or more choices.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the program instructions to receive a notification of a change to one or more of the referenced one or more runtime objects results from creation of the one or more callbacks.

### Claim 18 (depends on 15)

The computer system of claim 15, the stored program instructions further comprising program instructions to apply one or more types of one or more filters to the one or more lists of content, wherein one or more types of one or more filters includes at least one of a type filter and a predicate filter.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein content in the one or more lists of content includes one or more elements of a uniform resource identifier.

### Claim 20 (depends on 15)

The computer system of claim 15, wherein the program instructions to parse the one or more lists of content comprise program instructions to determine a name of at least one of the one or more runtime objects.
