|
@@ -44,7 +44,10 @@ define([
|
|
|
startProperty: "Start",
|
|
|
countProperty: "Count",
|
|
|
preRequest: function (request) {
|
|
|
- if (this.name) {
|
|
|
+ if (this.name && this.cluster) {
|
|
|
+ request['LogicalName'] = this.name;
|
|
|
+ request['Cluster'] = this.cluster;
|
|
|
+ } else if (this.name) {
|
|
|
request['LogicalName'] = this.name;
|
|
|
} else {
|
|
|
request['Wuid'] = this.wuid;
|
|
@@ -86,6 +89,13 @@ define([
|
|
|
sequence: this.Sequence,
|
|
|
isComplete: this.isComplete()
|
|
|
});
|
|
|
+ } else if (lang.exists("Name", this) && lang.exists("ClusterName", this)) {
|
|
|
+ this.store = new Store({
|
|
|
+ wuid: this.Wuid,
|
|
|
+ cluster: this.ClusterName,
|
|
|
+ name: this.Name,
|
|
|
+ isComplete: true
|
|
|
+ });
|
|
|
} else {
|
|
|
this.store = new Store({
|
|
|
wuid: this.Wuid,
|
|
@@ -346,6 +356,9 @@ define([
|
|
|
if (this.Wuid && lang.exists("Sequence", this)) {
|
|
|
request['Wuid'] = this.Wuid;
|
|
|
request['Sequence'] = this.Sequence;
|
|
|
+ } else if (this.Name && this.ClusterName) {
|
|
|
+ request['LogicalName'] = this.Name;
|
|
|
+ request['Cluster'] = this.ClusterName;
|
|
|
} else if (this.Name) {
|
|
|
request['LogicalName'] = this.Name;
|
|
|
}
|