Edge Delivery Serivces Developer Tutorial
Getting Started with Cloud Acceleration Manager
#!/bin/sh | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then |
#!/bin/bash | |
find /Users/ssteimer/dev/workspaces -type f -name "pom.xml" | while read line; | |
do | |
echo found file at $line | |
len=${#line} | |
pomLen=$((len-8)) | |
pomDir=${line:0:pomLen} | |
cd $pomDir | |
mvn clean |
@Component(configurationFactory = true, | |
policy = ConfigurationPolicy.REQUIRE, metatype = true, immediate = true) | |
@Service() | |
public class MyFactoryConfigServiceClass { | |
//define config properties here as usual | |
@Property(name = "some.prop.name", label = "My Property", value = "") | |
private String myProperty | |
/** |
#delete all the remote tags with the pattern your looking for, ie. DEV- | |
git tag | grep <pattern> | xargs -n 1 -i% git push origin :refs/tags/% | |
#delete all your local tags | |
git tag | xargs -n 1 -i% git tag -d % | |
#fetch the remote tags which still remain | |
git fetch |