Ir al final de los metadatos
Ir al inicio de los metadatos
UC-03a | VersionManagement - Add version |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_PRODUCT_MANAGER
|
Description | Functionality to add new product versions |
Secuence | - User request to add a product
- System returns version creation form.
- User add general version information. I18N fields (release notes and links) will be provided for the prefered_language.
- UI offers to define new languages: One option it's to copy current texts to a new language or fill the empty fields.
- PubishDate and UploadDate will not be editable and will be empty when it's created.
- System receives request and save it to storage.
- System may offer the option to add artifacts to the product(@see UC-04e ArtifactManagement-uploadArtifact)
|
Postconditions | Audit fields must save who created that version. |
Exceptions | System must reject version if provided product KEY does not exist. |
Comments | None |
→ TODO
UC-03b | VersionManagement - Update version |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User may require ROLE_PRODUCT_MANAGER
|
Description | Functionality to update a version |
Secuence | - User request to obtain a product version by primary key to be modified
- If version is published system warns user about this fact and recomends to create a new version. System offers the option to force update.
- System returns product version model.
- User updates version information. User can updates I18n fields for the defined languages, add new languages or remove an existent one.
- System receives request and save it to storage. field will be ignored.
- PubishDate and UploadDate will not be editable.
- User may add/remove new artifacts to the current version
- (@see UC-04e ArtifactManagement-uploadArtifact and UC-04f ArtifactManagement-removeArtifact)
- If new artifacts are modified UploadDate must be updated. PublishDate may remain unchanged.
|
Postconditions | Audit fields must save who modified that version. |
Exceptions | System will raise and exception if primarey key does not exist. |
Comments | None |
UC-03c | VersionManagement - Remove version |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
|
Description | Functionality to remove a version |
Secuence | - User request to remove a version by primary key.
- System will warn about the loose of data (versions and storage).
- User accepts to remove the version.
- System removes associated artifacts (@see UC-04f ArtifactManagement-removeArtifact). Once delete, it removes the version itself.
|
Postconditions | None |
Exceptions | System will raise and exception if primary key does not exist. |
Comments | None |
UC-03d | VersionManagement - Publish version |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
|
Description | Functionality to publish a version |
Secuence | - User request to publish a version. User may update:
- Tag values
- PublishDate - (Date must be prefilled with current timestamp)
- System checks that version has not been published yet.
- System updates tags and publication date.
- System will notify customers about that new release @see UC-XXa CustomerNotifications - sendEmail
|
Postconditions | Audit 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 |
Comments | None |
UC-03e | VersionManagement - Find versions |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User could have ANY ROLE
|
Description | Functionality to search for versions |
Secuence | - User request for a list of versions passing a request criteria
- System will query database 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.
- If user has role ROLE_CUSTOMER, licensed version attributes must be calculated: @see UC-03g Version Management - validate Licenses and applied to the response.
- System may offer customer navigation to version artifacts download area. (Customers could only request download for validated versions).
|
Postconditions | None |
Exceptions | None |
Comments | None |