• No results found

Using the Production Model

In document Developing Ensemble Productions (Page 31-35)

You can construct a new production from the Ensemble Management Portal as follows:

1. Choose your working namespace from the selection box at the top right of the [Ensemble] home page.

3. Click Create New Production. The [Ensemble] > [Productions] > [Production Wizard] page displays. 4. Enter a Package Name, Production Name, and Description.

5. Choose one of the following:

HL7 Messaging — If you are using HL7 with Ensemble, choose this option. You can add any generic Ensemble elements that you need as you build the HL7 production, but choosing this option provides a useful set of “starter elements” for HL7.

Generic — Choose this option for all other types of production.

6. Click OK. The [Ensemble] > [Productions] > [Production Model] page displays.

The Production Model page offers the following menu options:

Add Business Service — Click this link to start the Business Service Wizard. Choose: - HL7 Input

• Choose TCP, File, or FTP to determine the host class. Each class already exists and requires no programming. Simply choose one.

• Give the item a configuration Name. Do not use the characters ;:|,

• Use the Target Name field to identify the business process or business operation to which this business service will send the HL7 messages that it receives.

- Business Metric

• Choose a host class from the MetricClass drop-down list. If the class you need does not appear on this list, create the class in Studio as described in the chapter “Business Ser- vices,” then return to the [Ensemble] > [Productions] > [Production Model] page to choose it.

• Give the item a configuration Name. Do not use the characters ;:|,

• Enter a text label in the Category field to sort and organize items within the production.

Category names are case-sensitive, and space characters are allowed. To place an item in multiple categories, list them in the Category field separated by commas (do not allow spaces around these commas).

Comment is an optional text description.

Call Interval determines how often the business metric will recalculate the values of its properties. The Call Interval is in seconds, starting from a minimum of 0.1 seconds. The default is 5 seconds.

• Choose a host class from the ServiceClass drop-down list. If the class you need does not appear on this list, create the class in Studio as described in the chapter “Business Ser- vices,” then return to the [Ensemble] > [Productions] > [Production Model] page to choose it.

• Give the item a configuration Name. Do not use the characters ;:|,

• Enter a text label in the Category field to sort and organize items within the production.

Category names are case-sensitive, and space characters are allowed. To place an item in multiple categories, list them in the Category field separated by commas (do not allow spaces around these commas).

Comment is an optional text description.

Click OK to save your changes, Cancel to ignore them.

Most business services have a Call Interval and other operational settings whose values you must set from the configuration display on the [Ensemble] > [Productions] page. To navigate to the configuration display from the [Ensemble] > [Productions] > [Production Model] page, click Con- figure Production.

Add Business Process — Click this link to start the Business Process Wizard. Choose:

- Business Process Component — Adds a business process that you have set up to work as a

reusable component as described in the chapter “Business Processes.”

• Choose a host class from the Component drop-down list. If the class you need does not appear on this list, create the class in Studio, then return to the [Ensemble] > [Productions] > [Production Model] page to choose it.

• Give the item a configuration Name. Do not use the characters ;:|,

• Enter a text label in the Category field to sort and organize items within the production.

Category names are case-sensitive, and space characters are allowed. To place an item in multiple categories, list them in the Category field separated by commas (do not allow spaces around these commas).

Comment is an optional text description.

- HL7 Message Router — Adds a business process that routes HL7 message data. For details, see the Ensemble HL7 Version 2 Development Guide.

• Accept the default Router Class of EnsLib.HL7.MsgRouter.RoutingEngine. • Give the item a configuration Name. Do not use the characters ;:|,

• Use the Routing Rule Name field to identify the routing rule set to which this business process will send the messages that it receives.

- Other — Adds a normal business process.

• Choose a host class from the ProcessClass drop-down list. If the class you need does not appear on this list, create the class in Studio as described in the chapter “Business Processes,” then return to the [Ensemble] > [Productions] > [Production Model] page to choose it.

• Give the item a configuration Name. Do not use the characters ;:|,

• Enter a text label in the Category field to sort and organize items within the production.

Category names are case-sensitive, and space characters are allowed. To place an item in multiple categories, list them in the Category field separated by commas (do not allow spaces around these commas).

Comment is an optional text description.

Click OK to save your changes, Cancel to ignore them.

Most business processes have an Inactivity Timeout, Alert On Error, and other settings that you must set from the configuration display on the [Ensemble] > [Productions] page. To navigate to the configuration display from the [Ensemble] > [Productions] > [Production Model] page, click

Configure Production.

Add Business Operation — Click this link to start the Business Operation Wizard. Choose: - HL7 Output

• Choose TCP, File, or FTP to determine the host class. Each class already exists and requires no programming. Simply choose one.

• Give the item a configuration Name. Do not use the characters ;:|,

- Other

• Choose a host class from the OperationClass drop-down list. If the class you need does not appear on this list, create the class in Studio as described in the chapter “Business Operations,” then return to the [Ensemble] > [Productions] > [Production Model] page to choose it.

• Give the item a configuration Name. Do not use the characters ;:|,

• Enter a text label in the Category field to sort and organize items within the production.

Category names are case-sensitive, and space characters are allowed. To place an item in multiple categories, list them in the Category field separated by commas (do not allow spaces around these commas).

Comment is an optional text description.

Most business operations have a Retry Interval, Failure Timeout, and other operational settings whose values you must set from the configuration display on the [Ensemble] > [Productions] page. To navigate to the configuration display from the [Ensemble] > [Productions] > [Production Model]

page, click Configure Production.

Remove Item — Delete the business service, business process, or business operation that is currently selected in the production model.

Save Production — Save any changes made in the current editing session.

Configure Production — Display the [Ensemble] > [Productions] page so that you can provide configuration details for items that you have added.

Cancel — Revert to the previously saved version of the production model.

Delete Production — Delete the production that is currently displayed on the [Ensemble] > [Pro- ductions] > [Production Model] page. A confirmation dialog displays. To permanently delete the production with no chance of recovery, click OK. The production and all of its configured settings are removed. The underlying classes for business hosts and data transformations remain.

Important: For details regarding the Ensemble Management Portal, including options for adding, configuring, and removing productions and their elements, see Managing Ensemble Productions.

In document Developing Ensemble Productions (Page 31-35)