Commit Graph

4797 Commits

Author SHA1 Message Date
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
René Pfeuffer
a33c524611 Add integration test stage in CI build 2018-08-06 16:37:22 +02:00
René Pfeuffer
04999bba86 Move test data creation to class TestData 2018-08-06 16:16:19 +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
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
René Pfeuffer
c87179e686 Build json in integration test via java ee builder 2018-08-06 11:53:45 +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
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
René Pfeuffer
62f8509e85 Introduce new integration test module 2018-08-03 09:38:13 +02:00
René Pfeuffer
fd873877c4 Fix old integration tests for migration period 2018-08-03 09:28:54 +02:00
René Pfeuffer
ebe3ef8c3e Remove unused exception constructors 2018-08-03 08:40:01 +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
René Pfeuffer
3838406ee8 Adapt git repository paths for LFS handling to namespaces 2018-08-02 15:14:40 +02:00
René Pfeuffer
f191f2833d Fix handling of RepositoryIsNotArchivedException 2018-08-02 08:56:03 +02:00
Sebastian Sdorra
d49c07b992 change collection type hint from array of dto to CollectionDto 2018-08-02 13:20:37 +02:00
Johannes Schnatterer
e7ca81a6f4 Merge 2018-08-01 14:17:48 +02:00
Johannes Schnatterer
11e2112e80 Adds docs for config and me resources 2018-08-01 14:16:08 +02:00
Philipp Czora
aa344221d6 Merged heads 2018-08-01 13:55:29 +02:00
Philipp Czora
952067acb9 Fixed bug preventing frontend tests to be skipped when -DskipTests is set 2018-08-01 13:54:15 +02:00
René Pfeuffer
41170a1c83 Fix error for multiple creation of repositories 2018-08-01 11:40:09 +02:00
René Pfeuffer
44d96f29ad Initialize missing user database at startup 2018-08-01 09:59:23 +02:00
Johannes Schnatterer
b27f4c277c Merged in feature/global_config_v2_endpoint (pull request #51)
Feature/global config v2 endpoint
2018-07-31 14:25:49 +00:00
Johannes Schnatterer
4dc905d49a Close branch feature/global_config_v2_endpoint 2018-07-31 14:25:49 +00:00
Johannes Schnatterer
c3b7703f2b Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-31 16:21:40 +02:00
Johannes Schnatterer
865929b328 Renames globalConfig to config.
From an SCMM point of view there is only one config, so no "global" necessary.
The others configs are provided by plugins.
2018-07-31 14:47:15 +02:00
Johannes Schnatterer
1db45a7892 Updates Shiro Static Permission to deterministic version.
Contains PR that can generate interfaces.
2018-07-31 14:42:47 +02:00
Johannes Schnatterer
ca93735514 Return no content on PUT /config 2018-07-31 14:14:21 +02:00
Johannes Schnatterer
912dea6d6e Simplifies GlobalConfigDto.
Use camel case everywhere and no XML annotation.
2018-07-31 14:13:41 +02:00
Johannes Schnatterer
9aaca22942 DTO Config Mapper: Adds tests for all properties 2018-07-31 13:43:43 +02:00
Johannes Schnatterer
c7ce170513 Config DTO Mapper: Adds tests for all properties 2018-07-31 13:18:27 +02:00
Sebastian Sdorra
54b47ae74b merge with branch feature/ui-for-scm2 2018-07-31 08:28:40 +02:00
Sebastian Sdorra
9d7a76ed62 close branch feature/ui-for-scm2 2018-07-31 08:21:52 +02:00
Johannes Schnatterer
7572580ac1 Create fine-grained configuration permissions.
No more hard-coded isAdmin() checks.
2018-07-30 17:41:00 +02:00
Philipp Czora
ea5ef13cfb Added tests for AuthenticationResource 2018-07-30 17:07:22 +02:00
Sebastian Sdorra
dc0ed6b695 remove legacy exception handling from AuthenticationResource 2018-07-30 16:19:21 +02:00
Sebastian Sdorra
b8897b273a do not use IllegalArgumentException for parameter validation 2018-07-30 16:13:17 +02:00
Sebastian Sdorra
cba3fc38e6 fixed code smells and added some more tests 2018-07-30 15:51:45 +02:00
Sebastian Sdorra
b825de3058 use pending and error module for auth, me and logout 2018-07-30 15:29:23 +02:00
Philipp Czora
e122a254c3 Added unit tests for users selectors 2018-07-30 15:04:44 +02:00
Sebastian Sdorra
8afc85daa1 added test execution to pre-commit goal 2018-07-30 13:42:06 +02:00
Sebastian Sdorra
a9ca309b39 fixed failing selector test 2018-07-30 13:41:42 +02:00