summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java34
-rw-r--r--modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/AbstractGroupCreateWizard.java4
-rw-r--r--modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/GroupMembersStep.java14
-rw-r--r--modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDataSourceField.java2
-rw-r--r--modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java2
-rw-r--r--modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/type/ResourceTypeRepository.java9
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties3
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_cs.properties3
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_de.properties3
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ja.properties3
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ko.properties3
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_pt.properties3
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ru.properties3
-rw-r--r--modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_zh.properties3
14 files changed, 86 insertions, 3 deletions
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
index 871329b..d6c1d07 100644
--- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
+++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
@@ -18,11 +18,15 @@
*/
package org.rhq.enterprise.gui.coregui.client.bundle.deploy;
+import java.util.EnumSet;
+import java.util.HashSet;
import java.util.LinkedHashMap;
+import java.util.Map;
import java.util.Set;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.rpc.AsyncCallback;
+import com.smartgwt.client.util.SC;
import com.smartgwt.client.widgets.Canvas;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.CanvasItem;
@@ -43,13 +47,18 @@ import com.smartgwt.client.widgets.layout.VLayout;
import org.rhq.core.domain.bundle.BundleDestination;
import org.rhq.core.domain.bundle.ResourceTypeBundleConfiguration;
import org.rhq.core.domain.bundle.ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory;
+import org.rhq.core.domain.resource.ResourceType;
import org.rhq.core.domain.resource.group.ResourceGroup;
+import org.rhq.core.domain.util.collection.ArrayUtils;
import org.rhq.enterprise.gui.coregui.client.CoreGUI;
import org.rhq.enterprise.gui.coregui.client.bundle.deploy.selection.SingleCompatibleResourceGroupSelector;
import org.rhq.enterprise.gui.coregui.client.components.wizard.AbstractWizardStep;
import org.rhq.enterprise.gui.coregui.client.gwt.BundleGWTServiceAsync;
import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup;
import org.rhq.enterprise.gui.coregui.client.inventory.groups.wizard.AbstractGroupCreateWizard;
+import org.rhq.enterprise.gui.coregui.client.inventory.resource.type.ResourceTypeRepository;
+import org.rhq.enterprise.gui.coregui.client.inventory.resource.type.ResourceTypeRepository.MetadataType;
+import org.rhq.enterprise.gui.coregui.client.inventory.resource.type.ResourceTypeRepository.TypesLoadedCallback;
import org.rhq.enterprise.gui.coregui.client.util.FormUtility;
import org.rhq.enterprise.gui.coregui.client.util.message.Message;
import org.rhq.enterprise.gui.coregui.client.util.message.Message.Severity;
@@ -316,6 +325,31 @@ public class GetDestinationStep extends AbstractWizardStep {
this.groupSelector = theSelector;
}
+ @Override
+ public boolean createGroup() {
+ Integer[] ids = memberStep.getSelecterResourceTypeIds();
+ if (ids == null || ids.length == 0) {
+ SC.warn(MSG.view_bundle_deployWizard_createGroup_error_1());
+ return false;
+ }
+ ResourceTypeRepository typeRepository = ResourceTypeRepository.Cache.getInstance();
+ typeRepository.getResourceTypes(ids, EnumSet.of(MetadataType.bundleConfiguration),
+ new TypesLoadedCallback() {
+ public void onTypesLoaded(Map<Integer, ResourceType> types) {
+ Set<ResourceType> typeSet = new HashSet<ResourceType>(types.values());
+ if (typeSet.size() != 1) {
+ SC.warn(MSG.view_bundle_deployWizard_createGroup_error_2());
+ } else if (typeSet.iterator().next().getResourceTypeBundleConfiguration() == null) {
+ SC.warn(MSG.view_bundle_deployWizard_createGroup_error_3());
+ } else {
+ QuickGroupCreateWizard.super.createGroup();
+ }
+ }
+ });
+ return true;
+ }
+
+ @Override
public void groupCreateCallback(final ResourceGroup group) {
// note: "group" is essentially a flyweight - it doesn't have much other than ID
this.groupSelector.setValue(group.getId());
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/AbstractGroupCreateWizard.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/AbstractGroupCreateWizard.java
index 65b0a42..268d12b 100644
--- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/AbstractGroupCreateWizard.java
+++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/AbstractGroupCreateWizard.java
@@ -44,8 +44,8 @@ import org.rhq.enterprise.gui.coregui.client.util.message.Message;
* @author John Mazzitelli
*/
public abstract class AbstractGroupCreateWizard extends AbstractWizard {
- private GroupCreateStep createStep;
- private GroupMembersStep memberStep;
+ protected GroupCreateStep createStep;
+ protected GroupMembersStep memberStep;
public AbstractGroupCreateWizard() {
List<WizardStep> steps = new ArrayList<WizardStep>();
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/GroupMembersStep.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/GroupMembersStep.java
index 6b4e85d..7345cd4 100644
--- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/GroupMembersStep.java
+++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/wizard/GroupMembersStep.java
@@ -22,10 +22,14 @@
*/
package org.rhq.enterprise.gui.coregui.client.inventory.groups.wizard;
+import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.TYPE_ID;
+
import java.util.Set;
import com.smartgwt.client.widgets.Canvas;
+import com.smartgwt.client.widgets.grid.ListGridRecord;
+import org.rhq.core.domain.resource.Resource;
import org.rhq.enterprise.gui.coregui.client.components.wizard.AbstractWizardStep;
import org.rhq.enterprise.gui.coregui.client.inventory.resource.selection.ResourceSelector;
import org.rhq.enterprise.gui.coregui.client.util.selenium.Locatable;
@@ -71,4 +75,14 @@ public class GroupMembersStep extends AbstractWizardStep {
}
return selection;
}
+
+ public Integer[] getSelecterResourceTypeIds() {
+ ListGridRecord[] selectedRecords = selector.getSelectedRecords();
+ Integer[] selection = new Integer[selectedRecords.length];
+ int i = 0;
+ for (ListGridRecord record : selectedRecords) {
+ selection[i++] = record.getAttributeAsInt(TYPE_ID.propertyName());
+ }
+ return selection;
+ }
}
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDataSourceField.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDataSourceField.java
index ba73f82..8ec2ece 100644
--- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDataSourceField.java
+++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDataSourceField.java
@@ -37,6 +37,8 @@ public enum ResourceDataSourceField {
KEY("resourceKey", CoreGUI.getMessages().dataSource_resources_field_key()),
TYPE("resourceType.name", CoreGUI.getMessages().common_title_type()),
+
+ TYPE_ID("resourceType.id", CoreGUI.getMessages().common_title_type() + CoreGUI.getMessages().common_title_id()),
PLUGIN("pluginName", CoreGUI.getMessages().common_title_plugin()),
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java
index 383602b..6bd323e 100644
--- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java
+++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java
@@ -30,6 +30,7 @@ import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceD
import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.NAME;
import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.PLUGIN;
import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.TYPE;
+import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.TYPE_ID;
import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.VERSION;
import java.util.HashSet;
@@ -218,6 +219,7 @@ public class ResourceDatasource extends RPCDataSource<Resource, ResourceCriteria
ResourceType type = types.get(typeId);
if (type != null) {
record.setAttribute(TYPE.propertyName(), type.getName());
+ record.setAttribute(TYPE_ID.propertyName(), type.getId());
}
// To avoid a lot of unnecessary String construction, be lazy about building ancestry hover text.
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/type/ResourceTypeRepository.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/type/ResourceTypeRepository.java
index 1574d17..7141b47 100644
--- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/type/ResourceTypeRepository.java
+++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/type/ResourceTypeRepository.java
@@ -68,7 +68,7 @@ public class ResourceTypeRepository {
*/
public enum MetadataType {
children, operations, measurements, content, events, pluginConfigurationDefinition, resourceConfigurationDefinition, subCategory, parentTypes, processScans, productVersions, driftDefinitionTemplates(
- true);
+ true), bundleConfiguration;
private boolean isFetchAlways;
@@ -293,6 +293,10 @@ public class ResourceTypeRepository {
case driftDefinitionTemplates:
criteria.fetchDriftDefinitionTemplates(true);
break;
+ case bundleConfiguration:
+ criteria.fetchBundleConfiguration(true);
+ break;
+
default:
Log.error("Metadata type [" + metadataType.name() + "] not incorporated into ResourceType criteria.");
}
@@ -411,6 +415,9 @@ public class ResourceTypeRepository {
case driftDefinitionTemplates:
cachedType.setDriftDefinitionTemplates(type.getDriftDefinitionTemplates());
break;
+ case bundleConfiguration:
+ cachedType.setResourceTypeBundleConfiguration(type.getResourceTypeBundleConfiguration());
+ break;
default:
Log.error("ERROR: metadataType " + metadataType.name()
+ " not merged into cached ResourceType.");
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
index 11f505d..2068272 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
@@ -1119,6 +1119,9 @@ view_bundle_createWizard_youMustChooseOne = You must choose one option in order
view_bundle_deleteConfirm = Are you sure you want to delete this bundle? All versions, destinations and deployments for this bundle will also be deleted. However, this will not remove any content from remote machines.
view_bundle_deploy = Deploy
view_bundle_deployDir = Deploy Directory
+view_bundle_deployWizard_createGroup_error_1 = The group was not created. Group for deployment cannot be empty.
+view_bundle_deployWizard_createGroup_error_2 = The group was not created. Resulting group must be compatible (members of the same type).
+view_bundle_deployWizard_createGroup_error_3 = The group was not created. The resource type of the resulting group does not support deployments.
view_bundle_deployWizard_deployStep = Deploy Bundle to Destination Platforms
view_bundle_deployWizard_deploying = Deploying...
view_bundle_deployWizard_deploymentCreated = Created Deployment...
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_cs.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_cs.properties
index 4b815c2..908df75 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_cs.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_cs.properties
@@ -1138,6 +1138,9 @@ view_bundle_createWizard_youMustChooseOne = Musíte zvolit jednu možnost, abyst
view_bundle_deleteConfirm = Jste si jisti, že chcete smazat tento balík? Všechny verze, cíle a nasazení pro tento balík budou také smazány. Nicméně už nasazený obsah nebude ze vzdálených stanic smazán.
view_bundle_deploy = Nasadit
view_bundle_deployDir = Nasadit adresář
+view_bundle_deployWizard_createGroup_error_1 = Skupina nebyla vytvořena. Skupina nemsmí být prázdná.
+view_bundle_deployWizard_createGroup_error_2 = Skupina nebyla vytvořena. Výsledná skupina musí být kompatibilní (prvky stejného typu).
+view_bundle_deployWizard_createGroup_error_3 = Skupina nebyla vytvořena. Typ zdroje výsledné skupiny nepodporuje nasazování balíků.
view_bundle_deployWizard_deployStep = Nasadit balík na cílové stanice
view_bundle_deployWizard_deploying = Nasazování...
view_bundle_deployWizard_deploymentCreated = Vytvořit nasazení...
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_de.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_de.properties
index 2e3523d..004a414 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_de.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_de.properties
@@ -1016,6 +1016,9 @@ view_bundle_createWizard_youMustChooseOne = Sie müssen eine Option auswählen,
##view_bundle_deleteConfirm = Are you sure you want to delete this bundle? All versions, destinations and deployments for this bundle will also be deleted. However, this will not remove any content from remote machines.
view_bundle_deploy = Deploy
view_bundle_deployDir = Deploy-Verzeichnis
+##view_bundle_deployWizard_createGroup_error_1 = The group was not created. Group for deployment cannot be empty.
+##view_bundle_deployWizard_createGroup_error_2 = The group was not created. Resulting group must be compatible (members of the same type).
+##view_bundle_deployWizard_createGroup_error_3 = The group was not created. The resource type of the resulting group does not support deployments.
view_bundle_deployWizard_deployStep = Bundle auf die Zielplattformen deployen
view_bundle_deployWizard_deploying = Deploying...
view_bundle_deployWizard_deploymentCreated = Deployment angelegt...
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ja.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ja.properties
index b6fda76..411fb71 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ja.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ja.properties
@@ -1114,6 +1114,9 @@ view_bundle_createWizard_youMustChooseOne = バンドルを作成するための
view_bundle_deleteConfirm = このバンドルを削除してもよろしいですか? このバンドルのすべてのバージョン、宛先、デプロイも削除されます。
view_bundle_deploy = デプロイ
view_bundle_deployDir = デプロイディレクトリ
+##view_bundle_deployWizard_createGroup_error_1 = The group was not created. Group for deployment cannot be empty.
+##view_bundle_deployWizard_createGroup_error_2 = The group was not created. Resulting group must be compatible (members of the same type).
+##view_bundle_deployWizard_createGroup_error_3 = The group was not created. The resource type of the resulting group does not support deployments.
view_bundle_deployWizard_deployStep = 宛先プラットフォームへのバンドルのデプロイ
view_bundle_deployWizard_deploying = デプロイ中...
view_bundle_deployWizard_deploymentCreated = 作成されたデプロイメント...
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ko.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ko.properties
index 106d549..29b0ba7 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ko.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ko.properties
@@ -878,6 +878,9 @@ view_bundle_createWizard_urlOption = URL
view_bundle_createWizard_windowTitle = 번들 생성 마법사
view_bundle_deploy = 배포
view_bundle_deployDir = 배포 디렉토리
+##view_bundle_deployWizard_createGroup_error_1 = The group was not created. Group for deployment cannot be empty.
+##view_bundle_deployWizard_createGroup_error_2 = The group was not created. Resulting group must be compatible (members of the same type).
+##view_bundle_deployWizard_createGroup_error_3 = The group was not created. The resource type of the resulting group does not support deployments.
view_bundle_deployWizard_deployStep = 대상 플랫폼에 번들 배포
view_bundle_deployWizard_deploying = 배포 중...
view_bundle_deployWizard_deploymentCreated = 배포 작성중...
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_pt.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_pt.properties
index 5b0c05a..9699756 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_pt.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_pt.properties
@@ -1125,6 +1125,9 @@ view_bundle_createWizard_youMustChooseOne = \u00C9 necess\u00E1rio escolher uma
view_bundle_deleteConfirm = Tem certeza que deseja excluir este bundle? Todas as vers\u00F5es, destina\u00E7\u00F5es e implanta\u00E7\u00F5es para este bundle ser\u00E3o exclu\u00EDdas.
view_bundle_deploy = Deploy
view_bundle_deployDir = Diret\u00F3rio de Deploy
+##view_bundle_deployWizard_createGroup_error_1 = The group was not created. Group for deployment cannot be empty.
+##view_bundle_deployWizard_createGroup_error_2 = The group was not created. Resulting group must be compatible (members of the same type).
+##view_bundle_deployWizard_createGroup_error_3 = The group was not created. The resource type of the resulting group does not support deployments.
view_bundle_deployWizard_deployStep = Implantar o Bundle nas Plataformas de Destino
view_bundle_deployWizard_deploying = Implantando...
view_bundle_deployWizard_deploymentCreated = Implanta\u00E7\u00E3o Criada...
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ru.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ru.properties
index 259b1c2..0d56ebc 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ru.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_ru.properties
@@ -1007,6 +1007,9 @@
#view_bundle_deleteConfirm = Are you sure you want to delete this bundle? All versions, destinations and deployments for this bundle will also be deleted. However, this will not remove any content from remote machines.
#view_bundle_deploy = Deploy
#view_bundle_deployDir = Deploy Directory
+##view_bundle_deployWizard_createGroup_error_1 = The group was not created. Group for deployment cannot be empty.
+##view_bundle_deployWizard_createGroup_error_2 = The group was not created. Resulting group must be compatible (members of the same type).
+##view_bundle_deployWizard_createGroup_error_3 = The group was not created. The resource type of the resulting group does not support deployments.
#view_bundle_deployWizard_deployStep = Deploy Bundle to Destination Platforms
#view_bundle_deployWizard_deploying = Deploying...
#view_bundle_deployWizard_deploymentCreated = Created Deployment...
diff --git a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_zh.properties b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_zh.properties
index 6ccb0e3..f6abf6b 100644
--- a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_zh.properties
+++ b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_zh.properties
@@ -1109,6 +1109,9 @@ view_bundle_createWizard_youMustChooseOne = \u4e3a\u4e86\u521b\u5efabundle\u4f60
view_bundle_deleteConfirm = \u4f60\u786e\u5b9a\u8981\u5220\u9664\u8fd9\u4e2abundle? \u8fd9\u4e2abundle\u6240\u6709\u7684\u7248\u672c, \u76ee\u7684\u5730\u548c\u90e8\u7f72\u5c06\u88ab\u5220\u9664.
view_bundle_deploy = \u53d1\u5e03
view_bundle_deployDir = \u53d1\u5e03\u76ee\u5f55
+##view_bundle_deployWizard_createGroup_error_1 = The group was not created. Group for deployment cannot be empty.
+##view_bundle_deployWizard_createGroup_error_2 = The group was not created. Resulting group must be compatible (members of the same type).
+##view_bundle_deployWizard_createGroup_error_3 = The group was not created. The resource type of the resulting group does not support deployments.
view_bundle_deployWizard_deployStep = \u53d1\u5e03Bundle\u5230\u76ee\u7684\u5e73\u53f0
view_bundle_deployWizard_deploying = \u53d1\u5e03\u4e2d...
view_bundle_deployWizard_deploymentCreated = \u521b\u5efa\u90e8\u7f72...