This is an automated email from the ASF dual-hosted git repository. dimuthuupe pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
commit 3d621d51791f3ea76e3913e8c02b46090c1c9727 Author: Gopi Kiran <[email protected]> AuthorDate: Fri May 1 15:23:05 2020 -0400 individual imports and license header addition --- .../server/backend/sql/SQLResourceBackend.java | 65 +++++++++++++++++++++- .../backend/sql/entity/FTPResourceEntity.java | 17 ++++++ .../backend/sql/entity/FTPStorageEntity.java | 17 ++++++ .../sql/repository/FTPResourceRepository.java | 17 ++++++ .../sql/repository/FTPStorageRepository.java | 17 ++++++ .../server/backend/sql/entity/FTPSecretEntity.java | 17 ++++++ .../sql/repository/FTPSecretRepository.java | 17 ++++++ 7 files changed, 164 insertions(+), 3 deletions(-) diff --git a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/SQLResourceBackend.java b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/SQLResourceBackend.java index adea1a0..113a7ee 100644 --- a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/SQLResourceBackend.java +++ b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/SQLResourceBackend.java @@ -17,10 +17,69 @@ package org.apache.airavata.mft.resource.server.backend.sql; + + import org.apache.airavata.mft.resource.server.backend.ResourceBackend; -import org.apache.airavata.mft.resource.server.backend.sql.entity.*; -import org.apache.airavata.mft.resource.server.backend.sql.repository.*; -import org.apache.airavata.mft.resource.service.*; +import org.apache.airavata.mft.resource.server.backend.sql.entity.FTPResourceEntity; +import org.apache.airavata.mft.resource.server.backend.sql.entity.FTPStorageEntity; +import org.apache.airavata.mft.resource.server.backend.sql.entity.LocalResourceEntity; +import org.apache.airavata.mft.resource.server.backend.sql.entity.SCPResourceEntity; +import org.apache.airavata.mft.resource.server.backend.sql.entity.SCPStorageEntity; +import org.apache.airavata.mft.resource.server.backend.sql.repository.FTPResourceRepository; +import org.apache.airavata.mft.resource.server.backend.sql.repository.FTPStorageRepository; +import org.apache.airavata.mft.resource.server.backend.sql.repository.LocalResourceRepository; +import org.apache.airavata.mft.resource.server.backend.sql.repository.SCPResourceRepository; +import org.apache.airavata.mft.resource.server.backend.sql.repository.SCPStorageRepository; +import org.apache.airavata.mft.resource.service.AzureResource; +import org.apache.airavata.mft.resource.service.AzureResourceCreateRequest; +import org.apache.airavata.mft.resource.service.AzureResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.AzureResourceGetRequest; +import org.apache.airavata.mft.resource.service.AzureResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.BoxResource; +import org.apache.airavata.mft.resource.service.BoxResourceCreateRequest; +import org.apache.airavata.mft.resource.service.BoxResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.BoxResourceGetRequest; +import org.apache.airavata.mft.resource.service.BoxResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.DropboxResource; +import org.apache.airavata.mft.resource.service.DropboxResourceCreateRequest; +import org.apache.airavata.mft.resource.service.DropboxResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.DropboxResourceGetRequest; +import org.apache.airavata.mft.resource.service.DropboxResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.FTPResource; +import org.apache.airavata.mft.resource.service.FTPResourceCreateRequest; +import org.apache.airavata.mft.resource.service.FTPResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.FTPResourceGetRequest; +import org.apache.airavata.mft.resource.service.FTPResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.FTPStorage; +import org.apache.airavata.mft.resource.service.FTPStorageCreateRequest; +import org.apache.airavata.mft.resource.service.FTPStorageDeleteRequest; +import org.apache.airavata.mft.resource.service.FTPStorageGetRequest; +import org.apache.airavata.mft.resource.service.FTPStorageUpdateRequest; +import org.apache.airavata.mft.resource.service.GCSResource; +import org.apache.airavata.mft.resource.service.GCSResourceCreateRequest; +import org.apache.airavata.mft.resource.service.GCSResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.GCSResourceGetRequest; +import org.apache.airavata.mft.resource.service.GCSResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.LocalResource; +import org.apache.airavata.mft.resource.service.LocalResourceCreateRequest; +import org.apache.airavata.mft.resource.service.LocalResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.LocalResourceGetRequest; +import org.apache.airavata.mft.resource.service.LocalResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.S3Resource; +import org.apache.airavata.mft.resource.service.S3ResourceCreateRequest; +import org.apache.airavata.mft.resource.service.S3ResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.S3ResourceGetRequest; +import org.apache.airavata.mft.resource.service.S3ResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.SCPResource; +import org.apache.airavata.mft.resource.service.SCPResourceCreateRequest; +import org.apache.airavata.mft.resource.service.SCPResourceDeleteRequest; +import org.apache.airavata.mft.resource.service.SCPResourceGetRequest; +import org.apache.airavata.mft.resource.service.SCPResourceUpdateRequest; +import org.apache.airavata.mft.resource.service.SCPStorage; +import org.apache.airavata.mft.resource.service.SCPStorageCreateRequest; +import org.apache.airavata.mft.resource.service.SCPStorageDeleteRequest; +import org.apache.airavata.mft.resource.service.SCPStorageGetRequest; +import org.apache.airavata.mft.resource.service.SCPStorageUpdateRequest; import org.dozer.DozerBeanMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPResourceEntity.java b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPResourceEntity.java index 5aba915..6f378aa 100644 --- a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPResourceEntity.java +++ b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPResourceEntity.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF 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.apache.airavata.mft.resource.server.backend.sql.entity; import org.hibernate.annotations.GenericGenerator; diff --git a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPStorageEntity.java b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPStorageEntity.java index 2c42a8c..868ea7f 100644 --- a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPStorageEntity.java +++ b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/entity/FTPStorageEntity.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF 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.apache.airavata.mft.resource.server.backend.sql.entity; import org.hibernate.annotations.GenericGenerator; diff --git a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPResourceRepository.java b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPResourceRepository.java index ad1f855..53d0222 100644 --- a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPResourceRepository.java +++ b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPResourceRepository.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF 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.apache.airavata.mft.resource.server.backend.sql.repository; import org.apache.airavata.mft.resource.server.backend.sql.entity.FTPResourceEntity; diff --git a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPStorageRepository.java b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPStorageRepository.java index c80187a..152ae34 100644 --- a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPStorageRepository.java +++ b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/backend/sql/repository/FTPStorageRepository.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF 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.apache.airavata.mft.resource.server.backend.sql.repository; import org.apache.airavata.mft.resource.server.backend.sql.entity.FTPStorageEntity; diff --git a/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/entity/FTPSecretEntity.java b/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/entity/FTPSecretEntity.java index 61ac8b8..7c3d839 100644 --- a/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/entity/FTPSecretEntity.java +++ b/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/entity/FTPSecretEntity.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF 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.apache.airavata.mft.secret.server.backend.sql.entity; import org.hibernate.annotations.GenericGenerator; diff --git a/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/repository/FTPSecretRepository.java b/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/repository/FTPSecretRepository.java index 6236389..6eea16d 100644 --- a/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/repository/FTPSecretRepository.java +++ b/services/secret-service/server/src/main/java/org/apache/airavata/mft/secret/server/backend/sql/repository/FTPSecretRepository.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF 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.apache.airavata.mft.secret.server.backend.sql.repository; import org.apache.airavata.mft.secret.server.backend.sql.entity.FTPSecretEntity;
