Product SiteDocumentation Site

Chapter 2. Changes from 2.4 to 3.0

2.1. New Class: SynchronizationManagerRemote
2.2. New Class: DriftManagerRemote
2.3. New Class: DriftTemplateManagerRemote
2.4. New Class: ClusterManagerRemote
2.5. New Class: DashboardManagerRemote
2.6. Changed Class: AlertDefinitionManagerRemote
2.7. Changed Class: AlertManagerRemote
2.8. Changed Class: RoleManagerRemote
2.9. Changed Class: BundleManagerRemote
2.10. Changed Class: ContentManagerRemote
2.11. Changed Class: RepoManagerRemote
2.12. Changed Class: DiscoveryBossRemote
2.13. Changed Class: MeasurementDataManagerRemote
2.14. Changed Class: ResourceFactoryManagerRemote
2.15. Changed Class: ResourceManagerRemote
2.16. Changed Class: ResourceGroupManagerRemote
2.17. Changed Class: SavedSearchManagerRemote
2.18. Changed Class: SystemManagerRemote

2.1. New Class: SynchronizationManagerRemote

2.1.1. New Associated Methods

ExportReport exportAllSubsystems(Subject subject);

void validate(Subject subject, byte[] exportFile) throws ValidationException;

ImportConfigurationDefinition getImportConfigurationDefinition(String synchronizerClass);

List<ImportConfigurationDefinition> getImportConfigurationDefinitionOfAllSynchronizers();

ImportReport importAllSubsystems(Subject subject, byte[] exportFile, List<ImportConfiguration> importerConfigurations) throws ValidationException, ImportException;

2.2. New Class: DriftManagerRemote

2.2.1. New Associated Methods

void deleteDriftDefinition(Subject subject, EntityContext entityContext, String driftDefName);

PageList<DriftDefinition> findDriftDefinitionsByCriteria(Subject subject, DriftDefinitionCriteria criteria);

PageList<? extends DriftChangeSet<?>> findDriftChangeSetsByCriteria(Subject subject, DriftChangeSetCriteria criteria) throws Exception;

PageList<? extends Drift<?, ?>> findDriftsByCriteria(Subject subject, DriftCriteria criteria) throws Exception;

FileDiffReport generateUnifiedDiff(Subject subject, Drift<?, ?> drift);

FileDiffReport generateUnifiedDiff(Subject subject, Drift<?, ?> drift1, Drift<?, ?> drift2);

FileDiffReport generateUnifiedDiffByIds(Subject subject, String driftId1, String driftId2);

String getDriftFileBits(Subject subject, String hash);

DriftSnapshot getSnapshot(Subject subject, DriftSnapshotRequest request);

void pinSnapshot(Subject subject, int driftDefId, int snapshotVersion);

void updateDriftDefinition(Subject subject, EntityContext entityContext, DriftDefinition driftConfig);

2.3. New Class: DriftTemplateManagerRemote

2.3.1. New Associated Methods

PageList<DriftDefinitionTemplate> findTemplatesByCriteria(Subject subject, DriftDefinitionTemplateCriteria criteria);

DriftDefinitionTemplate createTemplate(Subject subject, int resourceTypeId, boolean isUserDefined, DriftDefinition definition);

void pinTemplate(Subject subject, int templateId, int snapshotDriftDefId, int snapshotVersion);

void updateTemplate(Subject subject, DriftDefinitionTemplate template);

void deleteTemplate(Subject subject, int templateId);

2.4. New Class: ClusterManagerRemote

2.4.1. New Associated Methods

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.5. New Class: DashboardManagerRemote

2.5.1. New Associated Methods

public PageList<Dashboard> findDashboardsByCriteria(Subject subject, DashboardCriteria criteria);

public Dashboard storeDashboard(Subject subject, Dashboard dashboard);

public void removeDashboard(Subject subject, int dashboardId);

2.6. Changed Class: AlertDefinitionManagerRemote

2.6.1. New Associated Methods

int enableAlertDefinitions(Subject subject, int[] alertDefinitionIds);

int disableAlertDefinitions(Subject subject, int[] alertDefinitionIds);

int removeAlertDefinitions(Subject subject, int[] alertDefinitionIds);

String[] getAlertNotificationConfigurationPreview(Subject subject, AlertNotification[] notifications);

2.7. Changed Class: AlertManagerRemote

2.7.1. New Associated Methods

int deleteAlerts(Subject subject, int[] alertIds);

int deleteAlertsByContext(Subject subject, EntityContext context);

int acknowledgeAlerts(Subject subject, int[] alertIds);

int acknowledgeAlertsByContext(Subject subject, EntityContext context);

2.8. Changed Class: RoleManagerRemote

2.8.1. Changed Methods

Old method

Changed method

void deleteRoles(Subject subject, Integer[] roleIds);

void deleteRoles(Subject subject, int[] roleIds);

2.8.2. New Associated Methods

void setAssignedSubjectRoles(Subject subject, int subjectId, int[] roleIds)

2.9. Changed Class: BundleManagerRemote

2.9.1. Changed Methods

Old method

Changed method

BundleDestination createBundleDestination(Subject subject, int bundleId, String name, String description, String deployDir, Integer groupId) throws Exception;

BundleDestination createBundleDestination(Subject subject, int bundleId, String name, String description, String destBaseDirName, String deployDir, Integer groupId) throws Exception;

2.9.2. New Associated Methods

ResourceTypeBundleConfiguration getResourceTypeBundleConfiguration(Subject subject, int compatGroupId) throws Exception;

BundleVersion createBundleVersionViaByteArray(Subject subject, byte[] fileBytes) throws Exception;

void deleteBundles(Subject subject, int[] bundleIds) throws Exception;

void purgeBundleDestination(Subject subject, int bundleDestinationId) throws Exception;

2.10. Changed Class: ContentManagerRemote

2.10.1. New Associated Methods

public void deletePackageVersion(Subject subject, int resourceId);

PackageType findPackageType(Subject subject, Integer resourceTypeId, String packageTypeName);

PackageTypeAndVersionFormatComposite findPackageTypeWithVersionFormat (Subject subject, Integer resourceTypeId, String packageTypeName);

PageList<Package> findPackagesByCriteria(Subject subject,PackageCriteria criteria);

PageList<PackageAndLatestVersionComposite> findPackagesWithLatestVersion(Subject subject, PackageCriteria criteria);

2.11. Changed Class: RepoManagerRemote

2.11.1. Changed Methods

Old method

Changed method

int synchronizeRepos(Subject subject, Integer[] repoIds) throws Exception;

int synchronizeRepos(Subject subject, int[] repoIds) throws Exception;

2.11.2. New Associated Methods

PackageVersion getLatestPackageVersion(Subject subject, int packageId, int repoId);

boolean deletePackageVersionsFromRepo(Subject subject, int repoId, int[] packageVersionId);

2.12. Changed Class: DiscoveryBossRemote

2.12.1. Changed Methods

Old method

Changed method

void importResources(Subject subject, Integer[] resourceIds);

void importResources(Subject subject, int[] resourceIds);

void ignoreResources(Subject subject,Integer[] resourceIds);

void ignoreResources(Subject subject, int[] resourceIds);

void unignoreResources(Subject subject, Integer[] resourceIds);

void unignoreResources(Subject subject, int[] resourceIds);

2.13. Changed Class: MeasurementDataManagerRemote

2.13.1. New Associated Methods

PageList<MeasurementDataTrait> findTraitsByCriteria(Subject subject, MeasurementDataTraitCriteria criteria);

2.14. Changed Class: ResourceFactoryManagerRemote

2.14.1. Changed Methods

Old method

New method

void createResource( Subject subject, int parentResourceId, int resourceTypeId, String resourceName, Configuration pluginConfiguration, Configuration resourceConfiguration);

CreateResourceHistory createResource( Subject subject, int parentResourceId, int resourceTypeId, String resourceName, Configuration pluginConfiguration, Configuration resourceConfiguration, Integer timeout);

void createPackageBackedResource(Subject subject, int parentResourceId, int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, String packageName, String packageVersion, Integer architectureId, Configuration deploymentTimeConfiguration, byte[] packageBits);

CreateResourceHistory createPackageBackedResource(Subject subject, int parentResourceId, int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, String packageName, String packageVersion, Integer architectureId, Configuration deploymentTimeConfiguration, byte[] packageBits, Integer timeout);

void deleteResource( Subject subject, int resourceId);

DeleteResourceHistory deleteResource(Subject subject, int resourceId);

2.14.2. New Associated Methods

public CreateResourceHistory createPackageBackedResourceViaPackageVersion(Subject subject, int parentResourceId, int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, Configuration deploymentTimeConfiguration, int packageVersionId, Integer timeout);

List<DeleteResourceHistory> deleteResources(Subject subject, int[] resourceIds);

PageList<CreateResourceHistory> findCreateChildResourceHistory(Subject subject, int parentResourceId, Long beginDate, Long endDate, PageControl pageControl);

PageList<DeleteResourceHistory> findDeleteChildResourceHistory(Subject subject, int parentResourceId, Long beginDate, Long endDate, PageControl pageControl);

2.15. Changed Class: ResourceManagerRemote

2.15.1. New Associated Methods

Resource updateResource(Subject subject, Resource resource);

Map<Integer, String> getResourcesAncestry(Subject subject, Integer[] resourceIds, ResourceAncestryFormat format);

2.15.2. Removed Methods

PageList<ResourceComposite> findResourceComposites(Subject subject, ResourceCategory category, String typeName, int parentResourceId, String searchString, PageControl pageControl);

2.16. Changed Class: ResourceGroupManagerRemote

2.16.1. New Associated Methods

void deleteResourceGroups(Subject subject, int[] groupIds) throws ResourceGroupNotFoundException, ResourceGroupDeleteException;

2.17. Changed Class: SavedSearchManagerRemote

2.17.1. Changed Methods

Old Method

New Method

public void updateSavedSearch(Subject subject, SavedSearch savedSearch);

public boolean updateSavedSearch(Subject subject, SavedSearch savedSearch);

2.18. Changed Class: SystemManagerRemote

2.18.1. Removed Methods

ServerVersion getServerVersion(Subject subject) throws Exception;

2.18.2. New Associated Methods

ProductInfo getProductInfo(Subject subject);

ServerDetails getServerDetails(Subject subject);

Properties getSystemConfiguration(Subject subject);

SystemSettings getSystemSettings(Subject subject);

void setSystemConfiguration(Subject subject, Properties properties, boolean skipValidation) throws Exception;

void setSystemSettings(Subject subject, SystemSettings settings) throws Exception;

2.18.3. New Associated Methods

Properties getSystemConfiguration(Subject subject);

void setSystemConfiguration(Subject subject, Properties properties, boolean skipValidation) throws Exception;