usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [3/6] git commit: Remove no longer used Priam stuff.
Date Fri, 25 Jul 2014 17:40:41 GMT
Remove no longer used Priam stuff.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/d5adda38
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/d5adda38
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/d5adda38

Branch: refs/heads/two-dot-o
Commit: d5adda384f272e7325a89cc65b44f27ae12620cf
Parents: 6441380
Author: Dave Johnson <dmjohnson@apigee.com>
Authored: Fri Jul 25 10:27:21 2014 -0400
Committer: Dave Johnson <dmjohnson@apigee.com>
Committed: Fri Jul 25 10:27:21 2014 -0400

----------------------------------------------------------------------
 .../src/main/dist/conf/Priam.properties         |  21 -------
 .../src/main/dist/lib/priam-agent-1.2.24.jar    | Bin 33020 -> 0 bytes
 .../dist/lib/priam-cass-extensions-1.2.24.jar   | Bin 5478 -> 0 bytes
 .../src/main/dist/webapps/priam-web-1.2.24.war  | Bin 31272443 -> 0 bytes
 .../src/main/groovy/configure_priam.groovy      |  60 -------------------
 5 files changed, 81 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d5adda38/stack/awscluster/src/main/dist/conf/Priam.properties
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/conf/Priam.properties b/stack/awscluster/src/main/dist/conf/Priam.properties
deleted file mode 100644
index e327526..0000000
--- a/stack/awscluster/src/main/dist/conf/Priam.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-
-# priam settings to be added to SimpleDB by configure_priam.groovy
-
-priam.clustername=usergrid2
-
-priam.cass.home=/etc/cassandra
-priam.cass.startscript=/etc/init.d/cassandra start
-priam.cass.stopscript=/etc/init.d/cassandra stop
-priam.yamlLocation=/etc/cassandra/cassandra.yaml
-
-priam.commitlog.location=/mnt/data/cassandra/commitlog
-priam.data.location=/mnt/data/cassandra/data
-priam.cache.location=/mnt/data/cassandra/saved_caches
-
-priam.s3.base_dir=priam-backup
-priam.s3.bucket=priam-cassandra-archive
-priam.backup.incremental.enable=false
-
-priam.partitioner=org.apache.cassandra.dht.RandomPartitioner
-
-priam.zones.available=us-east-1a,us-east-1b,us-east-1c,us-east-1d

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d5adda38/stack/awscluster/src/main/dist/lib/priam-agent-1.2.24.jar
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/lib/priam-agent-1.2.24.jar b/stack/awscluster/src/main/dist/lib/priam-agent-1.2.24.jar
deleted file mode 100644
index 21e6980..0000000
Binary files a/stack/awscluster/src/main/dist/lib/priam-agent-1.2.24.jar and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d5adda38/stack/awscluster/src/main/dist/lib/priam-cass-extensions-1.2.24.jar
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/lib/priam-cass-extensions-1.2.24.jar b/stack/awscluster/src/main/dist/lib/priam-cass-extensions-1.2.24.jar
deleted file mode 100644
index 77c4f7b..0000000
Binary files a/stack/awscluster/src/main/dist/lib/priam-cass-extensions-1.2.24.jar and /dev/null
differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d5adda38/stack/awscluster/src/main/dist/webapps/priam-web-1.2.24.war
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/webapps/priam-web-1.2.24.war b/stack/awscluster/src/main/dist/webapps/priam-web-1.2.24.war
deleted file mode 100644
index 016eed4..0000000
Binary files a/stack/awscluster/src/main/dist/webapps/priam-web-1.2.24.war and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d5adda38/stack/awscluster/src/main/groovy/configure_priam.groovy
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/groovy/configure_priam.groovy b/stack/awscluster/src/main/groovy/configure_priam.groovy
deleted file mode 100644
index dc7bb86..0000000
--- a/stack/awscluster/src/main/groovy/configure_priam.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  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.  For additional information regarding
- * copyright in this work, please see the NOTICE file in the top level
- * directory of this distribution.
- */
-
-
-//
-// configure_priam.groovy
-//
-// Put our property overrides into Priam's SimpleDB table
-//
-import com.amazonaws.auth.*
-import com.amazonaws.services.simpledb.*
-import com.amazonaws.services.simpledb.model.*
-
-String domain = "PriamProperties"
-
-String accessKey = (String)System.getenv().get("AWS_ACCESS_KEY")
-String secretKey = (String)System.getenv().get("AWS_SECRET_KEY")
-String stackName = (String)System.getenv().get("STACK_NAME")
-String hostName  = (String)System.getenv().get("PUBLIC_HOSTNAME")
-
-def creds = new BasicAWSCredentials(accessKey, secretKey)
-def sdbClient = new AmazonSimpleDBClient(creds)
-
-// creates domain or no-op if it already exists
-sdbClient.createDomain(new CreateDomainRequest(domain))
-
-def props = new Properties()
-props.load(new FileInputStream("../conf/Priam.properties"))
-
-for (name in props.stringPropertyNames()) {
-
-    def value = props.getProperty(name)
-    def key = "${stackName}${name}"
-
-    def attrs = new ArrayList()
-    attrs.add(new ReplaceableAttribute("appId", stackName, true))
-    attrs.add(new ReplaceableAttribute("property", name, true))
-    attrs.add(new ReplaceableAttribute("value", value, true))
-
-    // this will set new or update existing attributes
-    def par = new PutAttributesRequest(domain, key, attrs)
-    sdbClient.putAttributes(par);
-}
-
-println "Configured Priam."
\ No newline at end of file


Mime
View raw message