Bug 1217497

Summary: Migration guide - Missing type declaration in examples
Product: [Retired] JBoss BPMS Platform 6 Reporter: Tibor Zimanyi <tzimanyi>
Component: DocumentationAssignee: gsheldon
Status: CLOSED CURRENTRELEASE QA Contact: Tibor Zimanyi <tzimanyi>
Severity: unspecified Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 6.1.0CC: brms-docs
Target Milestone: ---   
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 23049, Migration Guide-6.1 Build Date: 16-04-2015 12:06:22 Topic ID: 43045-750189 [Latest]
Last Closed: 2015-05-05 23:51:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tibor Zimanyi 2015-04-30 13:47:43 UTC
Title: Migrating from 6.0.x to 6.1

Describe the issue: In section Modify Remote Class API Code there are two examples for creating runtime engine. One for 6.0 and one for 6.1 branch. There is missing type declaration in both. 

In first there is "remoteRuntimeEngine = rjmsreBuilder.build();". There should be "RemoteRuntimeEngine remoteRuntimeEngine = rjmsreBuilder.build();"

In second one there is "remoteRuntimeEngine = rjmsreBuilder.build();". There should be "RuntimeEngine remoteRuntimeEngine = rjmsreBuilder.build();"

There is also a mistake in text that is before the second example. There is written "This code should be modified as the Remote Class API has been migrated to a new package: org.kie.api.runtime.manager.RuntimeEngine". But org.kie.api.runtime.manager.RuntimeEngine is a class not a package. This should be corrected. There should be something like this: "This code should be modified as the Remote Class API defines new generalized interface for remote runtime engine: org.kie.api.runtime.manager.RuntimeEngine". 


Suggestions for improvement:


Additional information:

Comment 1 gsheldon 2015-05-04 06:01:13 UTC
Requested changes from Comment 1 implemented.

These changes will appear on the stage when the book has been brewed. Setting to Modified.

Comment 2 Vikram Goyal 2015-05-05 23:51:44 UTC
This can be verified on the portal here [1].

Moving this to CLOSED --> CURRENTRELEASE.

[1] https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.1/html-single/Migration_Guide/index.html#sect-Migrating_from_6.0.x_to_6.1