I hereby claim:
- I am thatjoemoore on github.
- I am thatjoemoore (https://keybase.io/thatjoemoore) on keybase.
- I have a public key ASCjbaHQ_1nMFhFi8ExEPGkQFVGQfgc4N2sSeuPjX_FcqAo
To claim this, I am signing this object:
import java.math.BigDecimal; | |
/** | |
* Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. | |
* (see http://creativecommons.org/licenses/by-nc-sa/4.0/) | |
*/ | |
/** | |
* @author Joseph Moore (joseph_moore@byu.edu) | |
*/ |
/** | |
* Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. | |
* (see http://creativecommons.org/licenses/by-nc-sa/4.0/) | |
*/ | |
import java.util.Arrays; | |
/** | |
* @author Joseph Moore (joseph_moore@byu.edu) | |
*/ | |
public class ReferenceVsValue { |
SSLContext sslContext = SSLContexts.custom() | |
.useProtocol("TLS") | |
.loadTrustMaterial(new File("/etc/something"), "password".toCharArray()) | |
.build(); | |
SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext); | |
HttpClient client = HttpClientBuilder.create() | |
.setSSLSocketFactory(sslsf) | |
.build(); |
I hereby claim:
To claim this, I am signing this object:
--- | |
swagger: "2.0" | |
info: | |
description: "Fronts Office 365/Exchange Online events APIs to add BYU OAuth support\ | |
\ and a read-through cache." | |
version: "1.0.0" | |
title: "exchange-events-shim" | |
contact: {} | |
license: | |
name: "Apache 2.0" |
--- | |
uapi: 1.0 | |
info: | |
version: v1 | |
title: Elon's Used Rocket Rentals | |
rest_endpoints: | |
- url: https://api.byu.edu/uapi/rockets/v1 | |
description: Production | |
- url: https://api.byu.edu/uapi/rockets/dev | |
description: Development |
This is a draft proposal for BYU API 'Claims'. This document is non-normative until approved and documented by whoever it is that approves and documents this kind of thing. Feedback is welcome and encouraged.
Things that need to be addressed or refined ("Yaks to shave") are denoted by a yak-like emoji: 🐃. The use of Yaks is blatantly stolen from inspired by SvelteJS.
Resource-based APIs, such as the University API, work well for fetching data. However, we often need to ask yes/no questions about a resource, such as "Is this person a full-time student" or "Does this person's Cougar Cash account have enough money to
First, run npm i
.
To see the issue, run npm test
. We expect the test to succeed, instead it will error with:
TypeError: Protocol "http:" not supported. Expected "https:"TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"
at Object.proxiedOriginalRequest (node_modules/node-request-interceptor/lib/http/override.js:53:36)