# US 2021/0334088 A1 · Calculating a patch target on an application server

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

- Number: US 2021/0334088 A1
- Document ID: US20210334088A1
- Status: Published application
- Kind: A1
- Application number: 16/856,822
- Filed: 2020-04-23
- Published: 2021-10-28
- Earliest claimed: 2020-04-23
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Er Qiang Ma; Alessio Soldano
- Web page: https://patentgrep.com/patent/US20210334088A1

## CPC

- G06F 8/658: Incremental updates; Differential updates
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 8/61: Installation
- G06F 9/45504: {Abstract machines for program code execution, e.g. Java virtual machine [JVM], interpreters or emulators}
- H04L 67/025: for remote control or remote monitoring of applications
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 41/0813: characterised by the conditions triggering a change of settings
- H04L 67/306: User profiles
- H04L 69/22: Parsing or analysis of headers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method includes receiving, at an application server, a request to modify a target object, such as a resource object. The method further includes identifying, from the request, a first parameter and a second parameter and assigning the first parameter to a first variable and the second parameter to a second variable. The method then executes an operation to calculate the target object in view of the first and second variables.

## Claims

### Claim 1

A method comprising:
receiving, by an application server, a request to modify a target object;
identifying, from the request, a first parameter and a second parameter;
assigning the first parameter to a first variable and the second parameter to a second variable; and
executing, by a processing device of the application server, an operation to calculate the target object in view of the first and second variables.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
modifying the target object in view of the request, wherein the request comprises an http request to patch a JSON file, a string object, or an XML file.

### Claim 3 (depends on 1)

The method of claim 1, wherein identifying the first parameter comprises:
determining whether the request includes a patch function; and
in response to determining that the request includes the patch function, assigning the patch function to the first variable.

### Claim 4 (depends on 3)

The method of claim 3, wherein identifying the first parameter further comprises:
in response to determining that the request does not include the patch function, assigning a default patch function to the first variable.

### Claim 5 (depends on 1)

The method of claim 1, wherein identifying the second parameter comprises:
determining whether the request includes a target path for the object; and
in response to determining that the request includes the target patch, assigning the target path to the second variable.

### Claim 6 (depends on 5)

The method of claim 5, wherein identifying the second parameter further comprises:
in response to determining that the request does not include the target path, determining whether a micro-profile configuration includes the target path; and
in response to determining that the micro-profile configuration includes the target path, assigning the target path to the second variable.

### Claim 7 (depends on 6)

The method of claim 6, wherein identifying the second parameter further comprises:
in response to determining that neither the request or the micro-profile configuration includes the target path, assigning a URL of the request to the second variable.

### Claim 8 (depends on 1)

The method of claim 1, wherein the operation to calculate the object comprises a resource function selected from a resource object class in view of the first variable and the second variable.

### Claim 9

A system comprising:
a memory; and
a processing device operatively coupled to the memory, the processing device to:
receive, from a client device, a request to modify a target object;
identify, from the request, a first parameter and a second parameter;
assign the first parameter to a first variable and the second parameter to a second variable; and
execute an operation to calculate the target object in view of the first and second variables.

### Claim 10 (depends on 9)

The system of claim 9, wherein the processing device is further to:
modify the target object in view of the request, where the request comprises an http request to patch a JSON file, a string object, or an XML file.

### Claim 11 (depends on 9)

The system of claim 9, wherein to identify the first parameter, the processing device is to:
determine whether the request includes a patch function; and
in response to determining that the request includes the patch function, assign the patch function to the first variable.

### Claim 12 (depends on 11)

The system of claim 11, wherein to identify the first parameter, the processing device is further to:
in response to determining that the request does not include the patch function, assign a default patch function to the first variable.

### Claim 13 (depends on 9)

The system of claim 9, wherein to identify the second parameter, the processing device is to:
determine whether the request includes a target path for the object; and
in response to determining that the request includes the target patch, assign the target path to the second variable.

### Claim 14 (depends on 13)

The system of claim 13, wherein to identify the second parameter, the processing device is further to:
in response to determining that the request does not include the target path, determine whether a micro-profile configuration includes the target path; and
in response to determining that the micro-profile configuration includes the target path, assign the target path to the second variable.

### Claim 15 (depends on 14)

The system of claim 14, wherein to identify the second parameter, the processing device is further to:
in response to determining that neither the request or the micro-profile configuration includes the target path, assign a URL of the request to the second variable.

### Claim 16 (depends on 9)

The system of claim 9, wherein the operation to calculate the object comprises a resource function selected from a resource object class in view of the first variable and the second variable.

### Claim 17

A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
receive, from a client device, a request to modify a target object;
identify, from the request, a first parameter and a second parameter;
assign the first parameter to a first variable and the second parameter to a second variable;
execute, by the processing device, an operation to calculate the target object in view of the first and second variables; and
modify the target object in view of the request.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein to identify the first parameter, the processing device is to:
determine whether the request includes a patch function; and
in response to determining that the request includes the patch function, assign the patch function to the first variable.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein to identify the first parameter, the processing device is further to:
in response to determining that the request does not include the patch function, assign a default patch function to the first variable.

### Claim 20 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein to identify the second parameter, the processing device is to:
determine whether the request includes a target path for the object; and
in response to determining that the request includes the target patch, assign the target path to the second variable.
