# US 2019/0377716 A1 · Container repository optimization

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

- Number: US 2019/0377716 A1
- Document ID: US20190377716A1
- Status: Published application
- Kind: A1
- Application number: 16/551,105
- Filed: 2019-08-26
- Published: 2019-12-12
- Earliest claimed: 2016-09-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Pavan P. Nagaraja; Rajat R. Verma
- Web page: https://patentgrep.com/patent/US20190377716A1

## CPC

- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/113: {Details of archiving (lifecycle management in storage systems G06F3/0649; point-in-time backing up or restoration of persistent data G06F11/1446)}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An application component contained in a template is identified. The repository is scanned to determine whether the application component identified from the template is preexisting in the repository. In response to a determination that the identified application component is preexisting, the identified application component is removed before the template is saved in the repository and in response to a determination that the identified application component is not preexisting, the identified application component is posted in the repository.

## Claims

### Claim 1

A computer-implemented method comprising:
identifying an application component contained in a template;
scanning a repository to determine whether the application component identified from the template is preexisting in the repository;
in response to a determination that the identified application component is preexisting, removing the identified application component before the template is saved in the repository;
in response to a determination that the identified application component is not preexisting, posting the identified application component in the repository;
receiving an input for servicing a new container application;
breaking the input into one or more application components, the one or more application components further segregating as a base component and one or more auxiliary components;
extracting the corresponding preexisting versions of the segregated application components from the base section and the auxiliary section, respectively of the repository; and
gluing the extracted versions of the application components respectively, from the repository on a scratch pad.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein identifying the application component further includes segregating the application component into a base component and one or more auxiliary components based on a config file of the application component.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein scanning the repository further comprising: comparing the base component of the application component with a corresponding base component and comparing the one or more auxiliary components of the application component with the corresponding one or more auxiliary components, respectively, saved in the repository.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein in response to a determination that the identified application component is not preexisting, posting the identified application component in the repository, comprising:
determining whether the application component version is same as that of a corresponding existing version saved in the repository, and based on a determination that the application component and corresponding existing versions are different, pulling the identified not preexisting version of the base component and the one or more auxiliary components, respectively, of the application component, into a corresponding base section and an auxiliary section, created in the repository.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising: receiving an input for servicing a new container application; and in response to receiving the input, building one or more application components by utilizing existing versions of one or more of the application components from the base section and the auxiliary section of the repository.

### Claim 6

(canceled)

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein in response to a determination that there are one or more of the base component and the one or more auxiliary components versions not found in the repository, fetching the identified non-existing versions from a library;
combining the non-existing versions fetched from the library with the base and the auxiliary components versions of the application components extracted from the repository, respectively, on the scratch pad, for servicing the new container application; and
updating the base section and the auxiliary section, respectively, of the repository, with the corresponding non-existing versions as fetched from the library.

### Claim 8

A computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processor to cause the processor to perform a method comprising:
identifying an application component contained in a template;
scanning a repository to determine whether the application component identified from the template is preexisting in the repository;
in response to a determination that the identified application component is preexisting, removing the identified application component before the template is saved in the repository;
in response to a determination that the identified application component is not preexisting, posting the identified application component in the repository;
receiving an input for servicing a new container application;
breaking the input into one or more application components, the one or more application components further segregating as a base component and one or more auxiliary components;
extracting the corresponding preexisting versions of the segregated application components from the base section and the auxiliary section, respectively of the repository; and
gluing the extracted versions of the application components respectively, from the repository on a scratch pad.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein identifying the application component further includes segregating the application component into a base component and one or more auxiliary components based on a config file of the application component.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein scanning the repository further comprising: comparing the base component of the application component with a corresponding base component and comparing the one or more auxiliary components of the application component with the corresponding one or more auxiliary component, respectively, saved in the repository.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein in response to a determination that the identified application component is not preexisting, posting the identified application component in the repository, comprising:
determining whether the application components version is same as that of a corresponding existing version saved in the repository, and based on a determination that the two versions are different, pulling the identified not preexisting version of the base component and the one or more auxiliary component, respectively, of the application component, into a corresponding base section and an auxiliary section, created in the repository.

### Claim 12 (depends on 11)

The computer program product of claim 11, further comprising: receiving an input for servicing a new container application; and in response to receiving the input, building application components by utilizing existing versions of one or more of the application components from the base section and the auxiliary section of the repository.

### Claim 13

(canceled)

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein in response to a determination that there are one or more of the base component and the one or more auxiliary components versions not found in the repository, fetching the identified non-existing versions from a library;
combining the non-existing versions fetched from the library with the base and the one or more auxiliary components versions of the application components extracted from the repository, respectively, on the scratch pad, for servicing the new container application; and
updating the base section and the auxiliary section, respectively, of the repository, with the corresponding non-existing versions as fetched from the library.

### Claim 15

A computer system:
one or more computer processors;
one or more computer readable storage media;
program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions causing the at least one processor to perform a method comprising:
identifying an application component contained in a template;
scanning a repository to determine whether the application component identified from the template is preexisting in the repository;
in response to a determination that the identified application component is preexisting, removing the identified application component before the template is saved in the repository;
in response to a determination that the identified application component is not preexisting, posting the identified application component in the repository;
receiving an input for servicing a new container application;
breaking the input into one or more application components, the one or more application components further segregating as a base component and one or more auxiliary components;
extracting the corresponding preexisting versions of the segregated application components from the base section and the auxiliary section, respectively of the repository; and
gluing the extracted versions of the application components respectively, from the repository on a scratch pad.

### Claim 16 (depends on 8, 15)

The computer system of claim 15, The computer program product of claim 8, wherein identifying the application component further includes segregating the application component into a base component and one or more auxiliary components based on a config file of the application component.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein scanning the repository further comprising: comparing the base component of the application component with a corresponding base component and comparing the one or more auxiliary components of the application component with the corresponding one or more auxiliary components, respectively, saved in the repository.

### Claim 18 (depends on 16)

The computer system of claim 16, wherein in response to a determination that the identified application component is not preexisting, posting the identified application component in the repository, comprising:
determining whether the application components version is same as that of a corresponding existing version saved in the repository, and based on a determination that the two versions are different, pulling the identified not preexisting version of the base component and the one or more auxiliary components, respectively, of the application component, into a corresponding base section and an auxiliary section, created in the repository.

### Claim 19 (depends on 15)

The computer system of claim 15, further comprising: receiving an input for servicing a new container application; and in response to receiving the input, building application components by utilizing existing versions of one or more of the application components from the base section and the auxiliary section of the repository.

### Claim 20

(canceled)

### Claim 21 (depends on 20)

The computer system of claim 20, wherein in response to a determination that there are one or more of the base component and the one or more auxiliary components versions not found in the repository, fetching the identified non-existing versions from a library;
combining the non-existing versions fetched from the library with the base and the one or more auxiliary components versions of the application components extracted from the repository, respectively, on the scratch pad, for servicing the new container application; and
updating the base section and the auxiliary section, respectively, of the repository, with the corresponding non-existing versions as fetched from the library.
