This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ECLIPSE_URL=http://mirror.cc.vt.edu/pub/eclipse/eclipse/downloads/drops/R-3.6.1-201009090800/eclipse-SDK-3.6.1-macosx-cocoa-x86_64.tar.gz | |
| P2_URL=http://gist.github.com/raw/609891/p2 | |
| WORKSPACE_MECHANIC_URL=http://wiki.objectstyle.org/confluence/download/attachments/8225785/WorkspaceMechanicExamples.zip | |
| WORKSPACE_MECHANIC_FOLDER=~/.eclipse/mechanic | |
| VERSION=`date +%s` | |
| if [ "$#" != "1" ]; then | |
| echo "usage: $0 [install folder]" | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| FRAMEWORKS_REPOSITORY=${HUDSON_HOME}/WOFrameworksRepository | |
| echo "Repository: ${FRAMEWORKS_REPOSITORY}" | |
| echo "WO Version: ${WO_VERSION}" | |
| if [ "${FRAMEWORKS_REPOSITORY}" == "" ]; then | |
| echo "You must provide a FRAMEWORK_REPOSITORY setting." | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| PROJECT=$1 | |
| BUILD_NUMBER=$2 | |
| BUILD_ID=$3 | |
| MONITOR_HOST=$4 | |
| MONITOR_PORT=$5 | |
| APP_ROOT=$6 | |
| WEB_ROOT=$7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| PROJECT=$1 | |
| BUILD_NUMBER=$2 | |
| BUILD_ID=$3 | |
| MONITOR_HOST=$4 | |
| MONITOR_PORT=$5 | |
| APP_ROOT=$6 | |
| WEB_ROOT=$7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package avendasora.http; | |
| import javax.ws.rs.core.Response.StatusType; | |
| import javax.ws.rs.core.Response.Status.Family; | |
| public enum Status implements StatusType { | |
| /** | |
| * 100 Continue, see | |
| * {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.1">HTTP/1.1 documentation</a>} | |
| * . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #set ($keyValues = {}) | |
| #set($prarametersString = $input.body) | |
| #set($parameters = $prarametersString.split("&")) | |
| #foreach($parameter in $parameters) | |
| #set($keyValue = $parameter.split("=")) | |
| $keyValues.put($util.urlDecode($keyValue[0]),$util.urlDecode($keyValue[1])) | |
| #end | |
| { | |
| "TableName": "table_name", | |
| "Item": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #set($tableName = $input.params("tableName")) | |
| #set($inputRoot = $input.path('$')) | |
| { | |
| "TableName": "$tableName", | |
| "Item": { | |
| "request_id": { | |
| "S": "$context.requestId" | |
| }, | |
| #foreach($key in $inputRoot.keySet()) | |
| #set($value = $inputRoot.get($key)) |