This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting: http://json-ld.org/playground/#/gist/1857597f2bbdc06525e3
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
// HAL "form" for single-item-resource. Clients must query OPTIONS for /account | |
// to ensure they can PUT, POST, DELETE, GET. The profile attribute contains a json-schema | |
// which can also be requested in other media types from /rels/account. | |
{ | |
"userName": "Fred", | |
"realName": "Fred Flintstone", | |
"password": "yabbadabba", | |
"_links": { | |
"self": { |
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.example.robotiumrc; | |
import static org.hamcrest.Matchers.is; | |
import static org.junit.Assert.assertThat; | |
import static org.junit.Assert.assertTrue; | |
import org.jbehave.core.annotations.AfterStory; | |
import org.jbehave.core.annotations.BeforeStory; | |
import org.jbehave.core.annotations.Given; | |
import org.jbehave.core.annotations.Then; |
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
{ | |
"@context": { | |
"@vocab" : "http://schema.org", | |
"hydra" : "http://www.w3.org/ns/hydra/core#" | |
}, | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/", | |
"@type": "hydra:EntryPoint", | |
"event": { | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/events/", | |
"@type": "hydra:Link" |
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
{ | |
"@context": { | |
"@vocab": "http://schema.org", | |
"hydra": "http://www.w3.org/ns/hydra/core#" | |
}, | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/events/", | |
"@type": "hydra:Collection", | |
"hydra:member": [ | |
{ | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/events/1", |
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
{ | |
"@context": { | |
"@vocab": "http://schema.org", | |
"hydra": "http://www.w3.org/ns/hydra/core#" | |
}, | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/events/1", | |
"@type": "Event", | |
"name": "Walk off the Earth - REVO tour", | |
"description": "Live in concert", | |
"startDate": "2014-06-14T20:00:00Z", |
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
{ | |
"uber": { | |
"data": [ | |
{ | |
"rel": [ | |
"self" | |
], | |
"url": "http://localhost:8080/webapp/hypermedia-api/events", | |
"action": "APPEND", | |
"model": "performer={performer}&workPerformed.name={workPerformed.name}&location={location}&eventStatus={eventStatus}" |
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 de.escalon.builders.json; | |
import net.minidev.json.JSONArray; | |
import net.minidev.json.JSONObject; | |
import java.io.Serializable; | |
/** |
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
@RunWith(SpringRunner.class) | |
@SpringBootTest(classes = Application.class) | |
@SpringIntegrationTest | |
@ActiveProfiles("local") | |
@AutoConfigureMockMvc | |
@TestPropertySource(properties = { | |
"my.setting=watchamacallit" | |
}) | |
public class ApplicationTest { |
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
@Configuration | |
public class DmnConfig { | |
/** | |
* Creates DMN engine with feel-scala engine as default language. | |
* | |
* @return engine | |
* @see <a href="https://github.com/camunda/camunda-engine-dmn">Simple Engine Setup</a> | |
* @see <a href="https://github.com/camunda/feel-scala/tree/master/feel-engine#how-to-use-it">Using full FEEL language in Camunda DMN</a> | |
*/ |
OlderNewer