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
@Slf4j | |
public class CacheTest { | |
private static Cache<ItineraryRequest, ItineraryResponse> caffeineWebclientCache; | |
@BeforeAll | |
public static void setup(){ | |
caffeineWebclientCache = Caffeine.newBuilder().maximumSize(100) | |
.expireAfterWrite(Duration.ofSeconds(60)).build(); | |
} |
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
[ ca ] | |
default_ca = CA_default | |
[ CA_default ] | |
dir = . | |
crl_dir = $dir/crl | |
database = $dir/db.txt | |
new_certs_dir = $dir | |
serial = $dir/serial | |
crl = $dir/crl.pem | |
RANDFILE = $dir/.rnd |
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
#!/bin/bash | |
export DEVROOT=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain | |
DFT_DIST_DIR=${HOME}/Desktop/libcurl-ios-dist | |
DIST_DIR=${DIST_DIR:-$DFT_DIST_DIR} | |
function check_curl_ver() { | |
echo "#include \"include/curl/curlver.h\" | |
#if LIBCURL_VERSION_MAJOR < 7 || LIBCURL_VERSION_MINOR < 40 | |
#error Required curl 7.40.0+; See http://curl.haxx.se/docs/adv_20150108A.html |