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
#!/usr/bin/env groovy | |
package devops | |
Authenticator.setDefault(new Authenticator() { | |
protected PasswordAuthentication getPasswordAuthentication() { | |
return new PasswordAuthentication("list", "**********".toCharArray()); | |
} | |
}) | |
servers = [] |
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
/** | |
* Simple groovy script for retrieving sample records from SSRE REST service. | |
*/ | |
@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.5.2' ) | |
import groovyx.net.http.* | |
import static groovyx.net.http.ContentType.* | |
import groovy.xml.Namespace | |
def serviceUrl = 'http://devel-13.ssdt-ohio.org' | |
def contextPath = '/ssre-webapp-live' |
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 me.davesmith.t5samples.components; | |
import org.apache.tapestry5.BindingConstants; | |
import org.apache.tapestry5.ComponentResources; | |
import org.apache.tapestry5.MarkupWriter; | |
import org.apache.tapestry5.annotations.*; | |
import org.apache.tapestry5.ioc.annotations.Inject; | |
@SupportsInformalParameters | |
public class Repeat<T> { |