Commit Graph

5481 Commits

Author SHA1 Message Date
René Pfeuffer
67278582e3 Update to Mockito v2 2018-08-08 09:20:08 +02:00
Johannes Schnatterer
499be7314e Merged 2.0.0-m3 into feature/repository_config_v2_endpoint 2018-08-07 17:37:25 +02:00
Johannes Schnatterer
15da105683 Commits missing changes for HgConfigPackagesToDtoMapper 2018-08-07 17:23:52 +02:00
René Pfeuffer
47b55414f0 Add missing test 2018-08-07 17:06:33 +02:00
René Pfeuffer
8dd7aafecd Add missing documentation 2018-08-07 16:59:44 +02:00
René Pfeuffer
bf0c559a7d Use try-with-resources 2018-08-07 16:52:40 +02:00
Johannes Schnatterer
45822c44cb Deliver HgConfigPackages no longer as embedded.
They don't have an own identity in terms of REST and its much simpler
to return a simple list instead of an _embedded list.
Also gets rid of one HgConfigPackageToDtoMapper.
2018-08-07 16:47:03 +02:00
Sebastian Sdorra
15255aeeb1 merge with branch feature/repositories-ui 2018-08-07 16:34:26 +02:00
Philipp Czora
61a3e2d3a7 Merged heads 2018-08-07 16:20:12 +02:00
Sebastian Sdorra
0efbf05cb6 close branch feature/repositories-ui 2018-08-07 16:18:24 +02:00
René Pfeuffer
42aac06f0a Add branch endpoint 2018-08-07 16:15:52 +02:00
Sebastian Sdorra
8437c2dfba Merged in feature/integration_test_v2 (pull request #54)
Integration tests for v2
2018-08-07 14:14:43 +00:00
Sebastian Sdorra
75933c4f82 Close branch feature/integration_test_v2 2018-08-07 14:14:43 +00:00
Sebastian Sdorra
eaa99bf445 mark build as unstable, if an integration test fails 2018-08-07 16:05:44 +02:00
Maren Süwer
762044868c refactoring: change user to member since members do not have to be users 2018-08-07 15:51:02 +02:00
Sebastian Sdorra
77edb49f2a use scm-webapp from local repository and not from target directory 2018-08-07 15:50:38 +02:00
Sebastian Sdorra
0a887be349 cleanup pom of scm-it module 2018-08-07 15:39:39 +02:00
René Pfeuffer
14611d89d0 Add branch collection endpoint 2018-08-07 15:15:12 +02:00
Sebastian Sdorra
b251f61471 reenable flow for pre-commit 2018-08-07 15:10:47 +02:00
Sebastian Sdorra
7bf76a91f5 fixed review notes 2018-08-07 15:08:44 +02:00
Philipp Czora
d4ab19d730 Fixed issues according to review 2018-08-07 14:30:40 +02:00
Maren Süwer
839eb8d618 renaming of repository-types files to repositoryTypes 2018-08-07 14:00:29 +02:00
Maren Süwer
5731b607be change repository-types to repositoryTypes 2018-08-07 12:58:16 +02:00
Johannes Schnatterer
adde70f090 Fixes NPE in HgConfigPackageResource for non-existing packages. 2018-08-07 10:44:18 +02:00
Johannes Schnatterer
869821f6db Fixes some SQ Issues regarding DTO add(Links) methods. 2018-08-06 17:47:46 +02:00
Johannes Schnatterer
730c2ae358 Adds test for HgConfigAutoConfigurationResource, its DTO and mappers. 2018-08-06 17:39:05 +02:00
Philipp Czora
7549a31065 Made EditGroup prettier 2018-08-06 17:04:33 +02:00
Johannes Schnatterer
45e48e1834 Adds test for HgConfigInstallationsResource, its DTO and mappers. 2018-08-06 17:00:50 +02:00
Philipp Czora
9f6466eaa5 Fixed button behavior 2018-08-06 16:57:46 +02:00
Philipp Czora
9de80c6070 Added styling for user list 2018-08-06 16:56:32 +02:00
Philipp Czora
5e4f979ada Implemented rendering user list as <ul> 2018-08-06 16:51:54 +02:00
René Pfeuffer
a33c524611 Add integration test stage in CI build 2018-08-06 16:37:22 +02:00
Johannes Schnatterer
7d59975c80 Adds test for HgConfigPackageResource, its DTO and mappers. 2018-08-06 16:21:46 +02:00
René Pfeuffer
04999bba86 Move test data creation to class TestData 2018-08-06 16:16:19 +02:00
Philipp Czora
9a4896b55d Implemented editing of repos (in UI) 2018-08-06 15:41:20 +02:00
René Pfeuffer
6fff26eb76 Add http protocol link to repository object response 2018-08-06 15:34:31 +02:00
René Pfeuffer
07e7fd91aa Use existing constants 2018-08-06 14:22:07 +02:00
Johannes Schnatterer
c371369032 Maven: Don't package ces-build-lib into plugins. 2018-08-06 14:09:24 +02:00
Johannes Schnatterer
3d13d8ad1c Introduces assertJ for more efficient and maintainable testing. 2018-08-06 14:08:57 +02:00
René Pfeuffer
62f0e3f505 Add checks to repository tests 2018-08-06 14:06:36 +02:00
Sebastian Sdorra
74a858b800 merge branch heads 2018-08-06 13:58:34 +02:00
Sebastian Sdorra
a3c00b9e12 improve typing and fixed import 2018-08-06 13:55:54 +02:00
René Pfeuffer
e3d2997e71 Migrate IT for read and commit from/to repository to new module 2018-08-06 13:48:06 +02:00
Johannes Schnatterer
d327298bd1 Adds jackson2 resteasy provider to plugins for testing.
Otherwise the tests using Resteasy mocks will fail with:
"org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object"
2018-08-06 13:47:04 +02:00
Johannes Schnatterer
fc0676d511 Moves jackson annotations dependency to core.
Will be needed by plugins in future.
2018-08-06 12:57:44 +02:00
René Pfeuffer
c87179e686 Build json in integration test via java ee builder 2018-08-06 11:53:45 +02:00
Johannes Schnatterer
0179cc3369 Adds profile for rest docs to plugins module.
It's redundant (also configured in webapp) but would fail the core
build if activated.
2018-08-06 11:52:31 +02:00
Johannes Schnatterer
a07c9c18dd Gets rid of redundant dependency declarations in plugins and webapp.
It's better to define the "web"/REST dependencies that are used by
plugins once in core, instead of redundant in webapp and plugins.
This should create better awareness when changing the dependency version
(changing in core is always critical due to API downward compatibility).
2018-08-06 11:36:08 +02:00
René Pfeuffer
2316e5ea7e Cleanup repository archive integration test 2018-08-06 11:28:12 +02:00
René Pfeuffer
1f1ecb6f9b Delete cache integration tests 2018-08-06 11:27:56 +02:00