This file contains 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 | |
# ----------------------------------------------------------------- | |
# 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 | |
# |
This file contains 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
repo_id=orgapachestratos-1083 | |
stratos_version=4.1.6 | |
path="https://repository.apache.org/service/local/repositories/${repo_id}/content/org/apache/stratos" | |
function download() { | |
file_path=${path}/$1 | |
wget ${file_path} | |
wget ${file_path}.asc | |
wget ${file_path}.md5 |
This file contains 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/sh | |
md5=".md5" | |
sha1=".sha1" | |
for f0 in *.zip | |
do | |
echo $f0 | |
f2=$f0$md5 | |
md5sum $f0 > $f2 |
This file contains 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
mvn -P pedantic verify -DskipTests=true |
This file contains 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 -e | |
source_path="/mnt/dist/4.0.0-incubating-rc1" | |
stratos_version=4.0.0-incubating | |
dist_path="/home/ubuntu/packages" | |
puppet_master_path=/etc/puppet | |
stratos_pack=apache-stratos-$stratos_version.zip | |
stratos_path=$source_path/$stratos_pack | |
lb_pack=apache-stratos-load-balancer-$stratos_version.zip | |
lb_path=$source_path/$lb_pack |
This file contains 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
stratos_version="4.1.6" | |
package=apache-stratos-${stratos_version}-source-release.zip | |
svn add ${package}* | |
svn commit -m "Adding ${package}" | |
package=apache-stratos-${stratos_version}.zip | |
svn add ${package}* | |
svn commit -m "Adding ${package}" |
This file contains 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/sh | |
md5=".md5" | |
sha1=".sha1" | |
asc=".asc" | |
for f0 in *.zip | |
do | |
echo $f0 | |
f2=$f0$md5 |
This file contains 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 -e | |
log=download_from_dist.sh.log | |
stratos_version=4.1.4 | |
stratos_rc_version=${stratos_version}-rc2 | |
source_path=https://dist.apache.org/repos/dist/dev/stratos/${stratos_rc_version} | |
echo "Downloading source release..." | tee -a ${log} | |
wget ${source_path}/apache-stratos-source-release-${stratos_version}.zip | |
wget ${source_path}/apache-stratos-source-release-${stratos_version}.zip.asc |
This file contains 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
<sequence xmlns="http://ws.apache.org/ns/synapse" name="ListUsersInSeq"> | |
<payloadFactory media-type="xml"> | |
<format> | |
<xsd:listAllUsers xmlns:xsd="http://org.apache.axis2/xsd"> | |
<xsd:filter>$1</xsd:filter> | |
<xsd:limit>$2</xsd:limit> | |
</xsd:listAllUsers> | |
</format> | |
<args> | |
<arg xmlns:m0="http://services.samples" evaluator="xml" expression="$url:filter"/> |
This file contains 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
<sequence xmlns="http://ws.apache.org/ns/synapse" name="ListUsersOutSeq"> | |
<log level="full"/> | |
<property name="messageType" value="application/json" scope="axis2" type="STRING"/> | |
<send/> | |
</sequence> |