Avgustin Marinov
8558b96de1
Spring upgrade to 2.7.15 ( #1428 )
...
Spring and some other dependencies upgraded
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-09-14 12:42:17 +03:00
Avgustin Marinov
9c86729a68
[#1393,#1008] Switch to Eclipse v2.0 license ( #1427 )
...
Switching license from EPL v1 to v2. Following
https://www.eclipse.org/legal/epl-2.0/faq.php#h.tci84nlsqpgw
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-09-14 11:03:20 +03:00
Stanislav Trailov
0ee081dafc
hawkBit Swagger support ( #1423 )
...
* Swagger support initial concept
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add descriptions for Target tags
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add target filter queries descriptions
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add target api descriptions
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add software modules API descriptions
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add descriptions for DS, DSTags and SMTypes
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add DistributionSetType API descriptions
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add Rollout API descriptions
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Bring back test scope to mariaDb
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Add tags and descriptions to System config API
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Move away OpenAPI config from Start.java
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* provide license header and project version for openapi
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
* Fix error responses with example error body
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
---------
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
2023-09-13 10:40:31 +03:00
Stanislav Trailov
080075d44e
Override spring-security-oauth2-client and h2 dependency versions to fix latest cve findings ( #1419 )
...
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
2023-08-22 17:09:21 +03:00
Stanislav Trailov
b35f45aabc
Upgrade nexus maven plugin to 1.6.13 ( #1408 )
...
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io >
2023-08-03 12:28:08 +03:00
Avgustin Marinov
1dc1bdbe94
Upgrade Spring and docker image ( #1401 )
...
Spring -> 2.7.17
base docker image -> 17.0.8_7-jre-alpine
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-08-01 09:46:44 +03:00
Avgustin Marinov
56ea5b15c9
[ #1383 ] Spring Boot 3 Migration / Step 1 ( #1384 )
...
1. PagingAndSortingRepository doesn't extend CrudRepository anymore. For all extending that interface repositories CrudRepository super interface shall be now declared (https://spring.io/blog/2022/02/22/announcing-listcrudrepository-friends-for-spring-data-3-0 -
```
The popular PagingAndSortingRepository used to extend from CrudRepository, but it no longer does. This lets you combine it
with either CrudRepository or ListCrudRepository or a base interface of your own creation. This means you now have to
explicitly extend from a CRUD fragment, even when you already extend from PagingAndSortingRepository.
```
)
2. org.eclipse.hawkbit.autoconfigure.mgmt.ui -> move in hawkbit-ui (to be ready for removal), anyway - it's a better location for ui related configs
3. extends WebMvcConfigurerAdapter -> implements WebMvcConfigurer
4. remove WebSecurityConfigurerAdapter -> https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#_stop_using_websecurityconfigureradapter , https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter
and add @Order to the bean reg!!
5. Use configurers (the other will be deprecated / removed), e.d: http.csrf().disable() -> http.csrf(AbstractHttpConfigurer::disable)
6. configure(final AuthenticationManagerBuilder auth) -> put in httpsecurity config - http.getSharedObject(AuthenticationManagerBuilder.class).... (https://www.baeldung.com/spring-security-authentication-provider )
7. configure(final WebSecurity webSecurity) ->
```
@Bean
public WebSecurityCustomizer webSecurityCustomizer() {
return (web) -> web.ignoring().antMatchers("/documentation/**", "/VAADIN/**", "/*.*", "/docs/**");
}
```
(https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter )
8. AuthenticationManager authenticationManagerBean() ->
```
@Bean
AuthenticationManager authenticationManager(final AuthenticationConfiguration authenticationConfiguration) throws Exception {
return authenticationConfiguration.getAuthenticationManager();
}
```
(https://backendstory.com/spring-security-how-to-replace-websecurityconfigureradapter/ )
9. WebMvcAutoConfiguration could be removed - it uses deprectated methods, and sets properties that are same by default - hence - not neeeded
(https://github.com/spring-projects/spring-framework/issues/23915#issuecomment-563987147 )
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-07-17 10:36:26 +03:00
Marinov Avgustin
649c714006
[ #1378 ] Switch to Tomcat
...
switch hawkBit web server to Tomcat (was Jetty)
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-06-28 16:23:39 +03:00
Marinov Avgustin
8047ceac03
Update misc dependencies versions
...
+ remove org.bsc.maven:maven-processor-plugin
+ awaitility removal of awaitility Duration class fixed
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-06-28 13:06:48 +03:00
Avgustin Marinov
eb8d559780
Docker version upgrated to java 17 ( #1371 )
...
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-06-06 10:25:46 +02:00
Stanislav Trailov
3c815ed2d0
openjdk 11 to 17 ( #1368 )
...
* openjdk 11 to 17
spring-security-core from 5.7.7 to 5.7.8
Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io >
* Bump spring boot to 2.7.12
Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io >
* deprecated circleci image to cimg
Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io >
* Migrate spring boot parent to 2.7.12
Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io >
---------
Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io >
2023-06-06 09:23:17 +02:00
Stefan Behl
5d0a9c0f1d
Remove dependency net._01001111:jlorem ( #1350 )
...
* Remove dependency jlorem
* Minor optimization
* Minor optimization
2023-04-19 15:22:06 +02:00
Stefan Behl
d0882fd87d
Prepare milestone 0.3.0M8 ( #1349 )
...
* Added new script to determine dependencies and check their licenses
* Added new script to determine dependencies and check their licenses
* Updated check-dependencies script
* Updated dependencies
* Update README.md
* Updated 3rd-party dependencies
* Updated 3rd-party dependencies
* Updated 3rd-party dependencies
* Fix copyright statement
* Fix copyright statement
* Add pinentry-mode config option for Maven GPG plugin
2023-04-19 13:19:41 +02:00
Michael Herdt
6f854afdae
Introduce GitHub action to execute vulnerability scan using Trivy ( #1333 )
...
* Introduce docker maven plugin for hawkbit update server
* Introduce GitHub action to execute vulnerability scan using trivy
2023-03-28 07:42:04 +02:00
Stefan Behl
4a3a79aa6b
Migration to Spring Boot 2.7.10 ( #1320 )
...
* Initial commit
* Fix compile breaks
* Fix hibernate config
* Fix hibernate config
* Fix failing tests
* Improve logging
* Improve logging
* Fix Sonar issues
* Remove BusProperties
* Add BusProperties bean back in
* Fix JPA workaround
* Fix CVE-2021-22044
* Fix test failures
* Fix PR review findings
* Fix CVEs
* Remove H2 version downgrade, fix schema migration, enable legacy mode
* Downgrade Vaadin back to 8.14.3
* Fix EventPublisherHolder
* Fix RemoteTenantAwareEvent
* Fixed EventPublisherAutoConfiguration
* New version of spring-hateoas requires links to be expanded (Mgmt API)
* New version of spring-hateoas requires links to be expanded (Mgmt API)
* Fix PR review findings
* Fix PR review findings
* Fix PR review findings
* Update README.md
* MariaDB Java Client downgrade to maintain compatibility with AWS Aurora
* Temporarily disable RSQL test that depends on DB collation type
* Upgrade to boot 2.7.10
* Upgrade snakeyaml to 1.33
* Upgrade Spring Security OAuth2 to version 5.7.7
* Remove obsolete exclusion of junit-vintage-engine
* Upgrade jackson-bom to 2.14.2
2023-03-28 07:16:25 +02:00
Michael Herdt
d567b32280
Fix issues in rollout creation dialog ( #1329 )
...
* Introduce text input converter and validator to prevent problems with rollout group definitions.
* Add 2023 bosch.io license
* add new header to pom
* Extend usage of new TrimmingStringConverter.
* fixed compile error
2023-03-17 15:41:27 +01:00
Shruthi Manavalli Ramanna
3870f11d51
Upgraded few dependencies ( #1296 )
...
* Upgraded versions of gson, netty-all,logback, jackson-bom dependencies
Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com >
* Fixed PR comments
Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com >
* removed upgraded versions of gson and netty-codec
Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com >
Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com >
2022-12-08 17:29:06 +01:00
Markus Block
4be3fbbbee
Replacing self-managed SonarQube with Sonarcloud ( #1286 )
...
* replaced sonar url to use sonarcloud
* changed sonar properties in pom for sonarcloud
* changed sonar properties in pom for sonarcloud
* added sonar plugin to avoid warning regarding relocation of sonar project
* refactoring
* removed sonar plugin from pom.xml, will added to seedjopb build parameter
2022-10-20 16:04:36 +02:00
Florian Ruschbaschan
32718676a4
Feature/java11 build ( #1280 )
...
* hawkBit on Java 11
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* Preparing java 11 build
- Update eclipse-link maven plugin dependencies
- Fixing warnings, adopt to java-11 style
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Preparing java 11 build
- Fixing warnings, adapt to java-11 style
- Added since to deprecated
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Fixing sonar warnings
- removed deprecated API
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Fixing sonar warnings & failing test
- Added suppressWarning
- added WithSpringAuthorityRule to clean-up listener
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Compile warnings
- Test if final causes issues in tests
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Removed deprecated code
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Reverted changes
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Removed final as this causes invalid reflective access exceptions
- The eclipselink generated classes seem to modify the field directly
- update plugin version
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Upgrade eclipselink from 2.7.9 to 2.7.10
* Remove @deprecated endpoints from MgmtTargetTagResource
* Remove dependencies already defined in eclipselink-maven-plugin
* Try eclipselink 2.7.11-RC1
* Set project encoding to UTF-8
* Upgrade surefire and failsafe plugins to 3.0.0-M7
* Try fixed string instead of a random generated one
* Replace JsonBuilder by Jackson ObjectMapper usage
* Use JsonBuilder again
* Use APPLICATION_JSON_UTF8 instead of APPLICATION_JSON
* Try to replace com.vaadin.external.google:android-json by org.json:json
* Add debugging outputs
* Improve debugging outputs
* Improve debugging outputs
* Use Jackson instead of JsonBuilder
* Use Jackson instead of JsonBuilder 2nd part
* Use Spring json dependency
* Use eclipselink 2.7.11
* Fix RootControllerDocumentationTest
* Improve helper methods of AbstractDDiApiIntegrationTest
* Upgrade SpringBoot and SpringCloud versions
* Improve deprecation notice for 0.3.0M8
* Fix BaseAmqpServiceTest
* Fix SpecificationsBuilderTest
* Removed deprecated code
* Define maven-enforcer-plugin version
* Remove com.google.code.findbugs.jsr305
Signed-off-by: Florian Ruschbaschan <florian.ruschbaschan@bosch.io >
* Update circleci image to openjdk:openjdk:11.0.13-jdk-buster
Signed-off-by: Florian Ruschbaschan <florian.ruschbaschan@bosch.io >
* Fix javadoc generation and license check
Signed-off-by: Florian Ruschbaschan <florian.ruschbaschan@bosch.io >
* Fix review findings
Signed-off-by: Florian Ruschbaschan <florian.ruschbaschan@bosch.io >
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
Signed-off-by: Florian Ruschbaschan <florian.ruschbaschan@bosch.io >
Co-authored-by: Dominic Schabel <dominic.schabel@bosch.io >
Co-authored-by: Peter Vigier <Peter.Vigier@bosch.io >
Co-authored-by: Markus Block <markus.block@bosch-si.com >
2022-09-19 10:33:31 +02:00
Bondar Bogdan
537548defb
Update jsoup ( #1276 )
...
* upgraded jsoup to 1.15.3
* removed deprecated safe html annotation
* added own valid string jsoup validator, disabled hibernate parallel method declaration constraint
* adapted valid string validator
* static method
* return invalid value in case of processing exception
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
2022-09-05 15:49:38 +02:00
Bondar Bogdan
0e6ef2e468
upgrade spring framework to 5.2.20 ( #1243 )
...
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
2022-04-01 12:45:58 +02:00
Peter Vigier
44a85f20eb
Feature/fix sonar warnings ( #1226 )
...
* Fixed sonar warnings
- "Cognitive Complexity"
- "Do not use replaceAll when not using a regex"
- java:S5869 - Character classes in regular expressions should not contain the same character twice
- Improved bad name
- Typos
- reduced code duplications
- Replaced hand-made wait-utility with Awaitility
- Log messages
- Duplicate code
- Typos
- Removed Thread.sleep, instead relaxed check condition
- Removed use of deprecated API
- Removed use of deprecated API
- Added supress-warnings as I do not see a better way to write the tests
- Removed Thread.sleep / redundant functionality to Awaitility
- Fixed other warnings (use isZero, isEmpty, hasToString)
- Removed/Reduced duplicate code
- Added generics
- Fixed asserts
- removed: field.setAccessible(true) actually should not be needed for public static fields!
- Too long constructor passes arguments in wrong order - how surprisingly...
- Clean-up use of varargs arguments
- Fixed regex
- Fixed typos and other minor stuff
- Making public constructors protected in abstract classes
- Swapped expected and asserted argument
- volatile not enough for syncing threads
- volatile not enough for syncing threads
- out-commented code
- Made regex not-greedy, added tests for verification
- Avoid exposure of thread-local member var
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Fixed Sonar warnings
* License header fix
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* License header fix #2
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Fixing review findings
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
* Fixing tests
- Fixed '&' usage in javadoc and typos
- Fixing some warnings
Signed-off-by: Peter Vigier <Peter.Vigier@bosch.io >
2022-01-31 21:59:46 +01:00
Natalia Kislicyn
7a1905cf5b
add license header for Bosch.IO 2022 ( #1221 )
...
Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch.io >
2022-01-18 11:46:22 +01:00
Bondar Bogdan
146735012a
Artifact Encryption plug point ( #1202 )
...
* added ArtifactEncryption interface, injected it into SM creation UI module, added encryption metadata key generation upon SM creation, used encryptor during file upload
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* add default artifact encryption implementation based on gcm aes algorithm
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* changed ArtifactEncryptor interface to manage encryption secrets by itself
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* cleaned up stale code, fixed sonar
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* fixed software module encryption within transaction
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* added artifact encryption secrets store
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* extended ArtifactEncryption interface to allow decryption, secrets store provides removeSecret, added missing javadocs
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* intriduced DbArtifact interface, use EncryptionAwareDbArtifact for artifact decryption during download
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* introduced ArtifactEncryptionService to minimize duplications and unneccessary dependency injections
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* declared ArtifactEncryptionService as a bean
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* added persistant encryption flag to software module
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* further adptations for encryption flag persistence
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* added ArtifactEncryptionException, fixed encryption check in UI
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* added encryption error handling
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* added encrypted flag to DDI/DMF, adapted exception handling
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* adapted rest docs
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* Add test to verify artifact encryption is not given by default
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
* Add isEncrypted() to toString() of JpaSoftwareModule, fix typos
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
* Fix sql migration scripts
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
* Calculate encrypted artifact size by subtract encryption size overhead
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
* publish upload failed without waiting for interuption during UI file upload
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* upgraded cron utils to 9.1.6
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
Co-authored-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
2021-11-18 09:07:05 +01:00
Bondar Bogdan
e5dbbbbc7b
Vaadin security upgrade to 8.14.1 ( #1188 )
...
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
2021-10-15 15:48:18 +02:00
Robert Sing
76be812cf1
Feature - TargetType compatibility check ( #1180 )
...
* added targettype compatibility check in deployment
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* added targettype compatibility for autssignment
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* added / fixed tests for auto assignment compatibility check
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* adapted rollout creation to use JPA specifications for compatibility checks
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* fix unit tests and javadoc
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* fix copyright header
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* fixed review findings
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* fixed review findings
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* replaced validated-DS management calls
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* improved compatibility check in DeploymentManagementTest
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
* fixed review findings
Signed-off-by: Robert Sing <robert.sing@bosch-si.com >
2021-10-15 15:39:21 +02:00
Bondar Bogdan
87199937c4
Dependency upgrades ( #1170 )
...
* Increase jsoup version
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* bumped vaadin/guava/common-io to newest versions
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
* substituted deprecated guava create temp dir method
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
2021-08-30 15:39:23 +02:00
Stefan Behl
2af4e850b8
Consider Target Fields when validating RSQL filters ( #1121 )
...
* Removed unnecessary DB queries when editing/validating RSQL query in Target Filter Management (#1023 )
Added valid TargetFields to RSQL validation when editing Target Filter.
Signed-off-by: Sergey Gerasimov <sergey.gerasimov@devolo.de >
* Corrected visit OrNode implementation.
Changed isValid to receive FieldNameProvider as parameter
Reduced code duplication by moving commonly used utility methods to AbstractFieldNameRSQLVisitor from ValidationRSQLVisitor abd JpqQueryRSQLVisitor
Refactored and extended Unit Tests.
Minor corrections and typos.
Signed-off-by: Sergey Gerasimov <sergey.gerasimov@devolo.de >
* Added Maven entry for devolo 2020 copyright header.
Signed-off-by: Sergey Gerasimov <sergey.gerasimov@devolo.de >
* Fix failing unit tests
* # WARNING: head commit changed in the meantime
Signed-off-by: Stefan Behl <stefan.behl@bosch.io >
* Fix Sonar findings.
Signed-off-by: Stefan Behl <stefan.behl@bosch.io >
* Cleanup
Signed-off-by: Stefan Behl <stefan.behl@bosch.io >
* Fix PR review findings
* Fix invalid queries in unit tests
Signed-off-by: Stefan Behl <stefan.behl@bosch.io >
* Added test case to create filter with invalid query via Mgmt REST API
Signed-off-by: Stefan Behl <stefan.behl@bosch.io >
Co-authored-by: Sergey Gerasimov <sergey.gerasimov@devolo.de >
2021-07-02 09:25:12 +02:00
Shruthi Manavalli Ramanna
df7b0701d7
Removed flyway downgrade so that spring default is pickedup ( #1114 )
...
Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com >
2021-05-21 10:03:21 +02:00
Dominic Schabel
81defa10a6
Migration to JUnit5 as default test runtime ( #1082 )
...
* Migrate tests to JUnit5
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* REST docs tests migrated to JUnit5
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* Migrated security and UI tests to JUnit5
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* Migrated management tests to JUnit5
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* Reflecting changes from JUnit5 migration
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* Fix RabbitMQ test detection
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* Drop support for JUnit4
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
2021-03-15 13:40:40 +01:00
Bogdan Bondar
b185d653be
upgraded Vaadin to 8.12.3
...
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io >
2021-02-22 12:57:49 +01:00
Dominic Schabel
9c5360e59d
JUnit5 support ( #1063 )
...
* First preparation for JUnit5
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
* Exclusion of JUnit5 removed
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
2021-02-12 08:22:26 +01:00
Ammar Bikic
ac8c174b2c
Merge remote-tracking branch 'origin/master' into fix_migration_to_new_spring_boot_version_merge_master
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2021-01-15 17:28:49 +01:00
Kai Zimmermann
e9f11d2a20
DB and RabbitMQ integration tests and PostgreSQL testing/bug fixing ( #1047 )
...
* Initial matrixSigned-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* License header
* MySQL DB testSigned-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Create matrix for DBsSigned-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* RabbitMQ and H2Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* MySQL 8.0Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Postgresql test supportSigned-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Postgresql test supportSigned-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Fix DB issues post and mssql
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Wait MSSQL
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Fix postgresql tests.
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* MSSQL startup fix.Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Fix syntax error
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Further fix postgres tests.Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Revert unnecessary changes.
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Add SonarCloud Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
* Simplify devcontainer. Test JDK 15Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
2021-01-14 09:07:03 +01:00
Dominic Schabel
4ea5d7655b
Bosch licence header 2021 added
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
2021-01-13 17:46:53 +01:00
Florian Ruschbaschan
5cf008cc03
Update Spring Boot to 2.3.7.RELEASE
...
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
2020-12-11 13:58:56 +01:00
Ammar Bikic
458bc8cb03
Merge remote-tracking branch 'origin/master' into fix_migration_to_new_spring_boot_version_merge_master
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-12-04 13:40:31 +01:00
Markus Block
cb2b2ca4e8
Increase cronutils version ( #1053 )
...
* CVE-2020-26238
Signed-off-by: Markus Block <markus.block@bosch-si.com >
* adapted code to new cron-utils versions
Signed-off-by: Markus Block <markus.block@bosch-si.com >
2020-11-27 12:19:49 +01:00
Ammar Bikic
68e4cd93e1
Merge remote-tracking branch 'origin/master' into fix_migration_to_new_spring_boot_version_merge_master
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-11-09 16:13:10 +01:00
Ammar Bikic
165f6e0435
Change to proper versioning
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-11-03 09:59:21 +01:00
Dominic Schabel
ed9a4b1bb3
Java 11 support for hawkBit ( #1038 )
...
* hawkBit on Java 11
* Reference to created GH issue added
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
2020-10-29 16:36:55 +01:00
Dominic Schabel
c2f7c2f778
Raise Allure to 2.13.6 ( #1037 )
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
2020-10-26 17:56:28 +01:00
Ammar Bikic
2e0122d1b7
Adaptations due to PR comments
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-10-15 14:03:50 +02:00
Ammar Bikic
bd382c3725
Adaptations due to PR comments
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-10-15 11:45:08 +02:00
Ammar Bikic
edb9d91065
Remove aspectj-weaver.arg
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-10-05 08:27:26 +02:00
Ammar Bikic
26964ce5e4
Update Spring Boot to 2.3.4
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-10-02 18:18:43 +02:00
Ammar Bikic
2d3de50982
Remove aspectj-weaver again as not needed
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-10-02 18:18:12 +02:00
Ammar Bikic
a6404fdb83
Update Spring Boot to 2.3.3
...
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-10-02 18:12:54 +02:00
Ammar Bikic
28b65a290d
Update Spring Boot to 2.3.2
...
-Update Spring Cloud to Hoxton.SR7
-Replace ResourceSupport by RepresentationModel (Spring Hateoas 1.0)
-Replace ControllerLinkBuilder by WebMvcLinkBuilder (Spring Hateoas 1.0)
-Move getId() from Identifiable to BaseEntity (Spring Hateoas 1.0)
-Remove hamcrest.Factory
-Use static Sort.by reference
-Place http security anyRequest().authenticated()
-Replace MockMvcRequestBuilders.fileUpload by MockMvcRequestBuilders.multipart
-Deprecate MEDIA_TYPE_CBOR_UTF8
-Replace MEDIA_TYPE_CBOR_UTF8 by MEDIA_TYPE_CBOR in tests
-Replace HAL_JSON_UTF8 by HAL_JSON in tests
-Replace APPLICATION_JSON_UTF8 by APPLICATION_JSON in tests
-Use org.mockito.junit.MockitoJUnitRunner
-Remove overridden dependency versions
-Removing not needed comments in pom.xml
-Downgrade flyway-core to be MySQL 5.6 compatible
-Add maven-site-plugin since it was removed with spring-boot 2.3
-Set servlet encoding properties
-Introducing Test that verifies the charset inside the content-type of a response
-Add @DirtiesContext to CorsTest and ContentTypeTest
-Add content-type mockmvc test with adapted mockmvc config
-Move encoding.force property to test class
-Switch expected and actual parameter values in content-type test
-Delete deprecated content-type test with TestRestTemplate
-Exclude JUnit5 from spring-boot-starter-test
-Upgrade allure-junit4 to 2.13.5
-Add aspectjweaver 1.9.6 to surefire test execution
-Add flyway-core version to property
-Use getRequiredLink() within MgmtBaseEntity.getId()
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io >
2020-10-02 18:11:18 +02:00
Dominic Schabel
7df4e4003b
Fix for licence check
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io >
2020-09-30 17:43:32 +02:00