Michael Hirsch
2ca807916c
fix lookup by filename and not by ID because the ID is unique and the
...
filename exists multiple times
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-04-14 13:32:24 +02:00
Michael Hirsch
d704ef99fd
source code hygiene, better method naming and variable naming
...
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-04-12 16:22:43 +02:00
Michael Hirsch
c4fd082098
fix the lookup of artifacts with the same lookup key, e.g. SHA1 hash if
...
multiple artifacts with key exists for different software modules
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-04-12 09:39:07 +02:00
Michael Hirsch
cadf67ad6c
Merge pull request #122 from bsinno/reduce-duplicate-metadata
...
Reduce duplicate metadata code
2016-04-07 08:34:49 +02:00
Kai Zimmermann
f4f9c10186
Optimized equals.
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-04-06 10:57:23 +02:00
Michael Hirsch
8bb3469b52
Merge branch 'master' into Download_server_supports_download_through_HTTP_and_HTTPs
2016-04-05 15:45:47 +02:00
Kai Zimmermann
bf168ffb70
reduced duplicate code.
2016-04-05 14:00:57 +02:00
Michael Hirsch
df1d4c5a20
Merge branch 'master' into
...
Download_server_supports_download_through_HTTP_and_HTTPs
Conflicts:
hawkbit-core/src/main/java/org/eclipse/hawkbit/tenancy/configuration/TenantConfigurationKey.java
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-04-05 11:58:27 +02:00
SirWayne
044f0bef03
Reduce some duplicate code
...
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com >
2016-04-04 12:59:45 +02:00
Kai Zimmermann
0a0c08b700
Fixed wrong call of sw module type. UI uses name and not key.
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-04-01 15:55:00 +02:00
Kai Zimmermann
52cc957cfb
Consolidated equals and hashcode for all BaseEntities.
2016-03-31 09:31:47 +02:00
Kai Zimmermann
c1b3b40a9d
Merge pull request #107 from bsinno/complete-rep-tests
...
Complete repository tests
2016-03-30 11:38:44 +02:00
Kai Zimmermann
c6c50c6a68
Fixed broken usage of metadata addition. Fixed equals of two elements.
2016-03-30 09:49:25 +02:00
Kai Zimmermann
ca17f4543a
Fixed wring metadata change in RSQL test
2016-03-30 09:29:09 +02:00
Kai Zimmermann
d21ed45054
Fixed metadata equals. Value should not be in there.
2016-03-30 09:08:19 +02:00
Kai Zimmermann
292ca31768
Found even more code that could be deleted
2016-03-30 09:03:09 +02:00
Kai Zimmermann
7d3d4f1fd4
Fixed broken test.
2016-03-29 15:37:07 +02:00
Kai Zimmermann
db12385d8d
Removed generated but unnecessary comments
2016-03-29 13:49:34 +02:00
Kai Zimmermann
83818462b6
Forgot to delete 3 more PageList classes
2016-03-29 11:25:15 +02:00
Kai Zimmermann
a950fa0337
Documented equals dashcode policy
2016-03-28 11:17:06 +02:00
Kai Zimmermann
1146e6a808
Found an even better name
2016-03-28 10:25:07 +02:00
Kai Zimmermann
9849205bea
Re-applied base entity based equals hashcode policy
2016-03-28 09:59:24 +02:00
Kai Zimmermann
a2a0a5697e
Added tests for DS management. Removed boilerplate.
2016-03-27 17:18:32 +02:00
Kai Zimmermann
8a26ded4c4
Extended tests for tag toggle and fixed a typo on the assigment result
...
classes.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-27 10:39:29 +02:00
Kai Zimmermann
c9566e61ce
Used lambdas to reduce boilerplate code.
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-27 10:36:55 +02:00
Kai Zimmermann
0cc7284f6f
Added further tests for target searches including the various filter options that we provide
2016-03-26 16:13:58 +01:00
Kai Zimmermann
cc8a62d1d4
Checked in typo by accident.
2016-03-26 09:27:33 +01:00
Kai Zimmermann
080f7d20e8
Removed boiler plate code. Added missing equals in model. Fixed sonar
...
issues.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-26 09:26:48 +01:00
Kai Zimmermann
f237a1e508
Added tests for software management
...
- while at it I renamed also a few methods to fit into the overall
pattern
2016-03-25 16:24:42 +01:00
Michael Hirsch
1cb7519ace
add security and filters for anonymous download via http and amqp
...
requests
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-03-23 16:17:53 +01:00
Kai Zimmermann
6ee66dc4e1
Put BaseEntity below tenant aware and unaware entities
2016-03-23 14:09:40 +01:00
Michael Hirsch
cdac7185c4
fix typo of class TenantSecurityToken and handle authentication message
...
based on FileResource not only on SHA1 hash
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com >
2016-03-23 10:23:35 +01:00
Kai Zimmermann
061159f259
Merge pull request #82 from bsinno/Sonar_Issue_Methods_should_not_have_too_many_lines
...
Fix for sonar issue: Methods should not have too many lines
2016-03-17 09:17:33 +01:00
Kai Zimmermann
f5352b420d
Cleaned up a bit
2016-03-15 13:22:43 +01:00
Kai Zimmermann
40e8fdf5e0
Made duration helper a static utility class
2016-03-15 13:06:47 +01:00
SirWayne
f5539fd607
Add a controller management api to get the polling time
...
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com >
2016-03-14 15:54:54 +01:00
Kai Zimmermann
807aaf629c
Merge remote-tracking branch 'eclipse/master' into feature_MECS-86_tenant_specific_polling_configuration
...
# Conflicts:
#
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/tenantconfiguration/Tena
ntConfigurationDashboardView.java
2016-03-14 09:51:00 +01:00
Jonathan Philip Knoblauch
c91bb15ccb
Refactoring after review.
...
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com >
2016-03-11 16:39:54 +01:00
Jonathan Philip Knoblauch
6cc64639bd
Fix for sonar issue: Methods should not have too many lines
...
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com >
2016-03-11 11:19:43 +01:00
SirWayne
ed97031faf
Merge branch 'master' into
...
feature_MECS-86_tenant_specific_polling_configuration
Conflicts:
hawkbit-autoconfigure/src/main/java/org/eclipse/hawkbit/autoconfigure/security/SecurityManagedConfiguration.java
hawkbit-core/src/main/java/org/eclipse/hawkbit/tenancy/configuration/TenantConfigurationKey.java
hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpControllerAuthentfication.java
hawkbit-dmf-amqp/src/test/java/org/eclipse/hawkbit/amqp/AmqpControllerAuthentficationTest.java
hawkbit-repository/src/test/resources/application-test.properties
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com >
2016-03-09 13:29:40 +01:00
Jonathan Philip Knoblauch
65d3b5a6b8
Added license header and fixed sonar issue: Fields and methods should not have conflicting names
...
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com >
2016-03-09 10:54:05 +01:00
Jonathan Philip Knoblauch
8f35b75857
Removed unused target parameter in method forceQuitAction and change assertEquals to assertThat
...
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com >
2016-03-07 14:44:34 +01:00
Kai Zimmermann
dcea53f4c8
Merge remote-tracking branch 'eclipse/master' into harmonize-test-documentation
2016-03-04 18:14:26 +01:00
Nonnenmacher Fabian (INST-ICM/BSV-AS)
9646e1eabc
Fixed review findings
2016-03-04 12:34:39 +01:00
Kai Zimmermann
25832e7e16
Merge remote-tracking branch 'eclipse/master' into cleanup-properties
...
# Conflicts:
#
hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpProperties.j
ava
2016-03-04 12:11:35 +01:00
Kai Zimmermann
71653470dc
Merge remote-tracking branch 'eclipse/master' into harmonize-test-documentation
2016-03-03 20:59:15 +01:00
Kai Zimmermann
794db18673
Added comments and changed default sorting for actions.
2016-03-03 20:46:50 +01:00
Kai Zimmermann
e7173aa846
Cleanup messed up actionstatus sorting. We used sort param but had
...
hardcoded sorting in the reposirory. I added also reportAt based
sorting.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-03 18:54:50 +01:00
Nonnenmacher Fabian (INST-ICM/BSV-AS)
0e9991b0a4
Added missing licence header
...
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com >
2016-02-29 14:28:44 +01:00
Fabian Nonnenmacher
2be4922615
Added System Security Context as attribute to AbstractControllerAuthenticationFilter
...
This is necessary, because the tenant configuration methods are only accessable with specific permissions.
With the SystemSecurityContext methods can be executed as SystemRunner and therefor we can set permissions.
* updated the chaine of condtructors to set the context in the filter class
* added SystemRunner permission to TenantConfigurationManagement
* Autowired the system context to AMQP and HTTP controller
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com >
2016-02-29 13:18:58 +01:00