Issue 7302: Add "replace" parameter to installPackage (deployment-ftf) Source: Mercury Computer Systems (Mr. Frank Pilhofer, fpilhofe@mc.com) Nature: Uncategorized Issue Severity: Summary: The RepositoryManager has two operations to install packages in the Repository: installPackage() and createPackage(). But while the latter has a "replace" parameter, to decide whether an existing package (with the same installationName) shall be replaced or not, the former doesn't. I don't see why this difference should exist. Proposed resolution: In section 6.5.1.2 (RepositoryManager operations), add a third "replace" parameter of boolean type to the installPackage operation. Thus, change installPackage (installationName: String, location: String) Installs a package in the repository, under the given installation name. Raises the NameExists exception if a configuration by this name already exists. Raises the PackageError exception if an internal error is detected in the package. to installPackage (installationName: String, location: String, replace: Boolean) Installs a package in the repository, under the given installation name. If the replace parameter is true, an existing PackageConfiguration with the same name is replaced. If the replace parameter is false, and if a package with the same name exists in the repository, the NameExists exception is raised. Raises the PackageError exception if an internal error is detected in the package. Resolution: Revised Text: In section 6.5.1.2 (RepositoryManager operations), add a third "replace" parameter of boolean type to the installPackage operation. Thus, change installPackage (installationName: String, location: String) Installs a package in the repository, under the given installation name. Raises the NameExists exception if a configuration by this name already exists. Raises the PackageError exception if an internal error is detected in the package. to installPackage (installationName: String, location: String, replace: Boolean) Installs a package in the repository, under the given installation name. If the replace parameter is true, an existing PackageConfiguration with the same name is replaced. If the replace parameter is false, and if a package with the same name exists in the repository, the NameExists exception is raised. Raises the PackageError exception if an internal error is detected in the package. Actions taken: May 5, 2004: received issue May 9, 2005: closed issue Discussion: Resolution: Add a third "replace" parameter of boolean type to the installPackage operation. End of Annotations:===== ubject: Add "replace" parameter to installPackage Date: Wed, 5 May 2004 13:22:30 -0400 Thread-Topic: Add "replace" parameter to installPackage Thread-Index: AcQyxYsFwmkRjM2EQe6/D3TsPHRcDg== From: "Pilhofer, Frank" To: Cc: X-MIME-Autoconverted: from quoted-printable to 8bit by amethyst.omg.org id i45HMrFh008035 The RepositoryManager has two operations to install packages in the Repository: installPackage() and createPackage(). But while the latter has a "replace" parameter, to decide whether an existing package (with the same installationName) shall be replaced or not, the former doesn't. I don't see why this difference should exist. Proposed resolution: In section 6.5.1.2 (RepositoryManager operations), add a third "replace" parameter of boolean type to the installPackage operation. Thus, change installPackage (installationName: String, location: String) Installs a package in the repository, under the given installation name. Raises the NameExists exception if a configuration by this name already exists. Raises the PackageError exception if an internal error is detected in the package. to installPackage (installationName: String, location: String, replace: Boolean) Installs a package in the repository, under the given installation name. If the replace parameter is true, an existing PackageConfiguration with the same name is replaced. If the replace parameter is false, and if a package with the same name exists in the repository, the NameExists exception is raised. Raises the PackageError exception if an internal error is detected in the package.