Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

UC-03b

VersionManagement - Update version

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User may require ROLE_PRODUCT_MANAGER
DescriptionFunctionality to update a version
Secuence
  1. User request to obtain a product version by primary key to be modified
  2. If version is published system warns user about this fact and recomends to create a new version. System offers the option to force update.
  3. System returns product version model.
  4. User updates version information. User can updates I18n fields for the defined languages, add new languages or remove an existent one.
  5. System receives request and save it to storage.  field will be ignored.
  6. PubishDate and UploadDate will not be editable.
  7. User may add/remove new artifacts to the current version  
  8. (@see UC-04e ArtifactManagement-uploadArtifact and UC-04f ArtifactManagement-removeArtifact)
  9. If new artifacts are modified UploadDate must be updated. PublishDate may remain unchanged.
PostconditionsAudit fields must save who modified that version.
Exceptions

System will raise and exception if primarey key does not exist.

CommentsNone

...

UC-03c

VersionManagement - Remove version

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_ADMINISTRATIVE_USER
DescriptionFunctionality to remove a version
Secuence
  1. User request to remove a version by primary key.
  2. System will warn about the loose of data (versions and storage).
  3. User accepts to remove the version.
  4. System removes associated artifacts (@see UC-04f ArtifactManagement-removeArtifact). Once delete, it removes the version itself.
PostconditionsNone
Exceptions

System will raise and exception if primary key does not exist.

CommentsNone

...

UC-03d

VersionManagement - Publish version

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_ADMINISTRATIVE_USER
DescriptionFunctionality to publish a version
Secuence
  1. User request to publish a version. User may update:
    1. Tag values
    2. PublishDate - (Date must be prefilled with current timestamp)
  2. System checks that version has not been published yet.
  3. System updates tags and publication date.
  4. System will notify customers about that new release @see UC-XXa CustomerNotifications -  sendEmail
PostconditionsAudit fields must save who updated version
Exceptions

System will raise and exception if primarey key does not exist.

System will raise and exception if current version has just been published

CommentsNone

...