# US 2019/0317887 A1 · Feature Toggling using a Plugin Architecture in a Remote Network Management Platform

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

- Number: US 2019/0317887 A1
- Document ID: US20190317887A1
- Status: Published application
- Kind: A1
- Application number: 15/954,212
- Filed: 2018-04-16
- Published: 2019-10-17
- Earliest claimed: 2018-04-16
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: David Joshua Wiener; Adar Margalit; Haviv Rosh
- Web page: https://patentgrep.com/patent/US20190317887A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 9/44526: {Plug-ins; Add-ons}
- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 11/368: {for test version control, e.g. updating test cases to a new software version}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A remote network management platform software application containing application programming interfaces (APIs) may be configured to facilitate the use of plugin software. A particular API may be associated with logic configured to check whether a toggle variable is active or inactive. A first unit of program code may be configured to execute when the toggle variable is inactive, and a second unit of program code may be configured to execute when the toggle variable is active. First plugin software may be implemented in a scripting language. The first plugin software, whether enabled or disabled, might not affect the toggle variable. Second plugin software may also be implemented in the scripting language. The second plugin software, when enabled, is configured to set the toggle variable as active.

## Claims

### Claim 1

A computing system comprising:
one or more server devices;
a remote network management platform software application, executable by the one or more server devices, containing application programming interfaces (APIs) configured to facilitate the use of plugin software with the remote network management platform software application, wherein a particular API is associated with logic configured to check whether a toggle variable is active or inactive, wherein a first unit of program code within the remote network management platform software application is configured to execute when the toggle variable is inactive, and wherein a second unit of program code within the remote network management platform software application is configured to execute when the toggle variable is active;
first plugin software implemented in a scripting language, wherein the first plugin software, whether enabled or disabled, does not affect the toggle variable; and
second plugin software implemented in the scripting language, wherein the second plugin software, when enabled, is configured to set the toggle variable as active.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the first unit of program code and the second unit of program code implement features of the remote network management platform software application.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein calling the particular API from the first plugin software causes the first unit of program code to be executed due to the toggle variable being inactive, and wherein calling the particular API from the second plugin software causes the second unit of program code to be executed due to the toggle variable being active.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein the remote network management platform software application is implemented in Java, and wherein the scripting language is JavaScript.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the toggle variable is defined by the second plugin software.

### Claim 6 (depends on 1)

The computing system of claim 1, further comprising:
a testing environment with access to (i) a suite of regression tests arranged to validate the first unit of program code but not the second unit of program code, and (ii) a suite of new tests and modified tests arranged to test the second unit of program code, wherein the new tests are not in the suite of regression tests, and wherein the modified tests are versions of at least some of the regression tests updated to validate at least some of the second unit of program code.

### Claim 7 (depends on 6)

The computing system of claim 6, wherein the testing environment is configured to:
execute the suite of regression tests with toggle variable inactive; and
execute the suite of new tests and modified tests with the toggle variable active.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the toggle variable being active comprises the toggle variable being defined, and wherein the toggle variable being inactive comprises the toggle variable being undefined.

### Claim 9 (depends on 1)

The computing system of claim 1, wherein the toggle variable being active comprises the toggle variable being set to a first value, and wherein the toggle variable being inactive comprises the toggle variable being set to a second value other than the first value.

### Claim 10 (depends on 1)

The computing system of claim 1, wherein the first plugin software has been released as part of the remote network management platform software application, and wherein the second plugin software is configured for development and testing as a temporary plugin to the remote network management platform software application.

### Claim 11 (depends on 10)

The computing system of claim 10, wherein the second plugin software is configured to be released as part of the remote network management platform software application after the second plugin software has passed testing as the temporary plugin.

### Claim 12 (depends on 1)

The computing system of claim 1, wherein the first plugin software and the second plugin software are two incremental aspects of a particular software feature, and wherein the first plugin software can be developed and tested independently from the second plugin software.

### Claim 13

A computer-implemented method comprising:
operating, by one or more server devices, a remote network management platform software application containing application programming interfaces (APIs) configured to facilitate the use of first plugin software and second plugin software with the remote network management platform software application, wherein the first plugin software is implemented in a scripting language, wherein the first plugin software, whether enabled or disabled, does not affect a toggle variable, wherein the second plugin software is implemented in the scripting language, and wherein the second plugin software, when enabled, is configured to set the toggle variable as active;
enabling the first plugin software, wherein the second plugin software is disabled;
receiving, from the first plugin software and by way of a particular API of the remote network management platform, a first request, wherein the particular API is associated with logic configured to check whether the toggle variable is active or inactive;
based on the toggle variable being inactive, executing a first unit of program code within the remote network management platform software application;
enabling the second plugin software;
receiving, from the second plugin software and by way of the particular API, a second request; and
based on the toggle variable being active, executing a second unit of program code within the remote network management platform software application.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein the toggle variable is defined by the second plugin software.

### Claim 15 (depends on 13)

The computer-implemented method of claim 13, further comprising:
executing a suite of regression tests with the toggle variable inactive, wherein the suite of regression tests is arranged to test the first unit of program code but not the second unit of program code; and
executing a suite of new tests and modified tests with the toggle variable active, wherein the suite of new tests and modified tests is arranged to test the second unit of program code, wherein the new tests are not in the suite of regression tests, and wherein the modified tests are versions of at least some of the regression tests updated to validate at least some of the second unit of program code.

### Claim 16 (depends on 13)

The computer-implemented method of claim 13, wherein the toggle variable being active comprises the toggle variable being defined, and wherein the toggle variable being inactive comprises the toggle variable being undefined.

### Claim 17 (depends on 13)

The computer-implemented method of claim 13, wherein the toggle variable being active comprises the toggle variable being set to a first value, and wherein the toggle variable being inactive comprises the toggle variable being set to a second value other than the first value.

### Claim 18 (depends on 13)

The computer-implemented method of claim 13, wherein the first plugin software has been released as part of the remote network management platform software application, and wherein the second plugin software is configured for development and testing as a temporary plugin to the remote network management platform software application.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, wherein the second plugin software is configured to be released as part of the remote network management platform software application after the second plugin software has passed testing as the temporary plugin.

### Claim 20

An article of manufacture including a non-transitory computer-readable medium, having stored thereon program instructions that, upon execution by a computing system, cause the computing system to perform operations comprising:
operating a remote network management platform software application containing application programming interfaces (APIs) configured to facilitate the use of first plugin software and second plugin software with the remote network management platform software application, wherein the first plugin software is implemented in a scripting language, wherein the first plugin software, whether enabled or disabled, does not affect the toggle variable, wherein the second plugin software is implemented in the scripting language, and wherein the second plugin software, when enabled, is configured to set the toggle variable as active;
receiving, by way of a particular API of the remote network management platform, a request, wherein the particular API is associated with logic configured to check whether the toggle variable is active or inactive;
executing a first unit of program code within the remote network management platform software application if the toggle variable is inactive; and
executing a second unit of program code within the remote network management platform software application if the toggle variable is active.
