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
{ | |
"info": { | |
"_postman_id": "c8978024-6cda-4765-89f0-8514e0b040e7", | |
"name": "Mustache", | |
"description": "Uses the Mustache Template as a Service endpoints as defined in [https://peterobrien.blog/](https://peterobrien.blog/) article on the same topic.", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "30751143" | |
}, | |
"item": [ | |
{ |
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
import http from 'k6/http'; | |
import encoding from 'k6/encoding'; | |
/** | |
* Authenticate using OAuth Client Credentials against ORDS | |
* @function | |
* @param {string} scheme - http or https | |
* @param {string} server - hostname and port of the server | |
* @param {string} clientId - Generated by ORDS | |
* @param {string} clientSecret - Generated by ORDS |
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
[ | |
{"_id" : 303, | |
"name" : "McLaren", | |
"points" : 0, | |
"driver" : [ | |
{"driverId" : 107, "name" : "Lando Norris", "points" : 0}, | |
{"driverId" : 108, "name" : "Oscar Piastri", "points" : 0} | |
] | |
}, | |
{"_id" : 304, |
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
# | |
# Defines a docker image, based on the Oracle JDK image, to run Oracle REST Data Services. During the image building | |
# process the most recent version of ORDS will be automatically downloaded and extracted. | |
# | |
# Volumes for configuration and lib/ext are defined. | |
# | |
# docker run -p 8080:8080 -v ords-config:/opt/ords-config/ -v ords-lib-ext:/opt/ords/latest/lib/ext ords-latest/oraclejdk | |
# | |
# See https://peterobrien.blog/ for more information and examples. | |
# |