# US 2016/0259795 A1 · Distributed version control of orchestration templates

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

- Number: US 2016/0259795 A1
- Document ID: US20160259795A1
- Status: Published application
- Kind: A1
- Application number: 14/639,148
- Filed: 2015-03-05
- Published: 2016-09-08
- Earliest claimed: 2015-03-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Szymon Brandys; Konrad Gorzelanski; Marcin Lewandowski; Michal Zarakowski
- Web page: https://patentgrep.com/patent/US20160259795A1

## CPC

- G06F 40/197: Version control (for software G06F8/71)
- G06F 16/93: Document management systems
- G06F 40/186: Templates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Distributed version control in a multi-region cloud in which each region includes an instance of a version control service. A first version control service in a first region receives an indicator to re-version a document saved in the first cloud region. For re-versioning due to creation of a new version of the document in the first cloud region, first version control service re-versions the document by saving the created new version of the document in the first cloud region. The first version control service identifies access information to a second version control service in a second cloud region and transmits the re-versioned document to the second version control service. For a re-versioning due to receiving a new version of the document from a second version control service, the first version control service re-versions the document by saving the received new version of the document in the first cloud region.

## Claims

### Claim 1

A method for distributed version control in a multi-region cloud, each region in the multi-region cloud including an instance of a version control service, the method comprising:
receiving an indicator, by a first version control service in a first cloud region of a multi-region cloud, that a document saved in the first cloud region is to be re-versioned;
based on the indicator indicating the document saved in the first cloud region is to be re-versioned due to the creation of a new version of the document in the first cloud region:
re-versioning, by the first version control service, the document saved in the first cloud region by saving the created new version of the document in the first cloud region;
identifying, by the first version control service, access information to a second version control service in a second cloud region of the multi-region cloud; and
transmitting, by the first version control service to the second version control service, the re-versioned document; and
based on the indicator indicating the document saved in the first cloud region is to be re-versioned due to receiving a new version of the document from a second version control service in a second cloud region of the multi-region cloud:
re-versioning, by the first version control service, the document saved in the first cloud region by saving the received new version of the document in the first cloud region.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
based on the indicator indicating the document saved in the first cloud region is to be re-versioned if a version of a document saved in a second cloud region is a newer version of the document saved in the first cloud region:
identifying, by the first version control service, access information to a second version control service in a second cloud region of the multi-region cloud;
obtaining, by the first version control service from the second version control service, a document saved in the second cloud region; and
based on the document obtained from the second cloud region being a newer version of the document saved in the first cloud region:
re-versioning, by the first version control service, the document saved in the first cloud region by saving the obtained document in the first cloud region.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the document is an orchestration template.

### Claim 4 (depends on 3)

The method according to claim 3, further comprising:
passing, by the first version control service, the re-versioned orchestration template to an orchestration service in the first control region, whereby the orchestration service provisions the first control region based on the passed orchestration template.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the version control service utilizes a check-in and check-out protocol to re-version the document saved in the first cloud region.

### Claim 6 (depends on 1)

The method according to claim 1, wherein transmitting, by the first version control service to the second version control service comprises invoking, by the first version control service, an application programming interface in the second version control service.

### Claim 7 (depends on 2)

The method according to claim 2, wherein obtaining, by the first version control service from the second version control service, the document saved in the second cloud region comprises invoking, by the first version control service, an application programming interface in the second version control service.

### Claim 8 (depends on 2)

The method according to claim 2, wherein receiving the indicator indicating the document saved in the first cloud region is to be re-versioned if a version of a document saved in a second cloud region is a newer version of the document saved in the first cloud region is a timed or scheduled event.

### Claim 9

A computer program product for distributed version control in a multi-region cloud, each region in the multi-region cloud including an instance of a version control service, the computer program product comprising one or more computer readable storage medium and program instructions stored on at least one of the one or more computer readable storage medium, the program instructions comprising:
program instructions to receive an indicator, by a first version control service in a first cloud region of a multi-region cloud, that a document saved in the first cloud region is to be re-versioned;
based on the indicator indicating the document saved in the first cloud region is to be re-versioned due to the creation of a new version of the document in the first cloud region:
program instructions to re-version, by the first version control service, the document saved in the first cloud region by saving the created new version of the document in the first cloud region;
program instructions to identify, by the first version control service, access information to a second version control service in a second cloud region of the multi-region cloud; and
program instructions to transmit, by the first version control service to the second version control service, the re-versioned document; and
based on the indicator indicating the document saved in the first cloud region is to be re-versioned due to receiving a new version of the document from a second version control service in a second cloud region of the multi-region cloud:
program instructions to re-version, by the first version control service, the document saved in the first cloud region by saving the received new version of the document in the first cloud region.

### Claim 10 (depends on 9)

The computer program product according to claim 9, further comprising:
based on the indicator indicating the document saved in the first cloud region is to be re-versioned if a version of a document saved in a second cloud region is a newer version of the document saved in the first cloud region:
program instructions to identify, by the first version control service, access information to a second version control service in a second cloud region of the multi-region cloud;
program instructions to obtain, by the first version control service from the second version control service, a document saved in the second cloud region; and
based on the document obtained from the second cloud region being a newer version of the document saved in the first cloud region:
program instructions to re-version, by the first version control service, the document saved in the first cloud region by saving the obtained document in the first cloud region.

### Claim 11 (depends on 9)

The computer program product according to claim 9, wherein the document is an orchestration template.

### Claim 12 (depends on 11)

The computer program product according to claim 11, further comprising:
program instructions to pass, by the first version control service, the re-versioned orchestration template to an orchestration service in the first control region, whereby the orchestration service provisions the first control region based on the passed orchestration template.

### Claim 13 (depends on 9)

The computer program product according to claim 9, wherein the version control service utilizes a check-in and check-out protocol to re-version the document saved in the first cloud region.

### Claim 14 (depends on 10)

The computer program product according to claim 10, wherein the program instruction that receive the indicator indicating the document saved in the first cloud region is to be re-versioned if a version of a document saved in a second cloud region is a newer version of the document saved in the first cloud region execute as a timed or scheduled event.

### Claim 15

A computer system for distributed version control in a multi-region cloud, each region in the multi-region cloud including an instance of a version control service, the computer system comprising one or more processors, one or more computer readable memories, one or more computer readable tangible storage medium, and program instructions stored on at least one of the one or more storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, the program instructions comprising:
program instructions to receive an indicator, by a first version control service in a first cloud region of a multi-region cloud, that a document saved in the first cloud region is to be re-versioned;
based on the indicator indicating the document saved in the first cloud region is to be re-versioned due to the creation of a new version of the document in the first cloud region:
program instructions to re-version, by the first version control service, the document saved in the first cloud region by saving the created new version of the document in the first cloud region;
program instructions to identify, by the first version control service, access information to a second version control service in a second cloud region of the multi-region cloud; and
program instructions to transmit, by the first version control service to the second version control service, the re-versioned document; and
based on the indicator indicating the document saved in the first cloud region is to be re-versioned due to receiving a new version of the document from a second version control service in a second cloud region of the multi-region cloud:
program instructions to re-version, by the first version control service, the document saved in the first cloud region by saving the received new version of the document in the first cloud region.

### Claim 16 (depends on 15)

The computer system according to claim 15, further comprising:
based on the indicator indicating the document saved in the first cloud region is to be re-versioned if a version of a document saved in a second cloud region is a newer version of the document saved in the first cloud region:
program instructions to identify, by the first version control service, access information to a second version control service in a second cloud region of the multi-region cloud;
program instructions to obtain, by the first version control service from the second version control service, a document saved in the second cloud region; and
based on the document obtained from the second cloud region being a newer version of the document saved in the first cloud region:
program instructions to re-version, by the first version control service, the document saved in the first cloud region by saving the obtained document in the first cloud region.

### Claim 17 (depends on 15)

The computer system according to claim 15, wherein the document is an orchestration template.

### Claim 18 (depends on 17)

The computer system according to claim 17, further comprising:
program instructions to pass, by the first version control service, the re-versioned orchestration template to an orchestration service in the first control region, whereby the orchestration service provisions the first control region based on the passed orchestration template.

### Claim 19 (depends on 15)

The computer system according to claim 15, wherein the version control service utilizes a check-in and check-out protocol to re-version the document saved in the first cloud region.

### Claim 20 (depends on 16)

The computer system according to claim 16, wherein the program instruction that receive the indicator indicating the document saved in the first cloud region is to be re-versioned if a version of a document saved in a second cloud region is a newer version of the document saved in the first cloud region execute as a timed or scheduled event.
