ReleasesController
@RestController
@RequestMapping(value = "BASE_EQUINOX_ENDPOINT + "{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}/"
+ RELEASES_KEY")
The ReleasesController
class is useful to manage all the release operations
Author
N7ghtm4r3 - Tecknobit
See also
Constructors
Link copied to clipboard
Constructor to init the ProjectsController controller
Properties
Link copied to clipboard
currentProject
the current project in useLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
projectsHelper
helper to manage the project database operationsLink copied to clipboard
releasesHelper
helper to manage the releases database operationsLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Method to get whether the user who made a request on server is an authorized member of a project
Link copied to clipboard
@PostMapping(path = "/{" + RELEASE_IDENTIFIER_KEY + "}" + COMMENT_ASSET_ENDPOINT + "{" + ASSET_UPLOADING_EVENT_IDENTIFIER_KEY + "}", headers = [])
Method to comment the last assets uploaded on a release
Link copied to clipboard
@GetMapping(path = ""/{" + RELEASE_IDENTIFIER_KEY + "}" + CREATE_REPORT_ENDPOINT", headers = [])
Method to create a report for a release
Link copied to clipboard
@DeleteMapping(path = "/{" + RELEASE_IDENTIFIER_KEY + "}", headers = [])
Method to delete a release
Link copied to clipboard
@PatchMapping(path = "/{" + RELEASE_IDENTIFIER_KEY + "}", headers = [])
Method to add a release
Link copied to clipboard
Link copied to clipboard
@PutMapping(path = "/{" + RELEASE_IDENTIFIER_KEY + "}" + EVENTS_ENDPOINT + "{" + RELEASE_EVENT_IDENTIFIER_KEY + "}"
+ TAGS_ENDPOINT + "{" + RELEASE_TAG_IDENTIFIER_KEY + "}", headers = [])
Method to fill a rejected tag
Link copied to clipboard
Method to format the version of a release No-any params required
Link copied to clipboard
Link copied to clipboard
@GetMapping(path = "/{" + RELEASE_IDENTIFIER_KEY + "}", headers = [])
Method to get a release
Link copied to clipboard
Method to get a release if the user is authorized and if the release is attached to the requested project
Link copied to clipboard
Link copied to clipboard
Method to get whether the user who made a request on server is an authorized member to make operations on the checked project such upload asset or promote releases, so is the author or a Vendor
Link copied to clipboard
Method to get whether the user who made a request on server is the author of the checked project
Link copied to clipboard
Method to get whether the user who made a request on server is a qualified member to make operations on the checked project such comment release, so is a Customer
Link copied to clipboard
Link copied to clipboard
@PatchMapping(path = ""/{" + RELEASE_IDENTIFIER_KEY + "}" + PROMOTE_RELEASE_ENDPOINT", headers = [])
Method to promote a release
Link copied to clipboard
Link copied to clipboard
@PostMapping(path = ""/{" + RELEASE_IDENTIFIER_KEY + "}" + UPLOAD_ASSETS_ENDPOINT", headers = [])
Method to upload some assets on a release