stable
Clone or download
Read-only
chore: request #39675 Use UUID instead of an auto-incremented INT in plugin_hudson_git_project_server table
The whole thing is a bit annoying notably because we still need to keep an auto-incremented ID. This ID is exposed in the REST API (but not used apparently...) and changing the type would result in a breaking change. No functional changes expected. Change-Id: Id4cb41d949040c189b8576b7779dbbaf1913d676
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/hudson_git/db/install.sql | +5 | −3 | Go to diff View file |
A | plugins/hudson_git/db/mysql/updates/2024/202409131640_use_uuid_project_server.php | +50 | −0 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/DeleteController.php | +4 | −5 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServer.php | +3 | −17 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServerDao.php | +30 | −18 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServerDeleter.php | +4 | −4 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServerFactory.php | +3 | −11 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServerPresenter.php | +2 | −5 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Job/ProjectJobDao.php | +19 | −13 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Log/LogCreator.php | +1 | −1 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Log/LogFactory.php | +1 | −1 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/REST/v1/GitJenkinsServersResource.php | +2 | −5 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/REST/v1/JenkinsServerRepresentation.php | +2 | −24 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/REST/v1/JenkinsServerRepresentationCollection.php | +4 | −7 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/AdministrationControllerTest.php | +2 | −1 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/DeleteControllerTest.php | +12 | −25 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/JenkinsServerDeleterTest.php | +3 | −13 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/XML/XMLExporterTest.php | +3 | −2 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Hook/HookTriggerControllerTest.php | +4 | −3 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Log/LogCreatorTest.php | +6 | −5 | Go to diff View file |
A | tests/lib/DB/UUIDTestContext.php | +50 | −0 | Go to diff View file |