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
@SlingServlet(paths = { "/system/newme" }, generateComponent = true, generateService = true, methods = { "GET" }) | |
public class NewMeServlet extends SlingSafeMethodsServlet { | |
@Reference | |
MeService meService; | |
@Override | |
protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) | |
throws ServletException, IOException { | |
response.setContentType("application/json"); |
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
echo Provisioning test environment... | |
echo Deploying latest OAE... | |
echo Starting up... | |
echo Executing tests... | |
echo ............................. | |
echo 2048 tests, 0 failures, 0 errors |
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
echo Provisioning QA environment... | |
echo Deploying latest OAE... | |
echo Starting up... | |
echo OAE ready at http://qa20-us.sakaiproject.org:8080/ |
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/sh | |
version="1.0" | |
date=`date "+%Y%m%d"` | |
git checkout -b $version-$date-branch | |
sed "s/$version-SNAPSHOT/$version-$date/" pom.xml > pom.xml.new | |
mv pom.xml.new pom.xml | |
git add pom.xml | |
git ci -m "changing version number for tag" | |
git tag -m "tagging $version-$date" $version-$date HEAD | |
git push origin $version-$date |
NewerOlder