Repository: airavata Updated Branches: refs/heads/develop 312d7a220 -> a14d717f4
http://git-wip-us.apache.org/repos/asf/airavata/blob/1ad9ae5d/thrift-interface-descriptions/data-models/file-manager-models/file__transfer_models.thrift ---------------------------------------------------------------------- diff --git a/thrift-interface-descriptions/data-models/file-manager-models/file__transfer_models.thrift b/thrift-interface-descriptions/data-models/file-manager-models/file__transfer_models.thrift deleted file mode 100644 index 580959d..0000000 --- a/thrift-interface-descriptions/data-models/file-manager-models/file__transfer_models.thrift +++ /dev/null @@ -1,77 +0,0 @@ -/* - * 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. - * - */ - - namespace java org.apache.airavata.model.file.transfer - namespace php Airavata.Model.File.Transfer - namespace cpp apache.airavata.model.file.transfer - namespace py apache.airavata.model.file.transfer - - enum StorageResourceProtocol{ - SCP,SFTP,HTTP,HTTPS,GridFTP,LOCAL - } - - enum LSEntryType{ - DIRECTORY, - FILE - } - - enum FileTransferMode{ - SYNC,ASYNC - } - - enum FileTransferStatus{ - CREATED, QUEUED, RUNNING, COMPLETED, FAILED - } - - struct FileTransferRequestModel{ - 1: optional string transferId, - 2: optional string gatewayId, - 3: optional string username, - 4: optional string srcHostname, - 5: optional string srcLoginName, - 6: optional i64 srcPort, - 7: optional StorageResourceProtocol srcProtocol, - 8: optional string srcFilePath, - 9: optional string srcHostCredToken, - 10: optional string destHostname, - 11: optional string destLoginName, - 12: optional i64 destPort, - 13: optional StorageResourceProtocol destProtocol, - 14: optional string destFilePath, - 15: optional string destHostCredToken, - 16: optional FileTransferMode fileTransferMode, - 17: optional FileTransferStatus transferStatus, - 18: optional i64 fileSize, - 19: optional i64 transferTime, - 20: optional i64 createdTime, - 21: optional i64 lastModifiedType, - 22: optional list<string> callbackEmails - } - - struct LSEntryModel { - 1: optional LSEntryType type, - 2: optional i64 size, - 3: optional string nativeType, - 4: optional string name, - 5: optional string path, - 6: optional string storageHostName, - 7: optional i64 lastModifiedType, - 8: optional i64 createdTime - } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1ad9ae5d/thrift-interface-descriptions/data-models/file-manager-models/metadata_models.thrift ---------------------------------------------------------------------- diff --git a/thrift-interface-descriptions/data-models/file-manager-models/metadata_models.thrift b/thrift-interface-descriptions/data-models/file-manager-models/metadata_models.thrift deleted file mode 100644 index 7ce6e88..0000000 --- a/thrift-interface-descriptions/data-models/file-manager-models/metadata_models.thrift +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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. - * - */ - - namespace java org.apache.airavata.model.file.metadata - namespace php Airavata.Model.file.metadata - namespace cpp apache.airavata.model.file.metadata - namespace py apache.airavata.model.file.metadata - - enum MetadataType{ - FILE, COLLECTION - } - - struct MetadataModel{ - 1: optional string metadataId, - 2: optional string gatewayId, - 3: optional string username, - 4: optional list<string> sharedUsers, - 5: optional bool sharedPublic, - 6: optional string userFriendlyName, - 7: optional string userFriendlyDescription, - 8: optional MetadataType metadataType, - 9: optional string associatedEntityId, - 10: optional map<string,string> customInformation - } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1ad9ae5d/thrift-interface-descriptions/data-models/file-manager-models/replica_models.thrift ---------------------------------------------------------------------- diff --git a/thrift-interface-descriptions/data-models/file-manager-models/replica_models.thrift b/thrift-interface-descriptions/data-models/file-manager-models/replica_models.thrift deleted file mode 100644 index 4e2ea00..0000000 --- a/thrift-interface-descriptions/data-models/file-manager-models/replica_models.thrift +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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. - * - */ - -include "../resource-catalog-models/data_movement_models.thrift" - -namespace java org.apache.airavata.model.file.replica -namespace php Airavata.Model.File.Replica -namespace cpp apache.airavata.model.file.replica -namespace py apache.airavata.model.file.replica - -enum FileModelType{ - FILE, DIRECTORY -} - -enum StorageResourceType { - GATEWAY_DATA_STORE, - BACKUP_GATEWAY_DATA_STORE, - COMPUTE_RESOURCE, - LONG_TERM_STORAGE_RESOURCE, - OTHER -} - -enum ReplicaPersistentType { - TRANSIENT, - PERSISTENT -} - -struct FileCollectionModel{ - 1: optional string collectionId, - 2: optional string gatewayId, - 3: optional string username, - 4: optional list<string> sharedUsers, - 5: optional bool sharedPublic, - 6: optional string collectionName, - 7: optional string collectionDescription, - 8: optional list<string> fileIdList -} - -struct FileModel { - 1: optional string fileId, - 2: optional string gatewayId, - 3: optional string username, - 4: optional list<string> sharedUsers, - 5: optional bool sharedPublic, - 6: optional string fileName, - 7: optional string fileDescription, - 8: optional string sha256Checksum, - 9: optional FileModelType fileType, - 10: optional i32 fileSize, - 11: optional string dataType, - 12: optional i64 creationTime, - 13: optional i64 lastModifiedTime, - 14: optional list<FileReplicaModel> fileReplicas -} - -struct FileReplicaModel{ - 1: optional string replicaName, - 2: optional string replicaDescription, - 3: optional string storageHostname, - 4: optional string storageResourceId, - 5: optional string filePath, - 6: optional i64 creationTime, - 7: optional i64 validUntilTime, - 8: optional StorageResourceType storageResourceType, - 9: optional ReplicaPersistentType replicaPersistentType -} \ No newline at end of file