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
| <flow name="GoogleGeoCode3" doc:name="GoogleGeoCode3"> | |
| <composite-source> | |
| <vm:inbound-endpoint exchange-pattern="request-response" | |
| path="/geocode" /> | |
| <http:inbound-endpoint exchange-pattern="request-response" | |
| host="localhost" port="9082" path="geocode1" doc:name="HTTP" | |
| transformer-refs="Body_to_Parameter_Map" /> | |
| </composite-source> | |
| <http:outbound-endpoint exchange-pattern="request-response" |
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
| //MEL | |
| //START -> DO NOT REMOVE | |
| output.__id = input.__id; | |
| //END -> DO NOT REMOVE | |
| output.array = [input.lng_2] + [input.lat_1]; |
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 com.spnotes.misc.com.spnotes.misc; | |
| import org.codehaus.jackson.JsonGenerator; | |
| import org.codehaus.jackson.JsonProcessingException; | |
| import org.codehaus.jackson.map.JsonSerializer; | |
| import org.codehaus.jackson.map.SerializerProvider; | |
| import org.joda.time.format.DateTimeFormat; | |
| import org.joda.time.format.DateTimeFormatter; | |
| import java.io.IOException; |
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 com.spnotes.misc; | |
| import com.spnotes.misc.com.spnotes.misc.CustomDateSerializer; | |
| import org.codehaus.jackson.map.annotate.JsonSerialize; | |
| import java.util.Date; | |
| /** | |
| * Created by gpzpati on 11/19/13. | |
| */ |
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 com.spnotes.misc.com.spnotes.misc; | |
| import com.spnotes.misc.Contact; | |
| import org.codehaus.jackson.map.ObjectMapper; | |
| import java.util.Calendar; | |
| import java.util.Date; | |
| /** | |
| * Created by gpzpati on 11/19/13. |
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 com.spnotes.sfdc; | |
| import com.sforce.soap.enterprise.Connector; | |
| import com.sforce.soap.enterprise.EnterpriseConnection; | |
| import com.sforce.soap.enterprise.QueryResult; | |
| import com.sforce.soap.enterprise.sobject.Contact; | |
| import com.sforce.ws.ConnectionException; | |
| import com.sforce.ws.ConnectorConfig; | |
| public class SFDCClient { |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <style type="text/css"> | |
| html { height: 100% } | |
| body { height: 100%; margin: 0; padding: 0 } | |
| #map-canvas { height: 100% } | |
| </style> | |
| <script type="text/javascript" |
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
| private static void readWriteFiles() throws Exception{ | |
| Path sampleFile = Paths.get("sample.txt"); | |
| /* | |
| This way of giving permissions does not work | |
| Set<PosixFilePermission> perms = PosixFilePermissions.fromString("rwxrwxrw"); | |
| */ | |
| Set<PosixFilePermission> perms = new HashSet<PosixFilePermission>(); | |
| perms.add(PosixFilePermission.OWNER_WRITE); | |
| perms.add(PosixFilePermission.OWNER_READ); |
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
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.spnotes.jenkins</groupId> | |
| <artifactId>HelloJenkinsWorld</artifactId> | |
| <packaging>war</packaging> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <name>HelloJenkinsWorld Maven Webapp</name> | |
| <url>http://maven.apache.org</url> | |
| <dependencies> |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
| <pluginGroups> | |
| </pluginGroups> | |
| <proxies> | |
| </proxies> | |
| <servers> |
OlderNewer