Repository: airavata
Updated Branches:
  refs/heads/develop edfbbfe09 -> 3d44bc7a8


adding missing thrift generated files


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/3d44bc7a
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/3d44bc7a
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/3d44bc7a

Branch: refs/heads/develop
Commit: 3d44bc7a8eb8ffb9b2ab8bfd4cb839cad92e3933
Parents: edfbbfe
Author: scnakandala <[email protected]>
Authored: Thu Jul 7 02:36:01 2016 -0400
Committer: scnakandala <[email protected]>
Committed: Thu Jul 7 02:36:01 2016 -0400

----------------------------------------------------------------------
 .../airavata/group_manager_model_constants.cpp  | 34 +++++++++++
 .../airavata/group_manager_model_constants.h    | 41 +++++++++++++
 .../lib/airavata/group_manager_model_types.cpp  | 57 ++++++++++++++++++
 .../lib/airavata/group_manager_model_types.h    | 62 ++++++++++++++++++++
 .../lib/Airavata/Model/Group/Types.php          | 42 +++++++++++++
 .../lib/apache/airavata/model/group/__init__.py |  1 +
 .../apache/airavata/model/group/constants.py    | 11 ++++
 .../lib/apache/airavata/model/group/ttypes.py   | 54 +++++++++++++++++
 8 files changed, 302 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.cpp
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.cpp
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.cpp
new file mode 100644
index 0000000..db609ab
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.cpp
@@ -0,0 +1,34 @@
+/**
+ * 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.
+ */
+
+/**
+ * Autogenerated by Thrift Compiler (0.9.3)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+#include "group_manager_model_constants.h"
+
+namespace apache { namespace airavata { namespace model { namespace group {
+
+const group_manager_modelConstants g_group_manager_model_constants;
+
+group_manager_modelConstants::group_manager_modelConstants() {
+}
+
+}}}} // namespace
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.h
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.h
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.h
new file mode 100644
index 0000000..9df6636
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_constants.h
@@ -0,0 +1,41 @@
+/**
+ * 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.
+ */
+
+/**
+ * Autogenerated by Thrift Compiler (0.9.3)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+#ifndef group_manager_model_CONSTANTS_H
+#define group_manager_model_CONSTANTS_H
+
+#include "group_manager_model_types.h"
+
+namespace apache { namespace airavata { namespace model { namespace group {
+
+class group_manager_modelConstants {
+ public:
+  group_manager_modelConstants();
+
+};
+
+extern const group_manager_modelConstants g_group_manager_model_constants;
+
+}}}} // namespace
+
+#endif

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.cpp
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.cpp
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.cpp
new file mode 100644
index 0000000..21c454b
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.cpp
@@ -0,0 +1,57 @@
+/**
+ * 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.
+ */
+
+/**
+ * Autogenerated by Thrift Compiler (0.9.3)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+#include "group_manager_model_types.h"
+
+#include <algorithm>
+#include <ostream>
+
+#include <thrift/TToString.h>
+
+namespace apache { namespace airavata { namespace model { namespace group {
+
+int _kResourceTypeValues[] = {
+  ResourceType::PROJECT,
+  ResourceType::EXPERIMENT,
+  ResourceType::DATA,
+  ResourceType::OTHER
+};
+const char* _kResourceTypeNames[] = {
+  "PROJECT",
+  "EXPERIMENT",
+  "DATA",
+  "OTHER"
+};
+const std::map<int, const char*> 
_ResourceType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(4, 
_kResourceTypeValues, _kResourceTypeNames), ::apache::thrift::TEnumIterator(-1, 
NULL, NULL));
+
+int _kResourcePermissionTypeValues[] = {
+  ResourcePermissionType::WRITE,
+  ResourcePermissionType::READ
+};
+const char* _kResourcePermissionTypeNames[] = {
+  "WRITE",
+  "READ"
+};
+const std::map<int, const char*> 
_ResourcePermissionType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(2, 
_kResourcePermissionTypeValues, _kResourcePermissionTypeNames), 
::apache::thrift::TEnumIterator(-1, NULL, NULL));
+
+}}}} // namespace

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.h
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.h
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.h
new file mode 100644
index 0000000..4cf43d4
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_manager_model_types.h
@@ -0,0 +1,62 @@
+/**
+ * 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.
+ */
+
+/**
+ * Autogenerated by Thrift Compiler (0.9.3)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+#ifndef group_manager_model_TYPES_H
+#define group_manager_model_TYPES_H
+
+#include <iosfwd>
+
+#include <thrift/Thrift.h>
+#include <thrift/TApplicationException.h>
+#include <thrift/protocol/TProtocol.h>
+#include <thrift/transport/TTransport.h>
+
+#include <thrift/cxxfunctional.h>
+#include "airavata_commons_types.h"
+
+
+namespace apache { namespace airavata { namespace model { namespace group {
+
+struct ResourceType {
+  enum type {
+    PROJECT = 0,
+    EXPERIMENT = 1,
+    DATA = 2,
+    OTHER = 3
+  };
+};
+
+extern const std::map<int, const char*> _ResourceType_VALUES_TO_NAMES;
+
+struct ResourcePermissionType {
+  enum type {
+    WRITE = 0,
+    READ = 1
+  };
+};
+
+extern const std::map<int, const char*> 
_ResourcePermissionType_VALUES_TO_NAMES;
+
+}}}} // namespace
+
+#endif

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Group/Types.php
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Group/Types.php
 
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Group/Types.php
new file mode 100644
index 0000000..c416f74
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Group/Types.php
@@ -0,0 +1,42 @@
+<?php
+namespace Airavata\Model\Group;
+
+/**
+ * Autogenerated by Thrift Compiler (0.9.3)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+use Thrift\Base\TBase;
+use Thrift\Type\TType;
+use Thrift\Type\TMessageType;
+use Thrift\Exception\TException;
+use Thrift\Exception\TProtocolException;
+use Thrift\Protocol\TProtocol;
+use Thrift\Protocol\TBinaryProtocolAccelerated;
+use Thrift\Exception\TApplicationException;
+
+
+final class ResourceType {
+  const PROJECT = 0;
+  const EXPERIMENT = 1;
+  const DATA = 2;
+  const OTHER = 3;
+  static public $__names = array(
+    0 => 'PROJECT',
+    1 => 'EXPERIMENT',
+    2 => 'DATA',
+    3 => 'OTHER',
+  );
+}
+
+final class ResourcePermissionType {
+  const WRITE = 0;
+  const READ = 1;
+  static public $__names = array(
+    0 => 'WRITE',
+    1 => 'READ',
+  );
+}
+
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/__init__.py
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/__init__.py
 
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/__init__.py
new file mode 100644
index 0000000..adefd8e
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/__init__.py
@@ -0,0 +1 @@
+__all__ = ['ttypes', 'constants']

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/constants.py
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/constants.py
 
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/constants.py
new file mode 100644
index 0000000..4a6492b
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/constants.py
@@ -0,0 +1,11 @@
+#
+# Autogenerated by Thrift Compiler (0.9.3)
+#
+# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+#
+#  options string: py
+#
+
+from thrift.Thrift import TType, TMessageType, TException, 
TApplicationException
+from ttypes import *
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d44bc7a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/ttypes.py
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/ttypes.py
 
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/ttypes.py
new file mode 100644
index 0000000..7e3ae6e
--- /dev/null
+++ 
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/group/ttypes.py
@@ -0,0 +1,54 @@
+#
+# Autogenerated by Thrift Compiler (0.9.3)
+#
+# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+#
+#  options string: py
+#
+
+from thrift.Thrift import TType, TMessageType, TException, 
TApplicationException
+import apache.airavata.model.commons.ttypes
+
+
+from thrift.transport import TTransport
+from thrift.protocol import TBinaryProtocol, TProtocol
+try:
+  from thrift.protocol import fastbinary
+except:
+  fastbinary = None
+
+
+class ResourceType:
+  PROJECT = 0
+  EXPERIMENT = 1
+  DATA = 2
+  OTHER = 3
+
+  _VALUES_TO_NAMES = {
+    0: "PROJECT",
+    1: "EXPERIMENT",
+    2: "DATA",
+    3: "OTHER",
+  }
+
+  _NAMES_TO_VALUES = {
+    "PROJECT": 0,
+    "EXPERIMENT": 1,
+    "DATA": 2,
+    "OTHER": 3,
+  }
+
+class ResourcePermissionType:
+  WRITE = 0
+  READ = 1
+
+  _VALUES_TO_NAMES = {
+    0: "WRITE",
+    1: "READ",
+  }
+
+  _NAMES_TO_VALUES = {
+    "WRITE": 0,
+    "READ": 1,
+  }
+

Reply via email to