Automatic transformation of messages between service versions
AssigneeInternational Business Machines Corporation
InventorsAndrew J. Borley, Callum P. Jackson, Philip L. Norton
Life of this patent
Estimating the term…
Abstract
A method and system are provided for automatic transformation of messages between service versions. The method includes collecting message data of messages sent to two or more versions of a service. Message data is identified as relating to a version of a service. Relationships are inferred between structure and content of messages sent to different versions of a service, and message transformation rules are created based on the inferred relationships.
Claims14
A method for automatic transformation of messages between service versions, comprising:
- collecting message data of messages sent to two or more versions of a service;
- identifying message data as relating to a version of a service;
- inferring relationships between structure and content of messages sent to different versions of a service;
- creating message transformation rules based on the inferred relationships wherein creating message transformation rules creates transformation rules for transforming a message format for an earlier version of a service to a message format for a later version of the service;
- receiving a message for a version of the service using a proxy system;
- identifying if the message is for the earlier version of the service for which there is the later version of the service, using the proxy system;
- transforming the message using transformation rules for transforming the message format for the earlier version of the service to the message format for the later version of the service, using the proxy system;
- and
- forwarding the transformed message to the later version of the service, using the proxy system.
A system for automatic transformation of messages between service versions, comprising:
- a computer system including one or more computer processors, one or more computer-readable storage media, and program instructions stored on one or more of the computer-readable storage media for execution by at least one of the one or more processors;
- a message collecting component for collecting message data of messages sent to two or more versions of a service, using the computer system;
- a service identifying component for identifying message data as relating to a version of a service;
- a message data interrogating component for inferring relationships between structure and content of messages sent to different versions of the service;
- and
- a transformation rule generator for creating message transformation rules based on the inferred relationships wherein the transformation rule generator for creating message transformation rules creates transformation rules for transforming a message format for an earlier version of a service to a message format for a later version of the service;
- a proxy system including a message intercepting component for receiving a message for a version of a service;
- the proxy system including a service identifying component for identifying if the message is for the earlier version of the service for which there is the later version of the service;
- and
- the proxy system including a transformation rule applying component for transforming the message using transformation rules for transforming the message format for the earlier version of the service to the message format for the later version of the service and forwarding the transformed message to the later version of the service.
A computer program product for automatic transformation of messages between service versions, the computer program product comprising a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code executable by a computer to cause the computer to:
- collect message data of messages sent to two or more versions of a service;
- identify message data as relating to a version of a service;
- infer relationships between structure and content of messages sent to different versions of the service;
- create message transformation rules based on the inferred relationships wherein creating message transformation rules creates transformation rules for transforming a message format for an earlier version of a service to a message format for a later version of the service;
- receiving a message for a version of the service using a proxy system;
- identifying if the message is for the earlier version of the service for which there is the later version of the service, using the proxy system;
- transforming the message using transformation rules for transforming the message format for the earlier version of the service to the message format for the later version of the service, using the proxy system;
- and
- forwarding the transformed message to the later version of the service, using the proxy system.
Dependencies are inferred from the claim text.