検索

このコンテンツは選択した言語では利用できません。

Chapter 2. Changes from 3.1.2 to 3.2

download PDF

2.1. Changed Class: RoleManagerRemote

Table 2.1. New Methods
New Method
void addBundleGroupsToRole(Subject subject, int roleId, int[] bundleGroupIds);

void addRolesToBundleGroup(Subject subject, int bundleGroupId, int[] roleIds);

void setAssignedBundleGroups(Subject subject, int roleId, int[] bundleGroupIds);

void removeBundleGroupsFromRole(Subject subject, int roleId, int[] bundleGroupIds);

void removeRolesFromBundleGroup(Subject subject, int bundleGroupId, int[] roleIds);

2.2. Changed Class: BundleManagerRemote

Table 2.2. New Methods
New Method
BundleFile addBundleFileViaURL(Subject subject, int bundleVersionId, String name, String version,
    Architecture architecture, String bundleFileUrl, String userName, String password) throws Exception;
void assignBundlesToBundleGroups(Subject subject, int[] bundleGroupIds, int[] bundleIds);
BundleGroup createBundleGroup(Subject subject, BundleGroup bundleGroup) throws Exception;
BundleVersion createInitialBundleVersionViaRecipe(Subject subject, int[] bundleGroupIds, String recipe)
    throws Exception;
BundleVersion createInitialBundleVersionViaFile(Subject subject, int[] bundleGroupIds, File distributionFile)
        throws Exception;
BundleVersion createInitialBundleVersionViaContentHandle(Subject subject, int[] bundleGroupIds,
    String temporaryContentHandle) throws Exception;
BundleVersion createInitialBundleVersionViaByteArray(Subject subject, int[] bundleGroupIds, byte[] fileBytes)
        throws Exception;
BundleVersion createInitialBundleVersionViaURL(Subject subject, int[] bundleGroupIds, String distributionFileUrl)
        throws Exception;
BundleVersion createBundleVersionViaURL(Subject subject, String distributionFileUrl, String username,
    String password) throws Exception;
BundleVersion createInitialBundleVersionViaURL(Subject subject, int[] bundleGroupIds, String distributionFileUrl,
    String username, String password) throws Exception;
void deleteBundleGroups(Subject subject, int[] ids) throws Exception;
PageList<BundleGroup> findBundleGroupsByCriteria(Subject subject, BundleGroupCriteria criteria);
Set<String> getBundleVersionFilenames(Subject subject, int bundleVersionId, boolean withoutBundleFileOnly)
    throws Exception;
void unassignBundlesFromBundleGroups(Subject subject, int[] bundleGroupIds, int[] bundleIds);
BundleGroup updateBundleGroup(Subject subject, BundleGroup bundleGroup) throws Exception;
Table 2.3. Removed Methods
Removed Method
Map<String, Boolean> getAllBundleVersionFilenames(Subject subject, int bundleVersionId) throws Exception;

2.3. New Class: StorageNodeManagerRemote

Table 2.4. New Methods
New Method
StorageNodeLoadComposite getLoad(Subject subject, StorageNode node, long beginTime, long endTime);
StorageNodeConfigurationComposite retrieveConfiguration(Subject subject, StorageNode storageNode);
boolean updateConfiguration(Subject subject, StorageNodeConfigurationComposite storageNodeConfiguration);
PageList<StorageNode> findStorageNodesByCriteria(Subject subject, StorageNodeCriteria criteria);
PageList<Alert> findNotAcknowledgedStorageNodeAlerts(Subject subject);
PageList<Alert> findNotAcknowledgedStorageNodeAlerts(Subject subject, StorageNode storageNode);
PageList<Alert> findAllStorageNodeAlerts(Subject subject);
PageList<Alert> findAllStorageNodeAlerts(Subject subject, StorageNode storageNode);
void deployStorageNode(Subject sbubject, StorageNode storageNode);
void undeployStorageNode(Subject subject, StorageNode storageNode);
void runClusterMaintenance(Subject subject);

2.4. Changed Class: ConfigurationManagerRemote

Table 2.5. New Methods
New Method
ageList<GroupPluginConfigurationUpdate> findGroupPluginConfigurationUpdatesByCriteria(Subject subject,
    GroupPluginConfigurationUpdateCriteria criteria);
PageList<GroupResourceConfigurationUpdate> findGroupResourceConfigurationUpdatesByCriteria(Subject subject,
    GroupResourceConfigurationUpdateCriteria criteria);
Table 2.6. Deprecated Methods
Deprecated Method
GroupPluginConfigurationUpdate getGroupPluginConfigurationUpdate(Subject subject, int configurationUpdateId);
GroupResourceConfigurationUpdate getGroupResourceConfigurationUpdate(Subject subject, int configurationUpdateId);
Configuration translateResourceConfiguration(Subject subject, int resourceId, Configuration configuration,
    boolean fromStructured) throws ResourceNotFoundException;

2.5. Changed Class: ContentManagerRemote

Table 2.7. New Methods
New Method
String createTemporaryContentHandle();
void uploadContentFragment(String temporaryContentHandle, byte[] fragment, int off, int len);
PackageVersion createPackageVersionWithDisplayVersion(Subject subject, String packageName, int packageTypeId,
    String version, String displayVersion, Integer architectureId, String temporaryContentHandle);
Table 2.8. Changed Methods
Old Method Updated Method
byte[] getPackageBytes(Subject user, int resourceId,
    int installedPackageId);
byte[] getPackageBytes(Subject subject, int resourceId, int installedPackageId);

2.6. Changed Class: RepoManagerRemote

Table 2.9. New Methods
New Method
byte[] getPackageVersionBytes(Subject subject, int repoId, int packageVersionId);

2.7. Changed Class: DiscoveryBossRemote

Table 2.10. New Methods
New Method
void unignoreAndImportResources(Subject subject, int[] resourceIds);

2.8. Changed Class: MeasurementDataManagerRemote

Table 2.11. New Methods
New Method
MeasurementAggregate getMeasurementAggregate(Subject subject, int scheduleId, long startTime, long endTime)
    throws MeasurementException;

Note

The org.rhq.enterprise.server.measurement.MeasurementDataManagerRemote#getAggregate class has been changed from org.rhq.core.domain.measurement.MeasurementAggregate to org.rhq.enterprise.server.measurement.MeasurementAggregate. This is the same class; only the package is different. Command-line scripts will be unaffected by this. For Java clients which depend on the EJB API, the clients imports should be updated and then recompiled.
Table 2.12. Removed Methods
Removed Method
MeasurementAggregate getAggregate(Subject subject, int scheduleId, long startTime, long endTime);
Table 2.13. Deprecated Methods
Deprecated Method
org.rhq.enterprise.server.measurement.MeasurementAggregate getAggregate(Subject subject, int scheduleId,
    long startTime, long endTime);
Set<MeasurementData> findLiveData(Subject subject, int resourceId, int[] definitionIds);
Set<MeasurementData> findLiveData(Subject subject, int resourceId, int[] definitionIds);
Set<MeasurementData> findLiveDataForGroup(Subject subject, int groupId, int[] resourceIds, int[] definitionIds);

2.9. Changed Class: MeasurementScheduleManagerRemote

Table 2.14. Deprecated Methods
Deprecated Method
void disableMeasurementTemplates(Subject subject, int[] measurementDefinitionIds);

2.10. Changed Class: OperationManagerRemote

Table 2.15. New Methods
New Method
ResourceOperationSchedule scheduleResourceOperationUsingCron(Subject subject, int resourceId, String operationName,
    String cronExpression, int timeout, Configuration parameters, String description) throws ScheduleException;
GroupOperationSchedule scheduleGroupOperationUsingCron(Subject subject, int groupId,
    int[] executionOrderResourceIds, boolean haltOnFailure, String operationName, Configuration parameters,
    String cronExpression, int timeout, String description) throws ScheduleException;

2.11. Changed Class: ResourceFactoryManagerRemote

Table 2.16. New Methods
New Method
CreateResourceHistory createPackageBackedResourceViaContentHandle(Subject subject, int parentResourceId,
    int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, String packageName,
    String packageVersion, Integer architectureId, Configuration deploymentTimeConfiguration,
    String temporaryContentHandle, Integer timeout);

2.12. Changed Class: ResourceManagerRemote

Table 2.17. New Methods
New Method
void uninventoryAllResourcesByAgent(Subject user, Agent doomedAgent);
void uninventoryResourcesOfResourceType(Subject subject, int resourceTypeId);
Table 2.18. Changed Methods
Old Method Updated Method
Resource getResource(Subject subject, int resourceId);
Resource getResource(Subject subject, int resourceId) throws ResourceNotFoundException, PermissionException;
Resource getParentResource(Subject subject, int resourceId);
Resource getParentResource(Subject subject, int resourceId) throws ResourceNotFoundException, PermissionException;

2.13. Changed Class: ResourceTypeManagerRemote

Table 2.19. New Methods
New Method
void setResourceTypeIgnoreFlagAndUninventoryResources(Subject subject, int resourceTypeId, boolean ignoreFlag);

2.14. Changed Class: ClusterManagerRemote

Table 2.20. Deprecated Methods
Deprecated Method
ResourceGroup createAutoClusterBackingGroup(Subject subject, ClusterKey clusterKey, boolean addResources);
ResourceGroup getAutoClusterBackingGroup(Subject subject, ClusterKey clusterKey);
List<Resource> getAutoClusterResources(Subject subject, ClusterKey clusterKey);
ClusterFlyweight getClusterTree(Subject subject, int groupId);

2.15. Changed Class: RoleManagerRemote

Table 2.21. Changed Methods
Old Method Updated Method
ResourceGroupComposite getResourceGroupComposite(Subject subject, int groupId);
ResourceGroupComposite getResourceGroupComposite(Subject subject, int groupId)
    throws ResourceGroupNotFoundException;

2.16. Changed Class: GroupDefinitionManagerRemote

Table 2.22. New Methods
New Method
GroupDefinition createGroupDefinition(Subject subject, GroupDefinition newGroupDefinition)
    throws GroupDefinitionAlreadyExistsException, GroupDefinitionCreateException;
PageList<GroupDefinition> findGroupDefinitionsByCriteria(Subject subject, ResourceGroupDefinitionCriteria criteria);
void removeGroupDefinition(Subject subject, Integer groupDefinitionId) throws GroupDefinitionNotFoundException,
    GroupDefinitionDeleteException;
GroupDefinition updateGroupDefinition(Subject subject, GroupDefinition updated)
    throws GroupDefinitionAlreadyExistsException, GroupDefinitionUpdateException, InvalidExpressionException,
    ResourceGroupUpdateException;
void calculateGroupMembership(Subject subject, int groupDefinitionId) throws ResourceGroupDeleteException,
    GroupDefinitionDeleteException, GroupDefinitionNotFoundException, InvalidExpressionException;
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.