This file contains 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
{ | |
"nodes": [ | |
{ | |
"title": "MongoDB Find", | |
"icon": "images/icons/mongodb_64.png", | |
"top": 115, | |
"left": 318, | |
"compID": "mongodb_find", | |
"id": "step_243", | |
"collection": "users", |
This file contains 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
@XmlRootElement(name = "ObjectEvent") | |
@XmlAccessorType(XmlAccessType.FIELD) | |
public class UTAssetEvent extends ObjectEventType { | |
@XmlTransient | |
private Asset asset; | |
public Asset getAsset() { | |
return asset; | |
} |
This file contains 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
[ | |
{"name" : "cloudant", "label" : "Cloudant DB", "logo": "/components/cloudant.png", "web": "www.cloudant.com", "github": "cloudant", | |
"description": "is a cloud-hosted NoSQL database service (DBaaS).", | |
"examples": [ | |
{ | |
"from": {"appName": "zendesk", "fromData": "Ticket"}, | |
"toData": "New Document" | |
}, | |
{ | |
"from": {"appName": "freshbooks", "fromData": "Contact"}, |
This file contains 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
{ | |
"contact": { | |
"label": "Contact", | |
"fields" : [ | |
{"name":"id", "label":"Id", "provideOn": {"read": "mandatory", "create": "exclude"}}, | |
{"name":"firstName","label":"First Name", "provideOn": {"create": "mandatory"}}, | |
{"name":"lastName", "label":"Last Name", "provideOn": {"create": "mandatory"}}, | |
{"name":"email","label":"Email", "provideOn": {"create": "mandatory"}} | |
], | |
"operations": { |
This file contains 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
{ | |
"contact": { | |
"runtime": "com.foxweave.mocksaas.model.Contact", | |
"label": "Contact", | |
"fields" : [ | |
{"name":"id", "label":"Id", "provideOn": {"read": "mandatory", "create": "exclude"}}, | |
{"name":"firstName","label":"First Name", "provideOn": {"create": "mandatory"}}, | |
{"name":"lastName", "label":"Last Name", "provideOn": {"create": "mandatory"}}, | |
{"name":"email","label":"Email", "provideOn": {"create": "mandatory"}} | |
], |
This file contains 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.foxweave.mocksaas; | |
@Path("/geolocation") | |
@Produces("application/json") | |
@Consumes("application/json") | |
public class ContactService { | |
@Inject | |
private WEAVEHook weaveHook; |
This file contains 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.foxweave.mocksaas.model; | |
import com.cloudbees.weave.api.webhook.JSONSerializable; | |
import org.codehaus.jackson.annotate.JsonProperty; | |
import org.codehaus.jackson.map.ObjectMapper; | |
import java.io.IOException; | |
/** | |
* @author <a href="mailto:[email protected]">[email protected]</a> |
This file contains 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.foxweave.mocksaas; | |
import com.cloudbees.weave.api.webhook.WEAVEHook; | |
import com.foxweave.mocksaas.model.Contact; | |
import javax.inject.Inject; | |
import javax.ws.rs.Consumes; | |
import javax.ws.rs.POST; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; |
This file contains 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.foxweave.mocksaas; | |
import com.cloudbees.weave.api.webhook.WEAVEHook; | |
import com.foxweave.mocksaas.model.Contact; | |
import javax.inject.Inject; | |
import javax.ws.rs.Consumes; | |
import javax.ws.rs.POST; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; |
This file contains 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.foxweave.mocksaas; | |
import com.cloudbees.weave.api.webhook.WEAVEHook; | |
import com.foxweave.mocksaas.model.Contact; | |
import com.foxweave.mocksaas.model.Response; | |
import javax.ws.rs.Consumes; | |
import javax.ws.rs.DELETE; | |
import javax.ws.rs.POST; | |
import javax.ws.rs.Path; |