From 831fdcb3357a7230b92cd7674fe98cb7d3b55aea Mon Sep 17 00:00:00 2001 From: lasantha Date: Mon, 5 Mar 2018 01:26:16 +0530 Subject: [PATCH] Fix the issue in device-mgt-v0.9 copyright text --- .../pom.xml | 2 +- .../device/mgt/jaxrs/ApiOriginFilter.java | 3 ++- .../device/mgt/jaxrs/NotificationContext.java | 3 ++- .../device/mgt/jaxrs/NotificationList.java | 3 ++- .../device/mgt/jaxrs/beans/ActivityList.java | 3 ++- .../mgt/jaxrs/beans/ApplicationWrapper.java | 2 +- .../mgt/jaxrs/beans/AuthorizationRequest.java | 3 ++- .../mgt/jaxrs/beans/BasePaginatedResult.java | 3 ++- .../device/mgt/jaxrs/beans/BasicUserInfo.java | 3 ++- .../mgt/jaxrs/beans/BasicUserInfoList.java | 3 ++- .../beans/DashboardGadgetDataWrapper.java | 2 +- .../DashboardPaginationGadgetDataWrapper.java | 2 +- .../mgt/jaxrs/beans/DeviceCompliance.java | 3 ++- .../mgt/jaxrs/beans/DeviceGroupList.java | 3 ++- .../device/mgt/jaxrs/beans/DeviceList.java | 3 ++- .../jaxrs/beans/DeviceToGroupsAssignment.java | 3 ++- .../mgt/jaxrs/beans/DeviceTypeList.java | 3 ++- .../jaxrs/beans/EnrollmentCertificate.java | 2 +- .../mgt/jaxrs/beans/EnrollmentInvitation.java | 2 +- .../device/mgt/jaxrs/beans/ErrorListItem.java | 3 ++- .../device/mgt/jaxrs/beans/ErrorResponse.java | 3 ++- .../device/mgt/jaxrs/beans/MobileApp.java | 2 +- .../mgt/jaxrs/beans/MobileAppTypes.java | 2 +- .../mgt/jaxrs/beans/NotificationList.java | 3 ++- .../jaxrs/beans/OldPasswordResetWrapper.java | 2 +- .../device/mgt/jaxrs/beans/OperationList.java | 3 ++- .../mgt/jaxrs/beans/OperationRequest.java | 1 + .../mgt/jaxrs/beans/PasswordResetWrapper.java | 2 +- .../device/mgt/jaxrs/beans/PolicyList.java | 3 ++- .../device/mgt/jaxrs/beans/PolicyWrapper.java | 2 +- .../beans/PriorityUpdatedPolicyWrapper.java | 2 +- .../device/mgt/jaxrs/beans/Profile.java | 2 +- .../mgt/jaxrs/beans/ProfileFeature.java | 2 +- .../mgt/jaxrs/beans/RemoteSessionInfo.java | 5 +---- .../device/mgt/jaxrs/beans/RoleInfo.java | 2 +- .../device/mgt/jaxrs/beans/RoleList.java | 3 ++- .../carbon/device/mgt/jaxrs/beans/Scope.java | 3 ++- .../device/mgt/jaxrs/beans/UserInfo.java | 2 +- .../device/mgt/jaxrs/beans/UserInfoList.java | 3 ++- .../mgt/jaxrs/beans/analytics/Attribute.java | 1 + .../jaxrs/beans/analytics/AttributeType.java | 1 + .../beans/analytics/DeviceTypeEvent.java | 1 + .../beans/analytics/EventAttributeList.java | 1 + .../jaxrs/beans/analytics/EventRecords.java | 1 + .../jaxrs/beans/analytics/TransportType.java | 1 + .../beans/android/AppStoreApplication.java | 2 +- .../beans/android/EnterpriseApplication.java | 2 +- .../jaxrs/beans/android/WebApplication.java | 2 +- .../jaxrs/beans/ios/AppStoreApplication.java | 2 +- .../beans/ios/EnterpriseApplication.java | 2 +- .../jaxrs/beans/ios/RemoveApplication.java | 2 +- .../device/mgt/jaxrs/beans/ios/WebClip.java | 2 +- .../device/mgt/jaxrs/common/Application.java | 2 +- .../device/mgt/jaxrs/common/ErrorHandler.java | 4 ++-- .../device/mgt/jaxrs/common/ErrorMessage.java | 3 +-- .../jaxrs/common/GsonMessageBodyHandler.java | 2 +- .../jaxrs/context/DeviceOperationContext.java | 2 +- .../jaxrs/exception/BadRequestException.java | 2 +- .../ConstraintViolationException.java | 2 +- .../device/mgt/jaxrs/exception/ErrorDTO.java | 2 +- .../jaxrs/exception/ForbiddenException.java | 2 +- .../exception/GlobalThrowableMapper.java | 2 +- .../device/mgt/jaxrs/exception/Message.java | 2 +- .../jaxrs/exception/NotFoundException.java | 3 ++- .../UnexpectedServerErrorException.java | 3 ++- .../UnknownApplicationTypeException.java | 3 ++- .../exception/ValidationInterceptor.java | 2 +- .../api/ActivityInfoProviderService.java | 3 ++- .../api/ConfigurationManagementService.java | 3 ++- .../jaxrs/service/api/DeviceAgentService.java | 3 ++- .../api/DeviceEventManagementService.java | 19 +++++++++++++++++++ .../service/api/DeviceManagementService.java | 3 ++- .../api/DeviceTypeManagementService.java | 3 ++- .../service/api/GeoLocationBasedService.java | 1 - .../service/api/GroupManagementService.java | 2 +- .../api/NotificationManagementService.java | 3 ++- .../service/api/PolicyManagementService.java | 3 ++- .../service/api/RemoteSessionService.java | 1 - .../service/api/RoleManagementService.java | 3 ++- .../service/api/UserManagementService.java | 3 ++- .../ApplicationManagementAdminService.java | 3 ++- ...DeviceAccessAuthorizationAdminService.java | 2 +- ...AnalyticsArtifactUploaderAdminService.java | 1 + .../admin/DeviceManagementAdminService.java | 3 ++- .../DeviceTypeManagementAdminService.java | 3 ++- .../admin/GroupManagementAdminService.java | 2 +- .../api/admin/UserManagementAdminService.java | 3 ++- .../impl/ActivityProviderServiceImpl.java | 3 ++- .../impl/ConfigurationServiceImpl.java | 3 ++- .../service/impl/DeviceAgentServiceImpl.java | 3 ++- .../DeviceEventManagementServiceImpl.java | 19 +++++++++++++++++++ .../impl/DeviceManagementServiceImpl.java | 3 ++- .../impl/DeviceTypeManagementServiceImpl.java | 3 ++- .../impl/GroupManagementServiceImpl.java | 2 +- .../NotificationManagementServiceImpl.java | 3 ++- .../impl/PolicyManagementServiceImpl.java | 3 ++- .../impl/RoleManagementServiceImpl.java | 3 ++- .../impl/UserManagementServiceImpl.java | 3 ++- ...ApplicationManagementAdminServiceImpl.java | 3 ++- ...ceAccessAuthorizationAdminServiceImpl.java | 3 ++- ...yticsArtifactUploaderAdminServiceImpl.java | 1 + .../DeviceManagementAdminServiceImpl.java | 3 ++- .../DeviceTypeManagementAdminServiceImpl.java | 3 ++- .../GroupManagementAdminServiceImpl.java | 3 ++- .../admin/UserManagementAdminServiceImpl.java | 3 ++- .../service/impl/util/ConflictException.java | 3 ++- .../service/impl/util/FilteringUtil.java | 3 ++- .../impl/util/InputValidationException.java | 3 ++- .../service/impl/util/NotFoundException.java | 3 ++- .../impl/util/RequestValidationUtil.java | 3 ++- .../util/UnauthorizedAccessException.java | 3 ++- .../util/UnexpectedServerErrorException.java | 3 ++- .../SecurityDefinitionConfigurator.java | 3 ++- .../device/mgt/jaxrs/util/Constants.java | 2 +- .../CredentialManagementResponseBuilder.java | 2 +- .../mgt/jaxrs/util/DeviceMgtAPIUtils.java | 2 +- .../device/mgt/jaxrs/util/DeviceMgtUtil.java | 2 +- .../jaxrs/util/MDMAndroidOperationUtil.java | 2 +- .../mgt/jaxrs/util/MDMAppConstants.java | 2 +- .../mgt/jaxrs/util/MDMIOSOperationUtil.java | 2 +- .../mgt/jaxrs/util/ResponsePayload.java | 2 +- .../jaxrs/util/SetReferenceTransformer.java | 2 +- .../src/main/webapp/META-INF/permissions.xml | 2 +- .../webapp/META-INF/webapp-classloading.xml | 2 +- .../src/main/webapp/WEB-INF/cxf-servlet.xml | 2 +- .../src/main/webapp/WEB-INF/web.xml | 3 ++- .../service/impl/DeviceAgentServiceTest.java | 1 + .../impl/DeviceTypeManagementServiceTest.java | 1 + .../impl/GeoLocationBasedServiceImplTest.java | 19 +++++++++++++++++++ .../impl/util/DeviceMgtAPITestHelper.java | 1 + .../src/test/resources/log4j.properties | 2 +- 131 files changed, 245 insertions(+), 121 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/pom.xml index 2ccb7a028d..39d9ccdd54 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/pom.xml +++ b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/pom.xml @@ -1,6 +1,6 @@ + Admin-Webapp diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceAgentServiceTest.java b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceAgentServiceTest.java index efd573b11f..05bd490a85 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceAgentServiceTest.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceAgentServiceTest.java @@ -15,6 +15,7 @@ * specific language governing permissions and limitations * under the License. */ + package org.wso2.carbon.device.mgt.jaxrs.service.impl; import org.apache.axis2.AxisFault; diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceTest.java b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceTest.java index 9629afb07a..09680a9d9e 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceTest.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceTest.java @@ -15,6 +15,7 @@ * specific language governing permissions and limitations * under the License. */ + package org.wso2.carbon.device.mgt.jaxrs.service.impl; import org.apache.commons.logging.Log; diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImplTest.java b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImplTest.java index be7209a8e9..bbeeea1dd6 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImplTest.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImplTest.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + package org.wso2.carbon.device.mgt.jaxrs.service.impl; diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/util/DeviceMgtAPITestHelper.java b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/util/DeviceMgtAPITestHelper.java index f1f0d1628d..884f67923f 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/util/DeviceMgtAPITestHelper.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/util/DeviceMgtAPITestHelper.java @@ -15,6 +15,7 @@ * specific language governing permissions and limitations * under the License. */ + package org.wso2.carbon.device.mgt.jaxrs.service.impl.util; import org.wso2.carbon.device.mgt.common.Device; diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/resources/log4j.properties b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/resources/log4j.properties index e415fd607d..90c5d0edce 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/resources/log4j.properties +++ b/components/device-mgt/org.wso2.carbon.device.mgt.v09.api/src/test/resources/log4j.properties @@ -1,5 +1,5 @@ # -# Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. +# Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. # # WSO2 Inc. licenses this file to you under the Apache License, # Version 2.0 (the "License"); you may not use this file except