Versiones comparadas

Clave

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

...

UC-03a

VersionManagement - Add version

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_PRODUCT_MANAGER
DescriptionFunctionality to add new product versions
Secuence
  1. User request to add a product
  2. System returns version creation form.
  3. User add general version information. I18N fields (release notes and links) will be provided for the prefered_language.
  4. UI offers to define new languages: One option it's to copy current texts to a new language or fill the empty fields.
  5. PubishDate and UploadDate will not be editable and will be empty when it's created.
  6. System receives request and save it to storage. 
  7. System may offer the option to add artifacts to the product(@see UC-04e ArtifactManagement-uploadArtifact)
PostconditionsAudit fields must save who created that version.
ExceptionsSystem must reject version if provided product KEY does not exist.
CommentsNone

...

→ TODO

UC-03b

VersionManagement - Update

product

version

Versión1.0
DependenciesNone
Preconditions
  • User must be loggedUser must have ROLE_ADMINISTRATIVE_USER
  • User may require ROLE_PRODUCT_MANAGER
DescriptionFunctionality to update a productversion
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 detailed version model.
  4. User updates general product 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. PRODUCT_KEY AND VISIBILITY field  field will be ignored.
  6. PubishDate and UploadDate will not be editable.Licensed product field may only be editable by productManagers. By default keeps
  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 productversion.
Exceptions

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

CommentsProduct KEYs are mandatory and primary keys and could not be modified once a product is created.None


UC-03c

VersionManagement - Remove

product

version

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_ADMINISTRATIVE_USER
DescriptionFunctionality to remove a productversion
Secuence
  1. User request to remove a product version by primary key.
  2. System will warn about the loose of data (versions and storage).
  3. User accepts to remove the productversion.
  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 -

 Change product visibility

 Publish version

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_PRODUCTADMINISTRATIVE_MANAGERUSER
DescriptionFunctionality to update product visibilitypublish a version
Secuence
  1. User request to change product visibility by primary key
  2. System will check the number of versions that are published:
    1. If visible = 0: Warn about that situation to the user
  3. System updates product.publish a version. User may update:
    1. Tag values
    2. PublishDate - (Date must be prefilled with current timestamp)
  4. System checks that version has not been published yet.
  5. System updates tags and publication date.
  6. System will notify customers about that new release @see UC-XXa CustomerNotifications -  sendEmail
PostconditionsAudit fields must save who modified the productupdated 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


UC-03e

VersionManagement - Find

products

versions

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User could have ANY ROLE
DescriptionFunctionality to search for categoriesversions
Secuence
  1. User request for a list of products.versions passing a request criteria
  2. System will query database using for associated versions using provided parameters. If version details are requested then it will be included in response. Product and versioni18N fields must be returned in all the configured languages.
  3. If user has role ROLE_CUSTOMER, licensed version attributes must be calculated: @see UC-03g Version Management -  validate Licenses and applied to the response.
  4. System may offer customer navigation to version artifacts download area. (Customers could only request download for validated versions).
PostconditionsNone
Exceptions

None

CommentsNone

...