Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

COSMOS Use Cases for SDD

Revision as of 17:31, 21 January 2008 by Jason.losh.sas.com (Talk | contribs) (Elaboration of Use Cases)

Overview

This is the working area for the definition of the COSMOS Use Cases for SDD.

When complete, the use case will be moved to the COSMOS Use Cases page and incorporated into a milestone.

All use case definitions should follow the guidelines described on the COSMOS Use Cases.

Elaboration of Use Cases

Use Cases for Deployment

Use Case Definitions -- notes from 1/14 discussion

Tooling Use Cases
1) Use case: normal development creates artifacts which reside somewhere. Need to create SDDs for these artifacts based on the build information. Build information can be metadata somewhere or introspected from the artifact itself.
2) Separate use case: just introspect the artifact and create as much of the SDD as possible. This is useful especially in the case of a 3rd party component, where the build information is not available.
3) Support for build systems beyond the popular rpn, msi, etc. so that metadata from those systems could be brought in.
4) Need a set of rules for assembling the metadata and resolving conflicts (when the same set of data occurs with different values)
5) As the SDD is being created, validate that what has been created is syntactically correct. Validation may be turned on or off. A plug-in rules engine could also be useful to validate user extensions that are allowed by the validation process.
6) In addition to SDD creation, there is a use case for creating the actual package(Package Generation): SDD and artifact onto "media" that would make it consumable. May need to include SDD runtime and repository code in the packaging.
7) Tool must be able to be configured (where is data source, what rules are created, etc): basic administration of the tool parameters. For example, when moving the tool for use in another department or product. These things will be configurable:

  • artifact inputs
  • location of SDD outputs
  • custom rules for creation and validation
  • SDD content constraints (per IU, CU, LU)

8) Need a GUI front end to create and edit the SDD that has been initially created, or create one from scratch. GUI tool could also need the options to validate, package and deploy. Such a front end would need the same kind of location definitions and constraint administration to allow or disallow parts of the SDD that are "editable".

Deployment
Background: There are two categories of applications: Non-Federated and Federated (whether it is exposed to a federated inventory kind of database or not). For Federated Applications: need Web Services port open, take CMDBf graph queries and give replies about the MDR.
Assumptions: No way to know if a federated CMDB is accessible or not. But if it is, need to query it and write to it. Using the federated CMDB is the extra step in the below use cases for the federated case. Which repository to use should be transparent to the install program as much as possible, it should be handled by the runtime based on a configuration setting or documented install parm (e.g., CMDBf = True, CMDBServer=ipaddr).
The install target can be one of: Test/Development, Production, Hardened.
Requirement to run from media is supported by OASIS use cases 14, 15, 192.
What format is required for the repository? SML? Single MDR for the non-federated case that represents all software on the system? Store is not as important as being able to get the right info in and out of it.

Deployment Use cases:
1) Installing a Non-Federated application: include a runtime to interpret the package and perfrom these tasks:

  • bootstrap the runtime if not already there
  • install the artifacts
  • register the existence of the resource in a repository (create/initialize if not already there)
  • completion actions (reboot, start/stop service, cleanup, etc.).

2) Uninstalling a Non-Federated application: perform these tasks

  • bootstrap the runtime if not already there
  • de-register the resource from the repository
  • remove the application
  • completion actions (reboot, start/stop service, cleanup, etc.)

3) Configuring a Non-Federated application: perform these tasks

  • bootstrap the runtime if not already there
  • configure the artifacts
  • register the configuration change in a repository (create/initialize if not already there)
  • completion actions (reboot, start/stop service, cleanup, etc.).

4) Undo a Non-Federated application: perform these tasks

  • bootstrap the runtime if not already there
  • remove the last level of update to the application
  • change the registration as needed. Undo only applies to an update to a resource, not a configuration.
  • completion actions (reboot, start/stop service, cleanup, etc.)

5) Updating a Non-Federated application: perform these tasks

  • bootstrap the runtime if not already there
  • update the application
  • change the registration as needed.
  • completion actions (reboot, start/stop service, cleanup, etc.)

6) Be able to register in federated CMDB without requiring a re-install (for updating an already-installed application into the CMDB).

Back to the top