http://grails.org/plugin/audit-logging automatically update AuditLog table when domain instances change
http://grails.org/plugin/runtime-logging alter logging config while app is running
http://grails.org/plugin/profiler profile grails
package com.dtolabs.rundeck.core.authorization; | |
import com.dtolabs.rundeck.core.Constants; | |
import com.dtolabs.rundeck.core.authentication.Group; | |
import com.dtolabs.rundeck.core.authentication.Username; | |
import com.dtolabs.rundeck.core.authorization.providers.EnvironmentalContext; | |
import com.dtolabs.rundeck.core.authorization.providers.PoliciesParseException; | |
import com.dtolabs.rundeck.core.common.Framework; | |
import javax.security.auth.Subject; |
http://grails.org/plugin/audit-logging automatically update AuditLog table when domain instances change
http://grails.org/plugin/runtime-logging alter logging config while app is running
http://grails.org/plugin/profiler profile grails
#!/bin/bash -e | |
#set to correct path to xmlstarlet | |
XMLSTARLET=/usr/local/bin/xml | |
# xmlstarlet select xpath | |
# usage: xmlsel XPATH file | |
xmlsel(){ | |
xpath=$1 | |
shift | |
$XMLSTARLET sel -T -t -v "$xpath" $* |
import org.codehaus.groovy.grails.plugins.springsecurity.SpringSecurityUtils | |
import org.codehaus.groovy.grails.plugins.springsecurity.SecurityFilterPosition | |
class BootStrap { | |
def init = { servletContext -> | |
// Add the bean 'j2eePreAuthenticatedProcessingFilter' into the filter chain | |
SpringSecurityUtils.clientRegisterFilter('j2eePreAuthenticatedProcessingFilter', SecurityFilterPosition.PRE_AUTH_FILTER) | |
} |
export CATALINA_OPTS="-Dyana2.config.location=$(pwd)/yana2-config.properties -XX:MaxPermSize=256m -Xmx1024m -Xms256m" |
#Project demo configuration, generated | |
#Wed Oct 05 19:17:03 PDT 2011 | |
project.name=demo | |
project.resources.file=/Users/greg/rundeck14t/testec2/projects/demo/etc/resources.xml | |
project.ssh-keypath=/Users/greg/.ssh/id_rsa.aws1 | |
resources.source.1.config.accessKey=asdfasdf | |
resources.source.1.config.refreshInterval=30 | |
resources.source.1.config.runningOnly=true | |
resources.source.1.config.secretKey=asdfjadf | |
resources.source.1.config.useDefaultMapping=true |
# | |
# Cookbook Name:: rundeck | |
# Recipe:: default | |
# | |
# Copyright 2011, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# install rundeck package |
commons-beanutils-1.8.0.jar | |
dom4j-1.6.1.jar | |
jaxen-1.1.jar | |
log4j-1.2.15.jar | |
rundeck-core-1.3.0.jar | |
snakeyaml-1.7.jar |
* Jobs | |
** List jobs | |
+ [[https://gist.github.com/785084][Query rundeck jobs list for a project, optionally save the xml file]] | |
+ Existing URL: "/menu/workflows.xml?projFilter={project}" | |
+ Hypothetical alternatives: | |
+ Jobs-oriented: | |
+ /api/jobs.xml?project={project} | |
+ /api/jobs/list.xml?project={project} | |
** Run a job | |
+ [[https://gist.github.com/783971][How to run a job using curl]] |