Commit Graph

4873 Commits

Author SHA1 Message Date
Philipp Czora
390ba29bee Renamed tests 2018-08-08 15:14:39 +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
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
Sebastian Sdorra
0efbf05cb6 close branch feature/repositories-ui 2018-08-07 16:18:24 +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
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
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
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
Johannes Schnatterer
45e48e1834 Adds test for HgConfigInstallationsResource, its DTO and mappers. 2018-08-06 17:00:50 +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
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
René Pfeuffer
83005bebf4 Use namespace and name instead of id in repository hooks 2018-08-06 11:11:44 +02:00
Sebastian Sdorra
ffbfdff52e finish delete implementation and restructure components 2018-08-06 10:08:28 +02:00
René Pfeuffer
8f4c48b381 Remove unused ME media type 2018-08-03 13:52:54 +02:00
René Pfeuffer
e60bea5f08 Simplify scm test parameters 2018-08-03 10:42:47 +02:00
Sebastian Sdorra
f0794c9d15 implemented action and selectors for delete repository 2018-08-03 09:54:04 +02:00
René Pfeuffer
62f8509e85 Introduce new integration test module 2018-08-03 09:38:13 +02:00
Sebastian Sdorra
b32c8501f1 improve user and repository detail pages 2018-08-03 09:34:39 +02:00
René Pfeuffer
fd873877c4 Fix old integration tests for migration period 2018-08-03 09:28:54 +02:00
Sebastian Sdorra
211551a5be implemented create repository 2018-08-03 08:52:02 +02:00
René Pfeuffer
ebe3ef8c3e Remove unused exception constructors 2018-08-03 08:40:01 +02:00
Sebastian Sdorra
a70420bb06 trigger change of Select after render, if value was not set to fix empty without change 2018-08-03 08:38:18 +02:00
Sebastian Sdorra
5ddc595bf1 don't unmount create form on error 2018-08-03 08:37:09 +02:00
Sebastian Sdorra
9f4f57cdc1 simplify the post and put api of the apiClient 2018-08-03 08:36:16 +02:00
René Pfeuffer
f0f57de4b5 Remove error prone getByNamespace method
This method does not report missing permissions correctly.
2018-08-03 08:35:55 +02:00