Skip to content

Instantly share code, notes, and snippets.

View JamieKalloe's full-sized avatar
💭
👨‍💻

Jamie Kalloe JamieKalloe

💭
👨‍💻
View GitHub Profile
@JamieKalloe
JamieKalloe / KetentestRapportageAggregates.json
Created May 21, 2019 14:57
Ketentestrapportage aggregated by a test class
[
{
"className": "KlantKetentest",
"packageName": "com.infosupport.ketentestrapportageservice.KlantKetentest",
"succeeded": false,
"ketentestRapportages": [
{
"testRapportage": {
"correlationId": "9e7e60b6-9b61-4135-bbf0-3264f0235a05",
"testName": "getKlant_fromKlantenService_returnsStatusCode200",
[
{
"testRapportage": {
"correlationId": "43bebfa3-9708-4e94-983d-0a0d2442b4b8",
"testName": "getKlant_fromKlantenService_returnsStatusCode200",
"packageName": "com.infosupport.ketentestrapportageservice.KlantKetentest",
"succeeded": false
},
"correlatieRapportage": {
"executedServices": [
@JamieKalloe
JamieKalloe / Privacy-policy.txt
Created March 22, 2018 20:16
Privacy policy GG Button
Privacy Policy
Jamie Kalloe built the GG Button - Widget app as a Free app. This SERVICE is provided by Jamie Kalloe at no cost and is intended for use as is.
This page is used to inform website visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at GG Button - Widget unless otherwise defined in this Privacy Policy.
Information Collection and Use
@JamieKalloe
JamieKalloe / ipsenh.sql
Last active May 23, 2017 10:04
SQL database of Studievolg ipsenh
DROP TABLE IF EXISTS User_account CASCADE;
DROP TABLE IF EXISTS User_role CASCADE;
DROP TABLE IF EXISTS course CASCADE;
DROP TABLE IF EXISTS restriction CASCADE;
DROP TABLE IF EXISTS Course_owner CASCADE;
DROP TABLE IF EXISTS Course_enrollment CASCADE;
DROP TABLE IF EXISTS Course_restriction CASCADE;
DROP TABLE IF EXISTS ab_restriction CASCADE;
DROP TABLE IF EXISTS course_passed CASCADE;
DROP TABLE IF EXISTS Exam_result CASCADE;
@JamieKalloe
JamieKalloe / ApiApplication.java
Created April 29, 2017 15:59
Cors configuration for a dropwizard java api
@Override
public void run(ApiConfiguration configuration, Environment environment) throws Exception {
Database.getInstance(configuration);
//cors
final FilterRegistration.Dynamic cors =
environment.servlets().addFilter("CORS", CrossOriginFilter.class);
// Configure CORS parameters
//TODO: get hosts from configuration file!
@JamieKalloe
JamieKalloe / ipsenh_db.sql
Created April 25, 2017 12:24
IPSENH API Database script
DROP TABLE IF EXISTS User_account;
DROP TABLE IF EXISTS User_role;
CREATE TABLE User_role (
role_name VARCHAR(255),
CONSTRAINT pk_role_name PRIMARY KEY (role_name)
);
CREATE TABLE User_account (
id SERIAL,
CREATE TABLE User_account (
id SERIAL,
first_name VARCHAR(255) NOT NULL,
insertion VARCHAR(255),
last_name VARCHAR(255) NOT NULL,
email VARCHAR(255) NOT NULL,
date_of_birth DATE NOT NULL,
password VARCHAR(255) NOT NULL,
role VARCHAR(255) NOT NULL,
CONSTRAINT pk_id PRIMARY KEY (id),