[02/40] airavata git commit: AIRAVATA-2500 Initial interfaces, APIs for account provisioning
AIRAVATA-2500 Initial interfaces, APIs for account provisioning Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/1c39e2ea Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/1c39e2ea Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/1c39e2ea Branch: refs/heads/develop Commit: 1c39e2ea715f736d25d874c36a519ee0ed250162 Parents: 6488090 Author: Marcus Christie Authored: Wed Aug 9 15:54:07 2017 -0400 Committer: Marcus Christie Committed: Tue Sep 19 15:07:40 2017 -0400 -- modules/compute-account-provisioning/pom.xml| 67 + .../accountprovisioning/ConfigParam.java| 67 + .../accountprovisioning/SSHAccountManager.java | 69 ++ .../SSHAccountProvisioner.java | 43 +++ .../SSHAccountProvisionerFactory.java | 49 + .../IULdapSSHAccountProvisioner.java| 75 ...ta.accountprovisioning.SSHAccountProvisioner | 22 ++ pom.xml | 1 + .../airavata-apis/airavata_api.thrift | 11 +++ .../account_provisioning_model.thrift | 40 +++ .../gateway_resource_profile_model.thrift | 5 +- 11 files changed, 448 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/airavata/blob/1c39e2ea/modules/compute-account-provisioning/pom.xml -- diff --git a/modules/compute-account-provisioning/pom.xml b/modules/compute-account-provisioning/pom.xml new file mode 100644 index 000..ee89d33 --- /dev/null +++ b/modules/compute-account-provisioning/pom.xml @@ -0,0 +1,67 @@ + + + +http://maven.apache.org/POM/4.0.0"; + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> + +airavata +org.apache.airavata +0.17-SNAPSHOT +../../pom.xml + +4.0.0 + +compute-account-provisioning + + + +airavata-credential-store +org.apache.airavata +${project.version} + + +registry-api-stubs +org.apache.airavata +${project.version} + + +com.jcraft +jsch +0.1.50 + + +org.slf4j +slf4j-api + + +junit +junit +test + + +com.google.code.gson +gson +2.3.1 + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1c39e2ea/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java -- diff --git a/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java b/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java new file mode 100644 index 000..beb8bbc --- /dev/null +++ b/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java @@ -0,0 +1,67 @@ +/* + * 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.accountprovisioning; + +public class ConfigParam { + +public enum ConfigParamType { +STRING, +CRED_TOKEN, +} + +private boolean optional = false; +private String name; +private String description; +private ConfigParamType type = ConfigParamType.STRING; + +public boolean isOptional() { +return optional; +} + +public void setOptional(boolean optional) { +this.optional = optional; +} + +public String getName() { +return name; +} + +public void setName(String name) { +this.name = name; +} + +p
[11/35] airavata git commit: AIRAVATA-2500 Initial interfaces, APIs for account provisioning
AIRAVATA-2500 Initial interfaces, APIs for account provisioning Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/1c39e2ea Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/1c39e2ea Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/1c39e2ea Branch: refs/heads/AIRAVATA-2500 Commit: 1c39e2ea715f736d25d874c36a519ee0ed250162 Parents: 6488090 Author: Marcus Christie Authored: Wed Aug 9 15:54:07 2017 -0400 Committer: Marcus Christie Committed: Tue Sep 19 15:07:40 2017 -0400 -- modules/compute-account-provisioning/pom.xml| 67 + .../accountprovisioning/ConfigParam.java| 67 + .../accountprovisioning/SSHAccountManager.java | 69 ++ .../SSHAccountProvisioner.java | 43 +++ .../SSHAccountProvisionerFactory.java | 49 + .../IULdapSSHAccountProvisioner.java| 75 ...ta.accountprovisioning.SSHAccountProvisioner | 22 ++ pom.xml | 1 + .../airavata-apis/airavata_api.thrift | 11 +++ .../account_provisioning_model.thrift | 40 +++ .../gateway_resource_profile_model.thrift | 5 +- 11 files changed, 448 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/airavata/blob/1c39e2ea/modules/compute-account-provisioning/pom.xml -- diff --git a/modules/compute-account-provisioning/pom.xml b/modules/compute-account-provisioning/pom.xml new file mode 100644 index 000..ee89d33 --- /dev/null +++ b/modules/compute-account-provisioning/pom.xml @@ -0,0 +1,67 @@ + + + +http://maven.apache.org/POM/4.0.0"; + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> + +airavata +org.apache.airavata +0.17-SNAPSHOT +../../pom.xml + +4.0.0 + +compute-account-provisioning + + + +airavata-credential-store +org.apache.airavata +${project.version} + + +registry-api-stubs +org.apache.airavata +${project.version} + + +com.jcraft +jsch +0.1.50 + + +org.slf4j +slf4j-api + + +junit +junit +test + + +com.google.code.gson +gson +2.3.1 + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1c39e2ea/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java -- diff --git a/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java b/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java new file mode 100644 index 000..beb8bbc --- /dev/null +++ b/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java @@ -0,0 +1,67 @@ +/* + * 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.accountprovisioning; + +public class ConfigParam { + +public enum ConfigParamType { +STRING, +CRED_TOKEN, +} + +private boolean optional = false; +private String name; +private String description; +private ConfigParamType type = ConfigParamType.STRING; + +public boolean isOptional() { +return optional; +} + +public void setOptional(boolean optional) { +this.optional = optional; +} + +public String getName() { +return name; +} + +public void setName(String name) { +this.name = name; +} +
airavata git commit: AIRAVATA-2500 Initial interfaces, APIs for account provisioning
Repository: airavata Updated Branches: refs/heads/AIRAVATA-2500 [created] f9da9425d AIRAVATA-2500 Initial interfaces, APIs for account provisioning Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/f9da9425 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/f9da9425 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/f9da9425 Branch: refs/heads/AIRAVATA-2500 Commit: f9da9425d6abc4ed081aae7a4abd88c81fe97384 Parents: a7573b2 Author: Marcus Christie Authored: Wed Aug 9 15:54:07 2017 -0400 Committer: Marcus Christie Committed: Wed Aug 9 15:54:07 2017 -0400 -- modules/compute-account-provisioning/pom.xml| 67 + .../accountprovisioning/ConfigParam.java| 67 + .../accountprovisioning/SSHAccountManager.java | 69 ++ .../SSHAccountProvisioner.java | 43 +++ .../SSHAccountProvisionerFactory.java | 49 + .../IULdapSSHAccountProvisioner.java| 75 ...ta.accountprovisioning.SSHAccountProvisioner | 22 ++ pom.xml | 1 + .../airavata-apis/airavata_api.thrift | 11 +++ .../account_provisioning_model.thrift | 40 +++ .../gateway_resource_profile_model.thrift | 5 +- 11 files changed, 448 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/airavata/blob/f9da9425/modules/compute-account-provisioning/pom.xml -- diff --git a/modules/compute-account-provisioning/pom.xml b/modules/compute-account-provisioning/pom.xml new file mode 100644 index 000..ee89d33 --- /dev/null +++ b/modules/compute-account-provisioning/pom.xml @@ -0,0 +1,67 @@ + + + +http://maven.apache.org/POM/4.0.0"; + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> + +airavata +org.apache.airavata +0.17-SNAPSHOT +../../pom.xml + +4.0.0 + +compute-account-provisioning + + + +airavata-credential-store +org.apache.airavata +${project.version} + + +registry-api-stubs +org.apache.airavata +${project.version} + + +com.jcraft +jsch +0.1.50 + + +org.slf4j +slf4j-api + + +junit +junit +test + + +com.google.code.gson +gson +2.3.1 + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/f9da9425/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java -- diff --git a/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java b/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java new file mode 100644 index 000..beb8bbc --- /dev/null +++ b/modules/compute-account-provisioning/src/main/java/org/apache/airavata/accountprovisioning/ConfigParam.java @@ -0,0 +1,67 @@ +/* + * 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.accountprovisioning; + +public class ConfigParam { + +public enum ConfigParamType { +STRING, +CRED_TOKEN, +} + +private boolean optional = false; +private String name; +private String description; +private ConfigParamType type = ConfigParamType.STRING; + +public boolean isOptional() { +return optional; +} + +public void setOptional(boolean optional) { +this.optional = optional; +} + +public String getName() { +return name