git-eca-rest-api merge requestshttps://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests2020-03-09T14:47:23Zhttps://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/1Initial commit of work2020-03-09T14:47:23ZMartin Lowemartin.lowe@eclipse-foundation.orgInitial commit of workNot final, but represents ~90% completion state
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Not final, but represents ~90% completion state
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/2Added Jenkinsfile2020-03-31T14:21:09ZMartin Lowemartin.lowe@eclipse-foundation.orgAdded JenkinsfileSigned-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/3Update to JAVA_OPTIONS to include k8s config path by default2020-04-01T13:31:54ZMartin Lowemartin.lowe@eclipse-foundation.orgUpdate to JAVA_OPTIONS to include k8s config path by defaultSigned-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/4Fix for URL root in configs2020-04-01T17:19:13ZMartin Lowemartin.lowe@eclipse-foundation.orgFix for URL root in configshttps://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/5Fixed retrieval of repos based on different providers + hook updates2020-04-02T14:59:57ZMartin Lowemartin.lowe@eclipse-foundation.orgFixed retrieval of repos based on different providers + hook updatesUpdated rb hook for gitlab to use production endpoint since it is live.
Added gitlab + github repo members of the Project object. RElies on
changes that are currently in staging. Changed logic for retrieving
projects to contextually c...Updated rb hook for gitlab to use production endpoint since it is live.
Added gitlab + github repo members of the Project object. RElies on
changes that are currently in staging. Changed logic for retrieving
projects to contextually change where it looks for repositories based on
the request provider.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/8Added GL HOOK error string to eca ruby script2020-04-09T17:15:26ZMartin Lowemartin.lowe@eclipse-foundation.orgAdded GL HOOK error string to eca ruby scriptSigned-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/10GitLab pre-recieve hook: Merges being denied #92020-04-21T15:24:18ZMartin Lowemartin.lowe@eclipse-foundation.orgGitLab pre-recieve hook: Merges being denied #9Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/6Updated projects to properly fetch paginated results+precache on start2020-04-21T15:24:55ZMartin Lowemartin.lowe@eclipse-foundation.orgUpdated projects to properly fetch paginated results+precache on startAdded layer between validation and projects API layer. New service for
pagination of projects. This uses manually incrementing pages rather
than using link headers. This is not easily done within the RESTeasy API
builder paradigm, and...Added layer between validation and projects API layer. New service for
pagination of projects. This uses manually incrementing pages rather
than using link headers. This is not easily done within the RESTeasy API
builder paradigm, and will be taken as technical debt to fix. Added
separate cache layer to solve issue with long load times and always
available data with Loading rather than on demand cache.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/11switch to https2020-12-10T18:16:58ZChristopher Guindonchris.guindon@eclipse-foundation.orgswitch to httpsSigned-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/12Update eca.rb2020-12-10T18:16:54ZChristopher Guindonchris.guindon@eclipse-foundation.orgUpdate eca.rbSigned-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/14Added support for forks and untracked projects in API and pre-recieve2020-07-06T15:38:59ZMartin Lowemartin.lowe@eclipse-foundation.orgAdded support for forks and untracked projects in API and pre-recieveAdded logic to retrieve and check for information regarding parent
project if fork. Added support in API + ECA script for untracked/managed
projects.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Added logic to retrieve and check for information regarding parent
project if fork. Added support in API + ECA script for untracked/managed
projects.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/19`gsub': invalid byte sequence in US-ASCII (ArgumentError) #182020-07-27T20:54:08ZMartin Lowemartin.lowe@eclipse-foundation.org`gsub': invalid byte sequence in US-ASCII (ArgumentError) #18Force UTF-8 encoding on strings coming from the system. Currently they
are being cast as ASCII-US otherwise, which breaks on international
alphabets.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Force UTF-8 encoding on strings coming from the system. Currently they
are being cast as ASCII-US otherwise, which breaks on international
alphabets.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/21[gitlab] - each commit is reviewed twice #202020-07-31T13:06:39ZMartin Lowemartin.lowe@eclipse-foundation.org[gitlab] - each commit is reviewed twice #20Fixes #20. Fix warnings print to rint warnings instead of messages
twice.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Fixes #20. Fix warnings print to rint warnings instead of messages
twice.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/23Fix for timeouts in the GitLab ECA rb pre-recieve script2020-09-28T12:55:50ZMartin Lowemartin.lowe@eclipse-foundation.orgFix for timeouts in the GitLab ECA rb pre-recieve scriptFixed LoadingCache in projects service to fetch projects async instead
of blocking. Updated RB script with extra error checking. Incremented
Quarkus version to stable 1.3.1.Final from 1.3.0.Final. Added catch-all
runtime exception res...Fixed LoadingCache in projects service to fetch projects async instead
of blocking. Updated RB script with extra error checking. Incremented
Quarkus version to stable 1.3.1.Final from 1.3.0.Final. Added catch-all
runtime exception response mapper to stop HTML response on error pages.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/25Fix for tabs in JSON content.2020-09-28T14:35:51ZMartin Lowemartin.lowe@eclipse-foundation.orgFix for tabs in JSON content.Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/28Double quotes break in commits JSON parsing #272020-09-28T19:11:23ZMartin Lowemartin.lowe@eclipse-foundation.orgDouble quotes break in commits JSON parsing #27Fixed issue with double quotes by adding anchor character of `~` in
front of `"` in Git template string. Once fetched, a call is made to
replace all quotes that don't have the anchor character with &quot;,
then replace the anchored qu...Fixed issue with double quotes by adding anchor character of `~` in
front of `"` in Git template string. Once fetched, a call is made to
replace all quotes that don't have the anchor character with ",
then replace the anchored quotes with `"` to produce valid JSON.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/31Update to ECA script to be smarter with reading in commits2020-10-07T15:37:11ZMartin Lowemartin.lowe@eclipse-foundation.orgUpdate to ECA script to be smarter with reading in commitsChange from using rev-list to cherry for list of commits. Will remove
commits already tracked in default branch from checked commits. This
should prove to be more accurate than rev-list which did not respect
boundaries of branches/tre...Change from using rev-list to cherry for list of commits. Will remove
commits already tracked in default branch from checked commits. This
should prove to be more accurate than rev-list which did not respect
boundaries of branches/tree.
Includes fix for new line characters being randomly added to output
after switch over to using hash objects to store commit data directly.
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/34Add Gerrit repos field support to ECA API2020-11-18T13:24:14ZMartin Lowemartin.lowe@eclipse-foundation.orgAdd Gerrit repos field support to ECA APISigned-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/35Update Jenkinsfile2020-12-10T18:17:00ZChristopher Guindonchris.guindon@eclipse-foundation.orgUpdate Jenkinsfile*Created by: mbarbero*
Prevents cache collisions between jobs
*Created by: mbarbero*
Prevents cache collisions between jobs
https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api/-/merge_requests/36Add strict mode to force full validation in some cases2020-12-08T18:03:39ZMartin Lowemartin.lowe@eclipse-foundation.orgAdd strict mode to force full validation in some casesSigned-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>