Moved SystemManagementResources in other package than SystemResources
* moved classes to new package to seperate it from SystemResource * updated references Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
This commit is contained in:
committed by
Nonnenmacher Fabian
parent
ffa46afc7a
commit
016350de4e
@@ -6,7 +6,7 @@
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*/
|
||||
package org.eclipse.hawkbit.rest.resource.model.system;
|
||||
package org.eclipse.hawkbit.rest.resource.model.systemmanagement;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*/
|
||||
package org.eclipse.hawkbit.rest.resource.model.system;
|
||||
package org.eclipse.hawkbit.rest.resource.model.systemmanagement;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*/
|
||||
package org.eclipse.hawkbit.rest.resource.model.system;
|
||||
package org.eclipse.hawkbit.rest.resource.model.systemmanagement;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
@@ -18,9 +18,9 @@ import org.eclipse.hawkbit.report.model.SystemUsageReport;
|
||||
import org.eclipse.hawkbit.report.model.TenantUsage;
|
||||
import org.eclipse.hawkbit.repository.SystemManagement;
|
||||
import org.eclipse.hawkbit.repository.TenantConfigurationManagement;
|
||||
import org.eclipse.hawkbit.rest.resource.model.system.CacheRest;
|
||||
import org.eclipse.hawkbit.rest.resource.model.system.SystemStatisticsRest;
|
||||
import org.eclipse.hawkbit.rest.resource.model.system.TenantSystemUsageRest;
|
||||
import org.eclipse.hawkbit.rest.resource.model.systemmanagement.CacheRest;
|
||||
import org.eclipse.hawkbit.rest.resource.model.systemmanagement.SystemStatisticsRest;
|
||||
import org.eclipse.hawkbit.rest.resource.model.systemmanagement.TenantSystemUsageRest;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.eclipse.hawkbit.tenancy.configuration.TenantConfigurationKey;
|
||||
* A mapper which maps repository model to RESTful model representation and
|
||||
* back.
|
||||
*/
|
||||
final public class SystemMapper {
|
||||
public class SystemMapper {
|
||||
|
||||
private SystemMapper() {
|
||||
// Utility class
|
||||
@@ -29,7 +29,7 @@ final public class SystemMapper {
|
||||
public static Map<String, TenantConfigurationValueRest> toResponse(
|
||||
final TenantConfigurationManagement tenantConfigurationManagement) {
|
||||
|
||||
final Map<String, TenantConfigurationValueRest> configurationMap = new HashMap<String, TenantConfigurationValueRest>();
|
||||
final Map<String, TenantConfigurationValueRest> configurationMap = new HashMap<>();
|
||||
|
||||
for (final TenantConfigurationKey key : TenantConfigurationKey.values()) {
|
||||
configurationMap.put(key.getKeyName(),
|
||||
|
||||
Reference in New Issue
Block a user