Avgustin Marinov
0021b03c9a
CI friendly maven poms - use $revision for version ( #1477 )
...
https://maven.apache.org/maven-ci-friendly.html
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com >
2023-11-16 17:23:01 +02:00
Stein.Codes
defa6c3b69
refactor: Java Security Ultimate Security Repo Scanner 2023 ( #1455 )
...
Disclaimer: Automated Commit Alert
Please be aware that this commit, generated through automated processes, may contain false alerts or not be precisely targeted. This automated commit is part of a large-scale effort to enhance software security over time. It is sent to various repositories to improve code quality and security. Exercise caution when reviewing the changes, and ensure that any necessary adjustments are made to maintain the integrity and functionality of the software.
Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/TkgUEiqd7?organizationId=RWNsaXBzZSBGb3VuZGF0aW9u
Co-authored-by: Moderne <team@moderne.io >
2023-11-01 16:41:08 +02: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
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
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
Florian Ruschbaschan
41922b6dca
Feature/remove junit5 leftovers ( #1097 )
...
* Migrate JUnit4 leftovers to JUnit5
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
* Fix method name typos
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
* Avoid unnecessary Mockito stubbings
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
* Replace assertThrows by assertThatExceptionOfType, fix test TODO
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io >
2021-03-22 10:37:31 +01: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
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
Alexander Dobler
bde3548846
DDI supports sha256 ( #869 )
...
* Add SHA256 file hash to ddi GET outputs
Signed-off-by: Alexander Dobler <alexander.dobler3@bosch-si.com >
* Integrate review findings for SHA256 changes
Signed-off-by: Alexander Dobler <alexander.dobler3@bosch-si.com >
* Renamed hashes to base16hases in store() parameters
Signed-off-by: Alexander Dobler <alexander.dobler3@bosch-si.com >
* Added missing javadoc according to sonarqube findings
Signed-off-by: Alexander Dobler <alexander.dobler3@bosch-si.com >
2019-07-29 14:11:40 +02:00
Nazife Basbaz
fde0cbdf16
fix bug: change sql-query in localArtifactRepository ( #820 )
...
Also-by: Nazife Basbaz <nazife.basbaz@bosch-si.com >
Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com >
2019-06-05 16:07:07 +02:00
Kai Zimmermann
d52a720480
Spring Boot 2.0 ( #721 )
...
* Migration to Boot 2.0.
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
2019-01-31 07:29:27 +01:00
Stefan Klotz
d09ca7be05
Migrate to Allure 2 ( #749 )
...
Add allure 2.7.0 dependency; change class references of Description, Features, Stories
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2018-10-25 18:18:37 +02:00
Kai Zimmermann
ac931ec8fa
Master now on 0.3
2018-06-11 15:57:15 +02:00
Kai Zimmermann
b715fb5798
Enable repo implementations to save storage. ( #675 )
...
* Enable repo implementations to save storage.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Cleanup.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2018-05-04 09:31:57 +02:00
Kai Zimmermann
8fd601f8b9
Migrated common artifact repo funtions into abstract class. ( #666 )
...
* Migrated common art repo funtions into abstract class.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Remove dead code from permission util.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Remove dead code.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix typo.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix typo.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix test.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix stats resource.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2018-03-27 12:04:16 +02:00
Kai Zimmermann
09b24fa97d
Cleanup file streaming utilities ( #559 )
...
* Cleanup file streaming.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Added missing comments.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix typo.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Split utility class.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Dependency cleanup.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Add missing dependency,
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Remove repository api dependency from rest core.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix build and sonar issues.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Remove custom ConstraintViolationException
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* RequestMapping should be public.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix errors.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Removed dead code.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Not null
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix nullpointer.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Code cleanup.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2017-07-19 12:43:07 +02:00
Kai Zimmermann
8d17d21259
ArtifactRepository tenant aware. ( #539 )
...
* ArtifactRepository tenant aware.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* No need to have this protected. Updated event to boot > 1.3
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Remove conditional.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Remove Debug log.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Cleanup
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Missing validation and readability.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix test after change.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix computation is DosFilter
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix session state on RESTful APIs.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Performance improvement controllermanagement
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Added cross tenant test.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Typos.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2017-06-14 19:07:52 +02:00
Kai Zimmermann
6d2a108549
Preparations for release 0.2.0 ( #461 )
...
* Promote update server to runtime
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Current status
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* More CQs
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Complete CQs
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Updatesd documentation
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Enable test modules
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Re add examples and extensions
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fixes and roadmap extended
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Add release issue link
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Add works with CQ.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Documented CQs for #459
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix shell script
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix CQ table and runtime parent.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Fix repo entries.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
* Cleaned up docs.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2017-03-30 08:46:31 +02:00
Kai Zimmermann
67d17fe661
Upgrade sonar to new 6.2 installation ( #456 )
...
* Upgrade to new sonar instance. Fix new identified issues.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2017-03-14 10:06:56 +01:00
Kai Zimmermann
804522f966
hawkBit repository uses Optional on single entity find/get requests ( #435 )
...
* Repo returns optionals.
* Improved exception handling for collection usage in repo queries.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2017-02-16 10:09:14 +01:00
Kai Zimmermann
92dd6a1a0e
Modular hawkBit ( #378 )
...
* Cleaned up component scan
* More flexibility for hawkBit micro services
* Introduce spring boot starters
* Eclipse Jetty as hawkBit default
* Fixed links as prep for wiki removal
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com >
2016-12-13 12:29:21 +01:00
Michael Hirsch
8e7943dc4f
use platform independent file move ( #376 )
...
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-12-06 19:34:59 +01:00
Michael Hirsch
dc90651149
fix typo in HashNotMatchException
...
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-11-14 15:50:51 +01:00
Michael Hirsch
8be49a1184
Add filesystem artifact repository implementation ( #336 )
...
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-11-14 11:23:50 +01:00