.DS_Store banished!
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/2d355144 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/2d355144 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/2d355144 Branch: refs/heads/master Commit: 2d355144660d67ce9253276bef62c3a10353f707 Parents: b9baeeb Author: scnakandala <[email protected]> Authored: Wed Dec 2 11:36:19 2015 -0500 Committer: scnakandala <[email protected]> Committed: Tue Dec 15 21:09:14 2015 -0500 ---------------------------------------------------------------------- modules/data-manager/pom.xml | 20 ----------- .../airavata/data/manager/DataManager.java | 7 ++++ .../data/manager/DataManagerFactory.java | 28 ++++++++++++++++ .../airavata/data/manager/DataManagerImpl.java | 28 ++++++++++++++++ .../data/manager/DataManagerFactoryTest.java | 28 ++++++++++++++++ .../airavata-api/data_resource_models.thrift | 35 ++++++++++++++++++++ 6 files changed, 126 insertions(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/2d355144/modules/data-manager/pom.xml ---------------------------------------------------------------------- diff --git a/modules/data-manager/pom.xml b/modules/data-manager/pom.xml index fd980ed..4d7a673 100644 --- a/modules/data-manager/pom.xml +++ b/modules/data-manager/pom.xml @@ -15,25 +15,5 @@ <name>Airavata Data Manager</name> <url>http://airavata.apache.org/</url> - <modules> - <module>data-manager-core</module> - <module>data-manager-cpi</module> - </modules> - <dependencies> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.7</version> - <scope>test</scope> - </dependency> - </dependencies> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/2d355144/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManager.java ---------------------------------------------------------------------- diff --git a/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManager.java b/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManager.java new file mode 100644 index 0000000..ed79edb --- /dev/null +++ b/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManager.java @@ -0,0 +1,7 @@ +package org.apache.airavata.data.manager; + +/** + * Created by supun on 12/1/15. + */ +public interface DataManager { +} http://git-wip-us.apache.org/repos/asf/airavata/blob/2d355144/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerFactory.java ---------------------------------------------------------------------- diff --git a/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerFactory.java b/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerFactory.java new file mode 100644 index 0000000..74fd68f --- /dev/null +++ b/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerFactory.java @@ -0,0 +1,28 @@ +/* + * + * 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.data.manager; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class DataManagerFactory { + private final static Logger logger = LoggerFactory.getLogger(DataManagerFactory.class); +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/2d355144/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerImpl.java ---------------------------------------------------------------------- diff --git a/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerImpl.java b/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerImpl.java new file mode 100644 index 0000000..379418f --- /dev/null +++ b/modules/data-manager/src/main/java/org/apache/airavata/data/manager/DataManagerImpl.java @@ -0,0 +1,28 @@ +/* + * + * 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.data.manager; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class DataManagerImpl { + private final static Logger logger = LoggerFactory.getLogger(DataManagerImpl.class); +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/2d355144/modules/data-manager/src/test/java/org/apache/airavata/data/manager/DataManagerFactoryTest.java ---------------------------------------------------------------------- diff --git a/modules/data-manager/src/test/java/org/apache/airavata/data/manager/DataManagerFactoryTest.java b/modules/data-manager/src/test/java/org/apache/airavata/data/manager/DataManagerFactoryTest.java new file mode 100644 index 0000000..4bfa570 --- /dev/null +++ b/modules/data-manager/src/test/java/org/apache/airavata/data/manager/DataManagerFactoryTest.java @@ -0,0 +1,28 @@ +/* + * + * 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.data.manager; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class DataManagerFactoryTest { + private final static Logger logger = LoggerFactory.getLogger(DataManagerFactoryTest.class); +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/2d355144/thrift-interface-descriptions/airavata-api/data_resource_models.thrift ---------------------------------------------------------------------- diff --git a/thrift-interface-descriptions/airavata-api/data_resource_models.thrift b/thrift-interface-descriptions/airavata-api/data_resource_models.thrift new file mode 100644 index 0000000..85a8044 --- /dev/null +++ b/thrift-interface-descriptions/airavata-api/data_resource_models.thrift @@ -0,0 +1,35 @@ +/* + * 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.data.resource + namespace php Airavata.Model.Data.Resource + namespace cpp apache.airavata.model.data.resource + namespace py apache.airavata.model.data.resource + +struct ResourceModel { + 1: optional string resourceId, + 2: optional string resourceName, + 3: list<ReplicaLocationModel> replicaLocations +} + +struct ReplicaLocationModel { + 1: optional list<string> physicalLocations +} +
