Wrapper for use with global standards compliance checkers
AssigneeOracle International Corporation
InventorJyotsna Bendapudi
Life of this patent
Estimating the term…
Abstract
Methods and apparatus for checking the compliance of a file with global and custom standards are disclosed. According to one aspect of the present invention, a method for checking a file that is associated with a first set of standards and a second set of standards into a repository includes providing the file to a checking arrangement that includes a checking tool and an adapter that is interfaced with the checking tool. The method also includes executing the checking tool to determine compliance of the file with the first set of standards, and executing the adapter to determine compliance of the file with the second set of standards.
Claims22
A method for checking a file into a repository, the file being associated with a first set of standards and a second set of standards, the method comprising:
- providing the file to a checking arrangement, the checking arrangement including a checking tool and an adapter, the adapter being implemented as a first script and interfaced with the checking tool;
- executing the adapter, the adapter being arranged to determine compliance of the file with the second set of standards;
- after the executing the adapter, calling the checking tool via the adapter's interface to the checking tool from the adapter, the checking tool being implemented as code;
- after the calling the checking tool, executing the checking tool, the checking tool being arranged to determine compliance of the file with the first set of standards and not arranged to determine compliance of the file with the second set of standards;
- while executing the checking tool, using the checking tool to determine compliance of the file with the first set of standards;
- while executing the adapter, using the adapter to determine compliance of the file with the second set of standards;
- modifying an adapter script so the adapter is arranged to determine compliance of the file with a third set of standards in addition to the second set of standards, wherein the third set of standards is different from the first and second set of standards;
- and
- without recompiling the code of the checking tool after modifying the adapter script, while executing the adapter, using the adapter to determine compliance of the file with the third set of standards.
A computer program product, stored on a computer readable storage medium, executable by a computer, for checking a file into a repository, the file being associated with a first set of standards and a second set of standards, the computer program product comprising:
- computer code that provides the file to a checking arrangement, the checking arrangement including a checking tool and a first adapter, the first adapter being interfaced with the checking tool;
- computer code that causes the checking tool to be executed, wherein executing the checking tool comprises determining compliance of the file with the first set of standards;
- computer code that causes the first adapter to be executed, wherein executing the first adapter comprises determining compliance of the file with the second set of standards;
- computer code that determines that when the file is not in compliance with the first and second set of standards, and causes a second adapter to be executed, wherein executing the second adapter comprises determining compliance of the file with the third set of standards which is different from the first and second set of standards;
- computer code that determines that when the file is in compliance with either or both the first and second set of standards, and not causing a second adapter to be executed,
- computer code that causes a first adapter script to be modified so the first adapter is arranged to determine compliance of the file with a fourth set of standards in addition to the second set of standards, wherein the fourth set of standards is different from the first and second set of standards;
- and
- computer code that causes, without recompiling code of the checking tool after the first adapter script is modified, while executing the first adapter, the first adapter to be used to determine compliance of the file with the fourth set of standards.
An adapter, the adapter comprising:
- means for receiving a first file as an input and loading into a first computer memory;
- means for interfacing with a checking tool, the checking tool having functionality to process the first file loaded in the first computer memory to determine compliance of the first file with a first set of standards and not having functionality to determine compliance of the first file with a second set of standards which is different from the first set of standards;
- means for adding the second set of standards to the adapter, wherein after the second set of standards to the adapter is added to the adapter, the adapter with the added second set of standards to the adapter is stored in a second computer memory and is arranged to process the first file loaded in the first computer memory to determine compliance of the first file with the second set of standards;
- means for, after adding the second set of standards to the adapter, determining compliance of the first file with the second set of standards;
- means for obtaining information from the checking tool regarding the compliance of the first file with the first set of standards;
- means for after storing the adapter with the added second set of standards in the second memory, the adapter can determine compliance of a second file, subsequent to the first file, without needing to add the second set of standards to the adapter again;
- means for modifying an adapter script so the adapter is arranged to determine compliance of the file with a third set of standards in addition to the second set of standards, wherein the third set of standards is different from the first and second set of standards;
- and
- means for, while executing the adapter, using the adapter to determine compliance of the file with the third set of standards, without recompiling the checking tool after the adapter script has been modified.
An adapter, the adapter comprising:
- a first interface stored in a computer memory, the first interface being arranged to receive a file as an input;
- a second interface stored in the computer memory, the second interface being arranged to interface with a checking tool, the checking tool having functionality to determine compliance of the file with a first set of standards and not having functionality to determine compliance of the file with a second set of standards, the second interface further being arranged to obtain an indication from the checking tool regarding the compliance of the file with the first set of standards;
- a compliance checker, the compliance checker being arranged to determine compliance of the file with the second set of standards and not being arranged to determine compliance of the file with the first set of standards,
- wherein the compliance checker calls the checking tool via the second interface stored in the computer memory to determine compliance of the file with the first set of standards;
- and
- an arrangement, the arrangement being arranged to be updated to determine compliance of the file with a third set of standards by augmenting a script of the adapter without modifying binary code associated with the checking tool and without recompiling the code of the checking tool after modifying the adapter script,
- wherein the third set of standards is different from the first and second set of standards.
A method for processing a first file, the first file being associated with a first set of standards and a second set of standards, the method comprising:
- receiving the file as an input;
- accessing a checking tool, wherein accessing the checking tool includes obtaining an indication of whether the file is compliant with the first set of standards;
- providing a wrapper to the checking tool, stored in fixed storage that is accessible by a computer processor, wherein the wrapper is capable of being modified to add additional sets of standards other than the first and second set of standards;
- in the computer processor, executing the checking tool to determine whether the file is compliant with the first set of standards;
- after executing the checking tool to determine whether the file is compliant with the first set of standards, using the checking tool, calling the wrapper to the checking tool to determine whether the file is compliant with the second set of standards;
- modifying the wrapper to the checking tool to include a third set of standards, different from the first and second set of standards;
- and
- after modifying the wrapper to the checking tool to include a third set of standards and without modifying the checking tool, and using the checking tool, calling the wrapper to the checking tool to determine whether the file is compliant with the third set of standards.
A method comprising:
- receiving the file as an input, wherein the first file is associated with a first set of standards and a second set of standards;
- accessing a checking tool;
- providing a wrapper to the checking tool, stored in fixed storage that is accessible by a computer processor, wherein the wrapper is capable of being modified to include additional sets of standards other than the first and second set of standards;
- determining whether the file is compliant with the first set of standards;
- determining whether the file is compliant with the second set of standards;
- modifying the wrapper to the checking tool to include a third set of standards, different from the first and second set of standards;
- and
- after modifying the wrapper to the checking tool to include a third set of standards and without modifying the checking tool, executing the wrapper to determine whether the file is compliant with the third set of standards.
A method for implementing a wrapper, the wrapper being arranged to wrap a checking tool, the checking tool being arranged to determine compliance of a file with a first set of standards and not being arranged to determine compliance of a file with a second set of standards, the method comprising:
- identifying a second set of standards associated with the file;
- providing functionality in the wrapper to determine compliance of the file with the second set of standards in the wrapper, wherein the wrapper is stored on a fixed disk accessible by a computer processor;
- interfacing the wrapper with the checking tool;
- storing the interface of the wrapper with the checking tool on the fixed disk accessible by the computer processor;
- in the computer processor, via the interface between the wrapper and checking tool, calling the checking tool from the wrapper;
- upon calling the checking tool, executing the checking tool in the computer processor to determine compliance of the file with the first set of standards but not the second set of standards;
- and
- modifying the wrapper to provide functionality in the wrapper to determine compliance of the file with a third set of standards in the wrapper and storing the modified wrapper on the fixed disk accessible by the computer processor, wherein the third set of standards is different from the first and second set of standards;
- and
- without altering the checking tool after modifying the wrapper, executing the wrapper in the computer processor to determine compliance of the file with the third set of standards.
Dependencies are inferred from the claim text.