insertAssetUploading

@Modifying(clearAutomatically = true)
@Query(value = "INSERT INTO " + ASSET_UPLOADING_EVENTS_KEY + " (" + IDENTIFIER_KEY + "," + RELEASE_EVENT_DATE_KEY + "," + RELEASE_IDENTIFIER_KEY + "," + RELEASE_EVENT_STATUS_KEY + "," + COMMENT_KEY + " )" + " VALUES (" + ":" + IDENTIFIER_KEY + "," + ":" + RELEASE_EVENT_DATE_KEY + "," + ":" + RELEASE_IDENTIFIER_KEY + "," + ":" + RELEASE_EVENT_STATUS_KEY + "," + ":" + COMMENT_KEY + ")", nativeQuery = true)
abstract fun insertAssetUploading(@Param(value = "id") eventId: String, @Param(value = "release_event_date") releaseEventDate: Long, @Param(value = "release_id") releaseId: String, @Param(value = "status") status: String, @Param(value = "comment") comment: String)

Method to execute the query to insert a new asset uploading event (AssetUploadingEvent)

Parameters

eventId

: the identifier of the event

releaseEventDate

: date when the event occurred

releaseId

: the identifier of the release when the event occurred

status

: the status of the event (Verifying)

comment

: the comment about the assets uploaded