You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sh...@apache.org on 2016/01/13 18:02:42 UTC
[05/42] airavata git commit: when checking user exists should check
with user's gateway id
when checking user exists should check with user's gateway id
# Conflicts:
# modules/file-manager/file-manager-core/src/main/java/org/apache/airavata/file/manager/core/MetadataCatalogService.java
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/6efba7c7
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/6efba7c7
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/6efba7c7
Branch: refs/heads/develop
Commit: 6efba7c7489e26ec5cf7abc5b6d038400ade702e
Parents: 6751a37
Author: scnakandala <su...@gmail.com>
Authored: Mon Jan 4 14:16:30 2016 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Mon Jan 4 14:39:40 2016 -0500
----------------------------------------------------------------------
.../manager/core/MetadataCatalogService.java | 76 ++++++++++++++++++++
1 file changed, 76 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/6efba7c7/modules/file-manager/file-manager-core/src/main/java/org/apache/airavata/file/manager/core/MetadataCatalogService.java
----------------------------------------------------------------------
diff --git a/modules/file-manager/file-manager-core/src/main/java/org/apache/airavata/file/manager/core/MetadataCatalogService.java b/modules/file-manager/file-manager-core/src/main/java/org/apache/airavata/file/manager/core/MetadataCatalogService.java
new file mode 100644
index 0000000..5c09de5
--- /dev/null
+++ b/modules/file-manager/file-manager-core/src/main/java/org/apache/airavata/file/manager/core/MetadataCatalogService.java
@@ -0,0 +1,76 @@
+/*
+ *
+ * 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.file.manager.core;
+
+import org.apache.airavata.file.manager.cpi.FileManagerException;
+import org.apache.airavata.model.file.metadata.MetadataModel;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class MetadataCatalogService implements org.apache.airavata.file.manager.cpi.MetadataCatalogService{
+ private final static Logger logger = LoggerFactory.getLogger(MetadataCatalogService.class);
+
+ /**
+ * Create new metadata model
+ *
+ * @param metadataModel
+ * @return
+ * @throws FileManagerException
+ */
+ @Override
+ public String createMetadata(MetadataModel metadataModel) throws FileManagerException {
+ return null;
+ }
+
+ /**
+ * Update existing metadata model
+ *
+ * @param metadataModel
+ * @throws FileManagerException
+ */
+ @Override
+ public void updateMetadata(MetadataModel metadataModel) throws FileManagerException {
+
+ }
+
+ /**
+ * Delete existing metadata model
+ *
+ * @param metadataId
+ * @throws FileManagerException
+ */
+ @Override
+ public void deleteMetadata(String metadataId) throws FileManagerException {
+
+ }
+
+ /**
+ * Retrieve metadata model
+ *
+ * @param metadataId
+ * @return
+ * @throws FileManagerException
+ */
+ @Override
+ public MetadataModel getMetadata(String metadataId) throws FileManagerException {
+ return null;
+ }
+}
\ No newline at end of file