×

Automatic incremental application dependency discovery through code instrumentation

  • US 9,104,794 B2
  • Filed: 07/15/2009
  • Issued: 08/11/2015
  • Est. Priority Date: 07/15/2008
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for automatically mapping application dependencies in a distributed application, comprising:

  • loading an instrumentation configuration file which identifies one or more computer programs which implement methods requiring code instrumentation in order to provide automatic mapping of application dependencies, the configuration file comprising an extraction rule defining how to access an address from an instrumented method;

    locating an intermediate language method body from which address information can be extracted from the one or more computer programs, the address information comprising an electronic address of external service providers to the one or more computer programs;

    determining an instruction from the extraction rule in the configuration file, the instruction to be inserted into the one or more computer programs for extracting the address information from the one or more computer programs;

    inserting the instruction into the one or more computer programs;

    extracting the address information from the one or more computer programs by executing the inserted instruction;

    inserting analysis code into the one or more computer programs, wherein the analysis code comprises executable computer instructions for comparing an address value extracted by the instruction with a list of address for previously discovered application dependencies;

    comparing extracted address information with a list of previously discovered dependencies to determine whether a dependency already exists; and

    using the extracted address information to build an application dependency map.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×