Search

US-12625722-B2 - Semantic-aware workflow modification and execution with extraction of missing parameter

US12625722B2US 12625722 B2US12625722 B2US 12625722B2US-12625722-B2

Abstract

Techniques are provided for semantic-aware workflow creation and execution. One method comprises obtaining a semantic-aware workflow; identifying objects specified in the semantic-aware workflow; performing, for at least one of the identified objects: extracting parameters corresponding to the at least one identified object using an attribute registry associated with the semantic-aware workflow; selecting, using the attribute registry, an extracted parameter that takes, as a value, another identified object; and adding an operation to the semantic-aware workflow using the at least one identified object, and the corresponding selected extracted parameter that takes, as a value, the other identified object. In response to determining that the selected extracted parameter comprises a missing mandatory parameter, a first object can be identified in the identified objects that can be converted to the missing mandatory parameter; and the missing mandatory parameter can be generated for the selected extracted parameter using parameter values of the first object.

Inventors

  • Vaideeswaran Ganesan
  • PRAVIN JANAKIRAM

Assignees

  • DELL PRODUCTS L.P.

Dates

Publication Date
20260512
Application Date
20220127

Claims (20)

  1. 1 . A method, comprising: obtaining a semantic-aware workflow; obtaining a plurality of attribute registries, wherein each attribute registry is associated with at least one component in a given stack layer of a plurality of stack layers of at least one infrastructure stack, wherein the semantic-awareness of the semantic-aware workflow is based at least in part on knowledge of one or more technologies in at least some of the plurality of attribute registries; storing at least some of the plurality of attribute registries in an attribute registry database; identifying a set of two or more objects specified in the semantic-aware workflow to create a possible objects list; performing, for at least one of the two or more identified objects in the possible objects list: extracting one or more parameters corresponding to the at least one identified object in the possible objects list from at least one attribute registry, of the at least some of the plurality of attribute registries stored in the attribute registry database, associated with the semantic-aware workflow; selecting, using the at least one attribute registry, at least one of the one or more extracted parameters that takes, as a value, at least one other of the two or more identified objects, specified in the semantic-aware workflow, in the possible objects list; generating at least one executable script comprising (i) at least one operation to modify the semantic-aware workflow, (ii) the at least one identified object, and (iii) the corresponding at least one selected extracted parameter that takes, as a value, the at least one other identified object; initiating an execution of the at least one executable script to modify at least a portion of the semantic-aware workflow using the at least one operation, wherein the modification of the semantic-aware workflow comprises inserting at least a portion of software code into the semantic-aware workflow using the corresponding at least one selected extracted parameter; and initiating an execution of the modified semantic-aware workflow; wherein the method is performed by at least one processing device comprising a processor coupled to a memory.
  2. 2 . The method of claim 1 , wherein the at least one operation comprises one or more of an object creation operation, an object removal operation and an object deletion operation.
  3. 3 . The method of claim 1 , further comprising performing the extracting, the selecting and a generation of the at least one operation for each identified object.
  4. 4 . The method of claim 1 , further comprising determining that at least one of the selected extracted parameters comprises at least one missing mandatory parameter; identifying at least one first object in the two or more identified objects that can be converted to the at least one missing mandatory parameter; and generating the at least one missing mandatory parameter for the at least one selected extracted parameter using one or more parameter values of the at least one first object.
  5. 5 . The method of claim 4 , further comprising updating the semantic-aware workflow using the at least one generated missing mandatory parameter.
  6. 6 . The method of claim 1 , further comprising selecting one of a plurality of available execution methods to execute the at least one operation.
  7. 7 . The method of claim 1 , wherein the attribute registry comprises a plurality of objects and, for a given object, identifies one or more parameters associated with the given object.
  8. 8 . An apparatus comprising: at least one processing device comprising a processor coupled to a memory; the at least one processing device being configured to implement steps of: obtaining a semantic-aware workflow; obtaining a plurality of attribute registries, wherein each attribute registry is associated with at least one component in a given stack layer of a plurality of stack layers of at least one infrastructure stack, wherein the semantic-awareness of the semantic-aware workflow is based at least in part on knowledge of one or more technologies in at least some of the plurality of attribute registries; storing at least some of the plurality of attribute registries in an attribute registry database; identifying a set of two or more objects specified in the semantic-aware workflow to create a possible objects list; performing, for at least one of the two or more identified objects in the possible objects list: extracting one or more parameters corresponding to the at least one identified object in the possible objects list from at least one attribute registry, of the at least some of the plurality of attribute registries stored in the attribute registry database, associated with the semantic-aware workflow; selecting, using the at least one attribute registry, at least one of the one or more extracted parameters that takes, as a value, at least one other of the two or more identified objects, specified in the semantic-aware workflow, in the possible objects list; generating at least one executable script comprising (i) at least one operation to modify the semantic-aware workflow, (ii) the at least one identified object, and (iii) the corresponding at least one selected extracted parameter that takes, as a value, the at least one other identified object; initiating an execution of the at least one executable script to modify at least a portion of the semantic-aware workflow using the at least one operation, wherein the modification of the semantic-aware workflow comprises inserting at least a portion of software code into the semantic-aware workflow using the corresponding at least one selected extracted parameter; and initiating an execution of the modified semantic-aware workflow.
  9. 9 . The apparatus of claim 8 , wherein the at least one operation comprises one or more of an object creation operation, an object removal operation and an object deletion operation.
  10. 10 . The apparatus of claim 8 , further comprising performing the extracting, the selecting and a generation of the at least one operation for each identified object.
  11. 11 . The apparatus of claim 8 , further comprising determining that at least one of the selected extracted parameters comprises at least one missing mandatory parameter; identifying at least one first object in the one or more identified objects that can be converted to the at least one missing mandatory parameter; and generating the at least one missing mandatory parameter for the at least one selected extracted parameter using one or more parameter values of the at least one first object.
  12. 12 . The apparatus of claim 11 , further comprising updating the semantic-aware workflow using the at least one generated missing mandatory parameter.
  13. 13 . The apparatus of claim 8 , further comprising selecting one of a plurality of available execution methods to execute the at least one operation.
  14. 14 . The apparatus of claim 8 , wherein the attribute registry comprises a plurality of objects and, for a given object, identifies one or more parameters associated with the given object.
  15. 15 . A non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes the at least one processing device to perform steps of: obtaining a semantic-aware workflow; obtaining a plurality of attribute registries, wherein each attribute registry is associated with at least one component in a given stack layer of a plurality of stack layers of at least one infrastructure stack, wherein the semantic-awareness of the semantic-aware workflow is based at least in part on knowledge of one or more technologies in at least some of the plurality of attribute registries; storing at least some of the plurality of attribute registries in an attribute registry database; identifying a set of two or more objects specified in the semantic-aware workflow to create a possible objects list; performing, for at least one of the two or more identified objects in the possible objects list: extracting one or more parameters corresponding to the at least one identified object in the possible objects list from at least one attribute registry, of the at least some of the plurality of attribute registries stored in the attribute registry database, associated with the semantic-aware workflow; selecting, using the at least one attribute registry, at least one of the one or more extracted parameters that takes, as a value, at least one other of the two or more identified objects, specified in the semantic-aware workflow, in the possible objects list; generating at least one executable script comprising (i) at least one operation to modify the semantic-aware workflow, (ii) the at least one identified object, and (iii) the corresponding at least one selected extracted parameter that takes, as a value, the at least one other identified object; initiating an execution of the at least one executable script to modify at least a portion of the semantic-aware workflow using the at least one operation, wherein the modification of the semantic-aware workflow comprises inserting at least a portion of software code into the semantic-aware workflow using the corresponding at least one selected extracted parameter; and initiating an execution of the modified semantic-aware workflow.
  16. 16 . The non-transitory processor-readable storage medium of claim 15 , further comprising performing the extracting, the selecting and a generation of the at least one operation for each identified object.
  17. 17 . The non-transitory processor-readable storage medium of claim 15 , further comprising determining that at least one of the selected extracted parameters comprises at least one missing mandatory parameter; identifying at least one first object in the two or more identified objects that can be converted to the at least one missing mandatory parameter; and generating the at least one missing mandatory parameter for the at least one selected extracted parameter using one or more parameter values of the at least one first object.
  18. 18 . The non-transitory processor-readable storage medium of claim 17 , further comprising updating the semantic-aware workflow using the at least one generated missing mandatory parameter.
  19. 19 . The non-transitory processor-readable storage medium of claim 15 , further comprising selecting one of a plurality of available execution methods to execute the at least one operation.
  20. 20 . The non-transitory processor-readable storage medium of claim 15 , wherein the attribute registry comprises a plurality of objects and, for a given object, identifies one or more parameters associated with the given object.

Description

FIELD The field relates generally to information processing systems, and more particularly to techniques for processing workflows in such information processing systems. BACKGROUND Infrastructure stacks, sometimes referred to as “full stacks,” are often deployed in computing environments. An infrastructure stack comprises multiple layers of infrastructure elements, such as software elements, hardware elements and clusters of hardware elements, and often employs one or more management consoles for managing the infrastructure elements. For example, the infrastructure elements in an infrastructure stack may comprise software-defined storage elements, hyperconverged infrastructure, and various types of clusters. The management consoles allow multiple instances of a given infrastructure stack to be deployed and managed. Such infrastructure stacks can be problematic, particularly with regard to the manner in which workflows are managed and processed in an infrastructure stack. SUMMARY In one embodiment, a method comprises obtaining a semantic-aware workflow; identifying one or more objects specified in the semantic-aware workflow; performing the following steps for at least one of the one or more identified objects: extracting one or more parameters corresponding to the at least one identified object using an attribute registry associated with the semantic-aware workflow; selecting, using the attribute registry, at least one of the one or more extracted parameters that takes, as a value, at least one other of the one or more identified objects; and adding at least one operation to the semantic-aware workflow using the at least one identified object, and the corresponding at least one selected extracted parameter that takes, as a value, the at least one other identified object. In some embodiments, the method further comprises determining that at least one of the selected extracted parameters comprises at least one missing mandatory parameter; identifying at least one first object in the one or more identified objects that can be converted to the at least one missing mandatory parameter; and generating the at least one missing mandatory parameter for the at least one selected extracted parameter using one or more parameter values of the at least one first object. Other illustrative embodiments include, without limitation, apparatus, systems, methods and computer program products comprising processor-readable storage media. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 illustrates an information processing system configured for semantic-aware workflow creation and execution in accordance with an illustrative embodiment; FIG. 2 illustrates an exemplary infrastructure stack related to the information processing system of FIG. 1 in accordance with an illustrative embodiment; FIG. 3 illustrates an exemplary host computing device of FIG. 1 in further detail in accordance with an illustrative embodiment; FIG. 4 illustrates an exemplary management console server of FIG. 1 in further detail in accordance with an illustrative embodiment; FIG. 5 illustrates an exemplary implementation of the infrastructure stack processing server of FIG. 1 as a semantic-aware workflow creation server, in accordance with one embodiment; FIG. 6 illustrates an automatic linking process, in accordance with an embodiment of the disclosure; FIG. 7 illustrates an automatic injection process, in accordance with one embodiment of the disclosure; FIG. 8 illustrates three exemplary methods for executing a semantic-aware workflow in accordance with an illustrative embodiment; FIGS. 9A through 9C illustrate exemplary code snippets and data structures processed by the automatic linking process of FIG. 6 in accordance with an illustrative embodiment; FIGS. 10A through 10C illustrate exemplary code snippets and data structures processed by the automatic injection process of FIG. 7 in accordance with an illustrative embodiment; FIG. 11 is a flow chart illustrating an exemplary implementation of a semantic-aware workflow creation process in accordance with an illustrative embodiment; FIG. 12 illustrates an exemplary processing platform that may be used to implement at least a portion of one or more embodiments of the disclosure comprising a cloud infrastructure; and FIG. 13 illustrates another exemplary processing platform that may be used to implement at least a portion of one or more embodiments of the disclosure. DETAILED DESCRIPTION Illustrative embodiments of the present disclosure will be described herein with reference to exemplary communication, storage and processing devices. It is to be appreciated, however, that the disclosure is not restricted to use with the particular illustrative configurations shown. One or more embodiments of the disclosure provide methods, apparatus and computer program products for semantic-aware workflow creation and execution. FIG. 1 shows a computer network (also referred to herein as an information processing system) 100 con