Service oriented architecture service dependency determination
AssigneeInternational Business Machines Corporation
InventorsJames E. Bostick, John M. Ganci, Jr., Raghuraman Kalyanaraman, Craig M. Trim
Life of this patent
Estimating the term…
Abstract
Service dependency is determined for services in a service oriented architecture (SOA) environment. The steps in determining service dependency include: recording a first triple describing a first service call where the first service calls the second service, and determining the first service is dependent upon the second service based, at least in part, upon the first triple. The recording action is performed dynamically, the recording occurring when the first service call is made. Other related steps include recording the first triple to a timestamp indicating when the first service call is made.
Claims11
A method for determining a set of service dependencies for a specified period of time in a service oriented architecture (SOA) environment, the method comprising the steps of:
- monitoring an enterprise service bus (ESB) for service calls within the SOA environment;
- responsive to detecting a first service call made through the ESB, receiving, at runtime, a first set of service call information for the first service call;
- recording, at runtime, a first triple to a first timestamp, the first triple being based on the first set of service call information describing the first service call when a first service calls a second service, the first timestamp indicating a first time;
- responsive to detecting a second service call made through the ESB, receiving, at runtime, a second set of service call information for the second service call;
- recording, at runtime, a second triple to a second timestamp, the second triple being based on the second set of service call information describing the second service call when a third service calls a fourth service, the second timestamp indicating a second time;
- receiving a request for a service dependency report, the request including a specified period of time for which service dependencies are to be reported;
- determining a set of service dependencies for the specified period of time based, at least in part, upon the second triple;
- wherein:
- the second time is later in time than the first time;
- the specified period of time does not include the first time;
- and
- at least the recording and determining steps are performed by computer software running on computer hardware.
A computer program product for determining a set of dependencies for a specified period of time in a service oriented architecture (SOA) environment, the computer program product comprising a non-transitory machine-readable storage medium, the computer program product comprising:
- first program instructions programmed to monitor an enterprise service bus (ESB) for service calls within the SOA environment;
- second program instructions programmed to, responsive to detecting a first service call made through the ESB, receive, at runtime, a first set of service call information for the first service call;
- third program instructions programmed to record, at runtime, a first triple to a first timestamp, the first triple being based on the first set of service call information describing the first service call when a first service calls a second service, the first timestamp indicating a first time;
- fourth program instructions programmed to, responsive to detecting a second service call made through the ESB, receive, at runtime, a second set of service call information for the second service call;
- fifth program instructions programmed to record, at runtime, a second triple to a second timestamp, the second triple being based on the second set of service call information describing the second service call when a third service calls a fourth service, the second timestamp indicating a second time;
- sixth program instructions programmed to receive a request for a service dependency report, the request including a specified period of time for which service dependencies are to be reported;
- seventh program instructions programmed to determine the set of service dependencies for a specified period of time based, at least in part, upon the second triple;
- wherein:
- the second time is later in time than the first time;
- the specified period of time does not include the first time;
- and
- the software is stored on a software storage device in a manner less transitory than a signal in transit.
A computer system for determining a set of dependencies for a specified period of time in a service oriented architecture environment, the computer system comprising:
- a processor(s) set;
- and
- a software storage device;
- wherein:
- the processor set is structured, located, connected and/or programmed to run software stored on the software storage device;
- and
- the software comprises:
- first program instructions programmed to monitor an enterprise service bus (ESB) for service calls within the SOA environment;
- second program instructions programmed to, responsive to detecting a first service call made through the ESB, receive, at runtime, a first set of service call information for the first service call;
- third program instructions programmed to record, at runtime, a first triple to a first timestamp, the first triple being based on the first set of service call information describing the first service call when a first service calls a second service, the first timestamp indicating a first time;
- fourth program instructions programmed to, responsive to detecting a second service call made through the ESB, receive, at runtime, a second set of service call information for the second service call;
- fifth program instructions programmed to record, at runtime, a second triple to a second timestamp, the second triple being based on the second set of service call information describing the second service call when a third service calls a fourth service, the second timestamp indicating a second time;
- sixth program instructions programmed to receive a request for a service dependency report, the request including a specified period of time for which service dependencies are to be reported;
- seventh program instructions programmed to determine the set of service dependencies for a specified period of time based, at least in part, upon the second triple;
- wherein:
- the second time is later in time than the first time;
- and
- the specified period of time does not include the first time.
Dependencies are inferred from the claim text.