Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postgresql:
- persistence:
- enabled: false
- livenessProbe:
- timeoutSeconds: 15
- periodSeconds: 30
- initialDelaySeconds: 180
- readinessProbe:
- initialDelaySeconds: 60
- periodSeconds: 30
- timeoutSeconds: 15
- postgresqlUsername: "psql"
- postgresqlPassword: "passw0rd"
- postgresqlDatabase: "coco"
- service:
- type: NodePort
- initdbScripts:
- CompDir-ContactEmail.sh: |
- #/bin/true
- 1;C;ZachNow@cocopharmaceutical.com
- 1;S;zach@cocopharmaceutical.com
- 2;C;SteveStarter@cocopharmaceutical.com
- 2;S;steve@cocopharmaceutical.com
- 3;C;TerriDaring@cocopharmaceutical.com
- 3;S;terri@cocopharmaceutical.com
- 4;C;tania.tidie@cocopharmaceutical.com
- 3;S;tania@cocopharmaceutical.com
- 5;C;polly.tasker@cocopharmaceutical.com
- 5;S;polly@cocopharmaceutical.com
- 6;C;tessa.tube@cocopharmaceutical.com
- 6;S;tessa@cocopharmaceutical.com
- 7;C;callie.quartile@cocopharmaceutical.com
- 7;S;callie@cocopharmaceutical.com
- 8;C;ivor.padlock@cocopharmaceutical.com
- 8;S;ivor@cocopharmaceutical.com
- 9;C;robert.nitter@cocopharmaceutical.com
- 10;C;faith.broker@cocopharmaceutical.com
- 11;C;sally.counter@cocopharmaceutical.com
- 12;C;lemmie.stage@cocopharmaceutical.com
- 13;C;erin.overview@cocopharmaceutical.com
- 14;C;harry.hopeful@cocopharmaceutical.com
- 15;C;gary.geeke@cocopharmaceutical.com
- 16;C;grant.able@hh-care.org
- 17;C;robert.records@hh-care.org
- 18;C;reggie.mint@cocopharmaceutical.com
- 19;C;peter.profile@cocopharmaceutical.com
- 20;C;nancy.noah@pretend.ibm.com
- 21;C;SJKSeeker@SecIncConSvcs.gmail
- 22;C;tom.tally@cocopharmaceutical.com
- 23;C;julie.stitched@hh-care.org
- 24;C;des.signa@pretend.ibm.com
- 25;C;angela.cummings@hh-care.org
- 26;C;jules.keeper@cocopharmaceutical.com
- CompDir-ContactList.sh: |
- #/bin/true
- 1;E;Zach;Now;Coco Pharmaceuticals;Founder;3
- 2;E;Steve;Starter;Coco Pharmaceuticals;Founder;1
- 3;E;Terri;Daring;Coco Pharmaceuticals;Founder;2
- 4;E;Tanya;Tidy;Coco Pharmaceuticals;Data Steward, Clinical Trials;3
- 5;E;Polly;Tasker;Coco Pharmaceuticals;IT Project Leader;1
- 6;E;Tessa;Tube;Coco Pharmaceuticals;Lead Researcher, Clinical Trials;3
- 7;E;Callie;Quartile;Coco Pharmaceuticals;Data Scientist;3
- 8;E;Ivor;Padlock;Coco Pharmaceuticals;Chief Security Officer;1
- 9;E;Bob;Nitter;Coco Pharmaceuticals;Application Developer;1
- 10;E;Faith;Broker;Coco Pharmaceuticals;Human Resources and Compliance Director;1
- 11;E;Sally;Counter;Coco Pharmaceuticals;Payment Clerk;2
- 12;E;Lemmie;Stage;Coco Pharmaceuticals;DataStage Specialist;1
- 13;E;Erin;Overview;Coco Pharmaceuticals;Information Architect;2
- 14;E;Harry;Hopeful;Coco Pharmaceuticals;Sales Specialist, New York;3
- 15;E;Gary;Geeke;Coco Pharmaceuticals;IT Infrastructure Lead;1
- 16;P;Grant;Able;Hampton Hospital;Consultant;4
- 17;P;Robbie;Records;Hampton Hospital;Patient Records Manager;4
- 18;E;Reggie;Mint;Coco Pharmaceuticals;Chief Finance Officer (CFO);2
- 19;E;Peter;Profile;Coco Pharmaceuticals;Information Analyst;2
- 20;C;Nancy;Noah;IBM;Cloud Architect;2
- 21;C;Sidney;Seeker;Sec Inc Consultancy Services;Fraud Investigator;2
- 22;E;Tom;Tally;Coco Pharmaceuticals;Accounts Manager, Finance HQ;2
- 23;P;Julie;Stitched;Hampton Hospital;Surgeon;4
- 24;C;Des;Signa;IBM;Mobile Developer;2
- 25;P;Angela;Cummings;Hampton Hospital;Nurse (Oncology);4
- 26;E;Jules;Keeper;Coco Pharmaceuticals;Chief Data Officer (CDO);2
- CompDir-ContactPhone.sh: |
- #/bin/true
- 1;O;1-912-333-4444 (ext 4)
- 1;M;1-912-380-7277
- 2;O;31-20-5274986 (ext 2)
- 3;O;44-20-372-2223 (ext 4)
- 4;O;1-912-333-4444
- 5;O;31-20-5274986 (ext 3)
- 6;O;1-912-333-4444 (ext 5)
- 7;O;1-912-333-4444 (ext 3)
- 8;O;31-20-5274986 (ext 4)
- 9;O;31-20-5274986 (ext 5)
- 10;O;31-20-5274986 (ext 6)
- 11;O;44-20-372-2223 (ext 2)
- 12;O;31-20-5274986 (ext 7)
- 13;O;44-20-372-2223 (ext 3)
- 14;O;1-912-333-4444 (ext 6)
- 14;M;1-912-345-8765
- 15;M;31-20-5274986 (ext 8)
- 16;M;1-912-456-6789
- 17;O;1-912-876-3456
- 18;O;44-20-372-2223 (ext 5)
- 19;O;44-20-372-2223 (ext 6)
- 20;M;44-800-323-4564
- 21;M;44-877-399-1999
- 22;O;44-20-372-2223 (ext 7)
- 23;M;1-912-666-4783
- 24;M;44-0800-567-1234
- 25;M;1-912-445-6655
- 26;O;44-20-372-2223 (ext 8)
- EmplSAnl-EmpSalaryAnalysis.sh: |
- #/bin/true
- 0;3809890;11;5;Zach;Now;133777;9999;9;New York;3;27;Founder;1;123800;5600;27;Code St;Harlem;NY;1;3
- 0;3809890;11;5;Steve;Starter;439222;9999;9;Amsterdam;1;27;Founder;1;123800;5600;1833;Wilhelmdreef;Amsterdam-Zuidoost;North Holland;1;1
- 0;3809890;11;5;Terri;Daring;371803;9999;9;London;2;27;Founder;1;123800;5600;32;Wibble Rd;Corterville;Greater London;1;2
- 0;3809890;10;7;Tanya;Tidy;209482;4051;2;New York;3;27;Data Steward;1;43800;215;27;Code St;Harlem;NY;1;3
- 0;3809890;9;7;Polly;Tasker;338575;2373;7;Amsterdam;1;27;IT Project Leader;1;46781;560;32;Wibble Rd;Corterville;North Holland;1;1
- 0;3809890;9;7;Tessa;Tube;302145;2343;7;New York;3;27;Lead Researcher;1;78934;1500;27;Code St;Harlem;NY;1;3
- 0;3809890;9;7;Callie;Quartile;328080;4051;5;New York;3;27;Data Scientist;1;56944;45;27;Code St;Harlem;NY;1;3
- 0;3809890;9;7;Ivor;Padlock;499888;2373;8;Amsterdam;1;27;Chief Security Officer;1;86453;4000;1833;Wilhelmdreef;Amsterdam-Zuidoost;North Holland;1;1
- 0;3809890;9;6;Bob;Nitter;458109;3082;4;Amsterdam;1;15;Application Developer;0;34504;150;1833;Wilhelmdreef;Amsterdam-Zuidoost;North Holland;1;1
- 0;3809890;9;5;Faith;Broker;139870;2373;8;Amsterdam;1;27;Human Resources and Compliance Director;1;84355;4000;1833;Wilhelmdreef;Amsterdam-Zuidoost;North Holland;1;1
- 0;3809890;8;6;Sally;Counter;457911;6877;2;London;2;20;Payment Clerk;0;23568;500;32;Wibble Rd;Corterville;Greater London;1;2
- 0;3809890;8;7;Lemmie;Stage;818928;3082;4;Amsterdam;1;27;DataStage Specialist;1;45324;300;1833;Wilhelmdreef;Amsterdam-Zuidoost;North Holland;1;1
- 0;3809890;8;7;Erin;Overview;324713;7432;7;London;2;27;Information Architect;1;87452;2000;32;Wibble Rd;Corterville;Greater London;1;2
- 0;3809890;6;7;Harry;Hopeful;144994;2343;6;New York;3;27;Sales Specialist, New York;1;56340;25465;27;Code St;Harlem;NY;1;3
- 0;3809890;6;7;Gary;Geeke;199995;3082;6;Amsterdam;1;27;IT Infrastructure Lead;1;54650;500;1833;Wilhelmdreef;Amsterdam-Zuidoost;North Holland;1;1
- 0;3809890;5;5;Reggie;Mint;188888;5656;8;London;2;27;Chief Finance Officer (CFO);1;125640;4100;32;Wibble Rd;Corterville;Greater London;1;2
- 0;3809890;2;7;Peter;Profile;986419;7432;5;London;2;27;Information Analyst;1;34520;450;32;Wibble Rd;Corterville;Greater London;1;2
- 0;3809890;2;7;Tom;Tally;896522;6788;7;London;2;27;Accounts Manager, Finance HQ;1;65432;800;32;Wibble Rd;Corterville;Greater London;1;2
- 0;3809890;0;5;Jules;Keeper;296776;5656;8;London;2;27;Chief Data Officer (CDO);1;11230;4000;32;Wibble Rd;Corterville;Greater London;1;2
- Employee-Dept.sh: |
- #/bin/true
- 4051;Clinical Trials;302145
- 3082;IT;338575
- 7432;Chief Data Office;296776
- 6877;Accounts;896522
- 6788;Finance;188888
- 2373;Amsterdam Lab;439222
- 5656;London Lab;371803
- 2343;New York Lab;133777
- 9999;Founders;
- Employee-Employee.sh: |
- #/bin/true
- 133777;Zach;Now;5;9;9999;Founder;3
- 439222;Steve;Starter;5;9;9999;Founder;1
- 371803;Terri;Daring;5;9;9999;Founder;2
- 209482;Tanya;Tidy;7;2;4051;Data Steward;3
- 338575;Polly;Tasker;7;7;2373;IT Project Leader;1
- 302145;Tessa;Tube;7;7;2343;Lead Researcher;3
- 328080;Callie;Quartile;7;5;4051;Data Scientist;3
- 499888;Ivor;Padlock;7;8;2373;Chief Security Officer;1
- 458109;Bob;Nitter;6;4;3082;Application Developer;1
- 139870;Faith;Broker;5;8;2373;Human Resources and Compliance Director;1
- 457911;Sally;Counter;6;2;6877;Payment Clerk;2
- 818928;Lemmie;Stage;7;4;3082;DataStage Specialist;1
- 324713;Erin;Overview;7;7;7432;Information Architect;2
- 144994;Harry;Hopeful;7;6;2343;Sales Specialist, New York;3
- 199995;Gary;Geeke;7;6;3082;IT Infrastructure Lead;1
- 188888;Reggie;Mint;5;8;5656;Chief Finance Officer (CFO);2
- 986419;Peter;Profile;7;5;7432;Information Analyst;2
- 896522;Tom;Tally;7;7;6788;Accounts Manager, Finance HQ;2
- 296776;Jules;Keeper;5;8;5656;Chief Data Officer (CDO);2
- Location-WorkLocation.sh: |
- #/bin/true
- 1;Amsterdam;;1833;Wilhelmdreef;Amsterdam-Zuidoost;Amsterdam;North Holland;Netherlands
- 2;London;;32;Wibble Rd;Corterville;London;Greater London;United Kingdom
- 3;New York;;27;Code St;Harlem;New York;NY;United States
- 4;Hampton Hospital;Oncology Unit 1, Hampton Hospital;;Nightingale St;Harlem;New York;NY;United States
- Patient-Patient.sh: |
- #/bin/true
- 1;Miss Apricot Lace;92 Bookworm Ave;Alesbelly;Oxfordshire;OX99 2EE;;UK1
- 2;A Steif;4 Button Cottages;Sawdust Hill;Waltenborough;WS45 1VF;;UK1
- 3;Mr William Smart;90 Bookworm Avenue;Alesbelly;Oxfordshire;OX99 2EE;;UK1
- 4;Mr Angus Atlantic;27 highland Rd;Loch User;Scotland;LO22 9fD;;UK1
- 5;Rodney Soft;37 Street Rd;Carshire;Nessex;NX23 9GH;;UK1
- 6;Mr Alistair Steiff;4 Button Cottages;Sawdust Hill;Waltenborough;WS45 1VF;;UK2
- 7;Mr Alistair Steiff;4 Button Cottages;Sawdust Hill;Waltenborough;WS45 1VF;;UK3
- 8;Mrs Daisy Seiff;4 Button Cottages;Sawdust Hill;Waltenborough;WS45 1VF;Wife;UK3
- 9;Mr T Bach;1 Daffodill Close;The Valles;Wales;LL4 7CW;;UK2
- 10;Mr Jonathon Trip;3 rRidge Road;Ropley;Arland;Old Hampshire;FD2 9MN;UK3
- 11;Mrs G Type;45 Long Rd;London;SW9 12GQ;;;UK3
- 12;Mr Fred Bean;5 Can Lane;Alleyvale Rd;Windford;Windfordshire;WN2 12FG;UK3
- 13;Alistare Steif;4 Button Cottages;Sawdust Hill;Waltenborough;WS45 1VF;;UK4
- 14;P J Bronson;132 Four Wheel Drive;Leatherseat;Surrey;;;UK3
- 15;Mrs S Counter;56 Number Close;Timeworth;London;SW45 6YU;;UK2
- 16;Graham Turner;The Spinney;Roundly;Cumbria;FD7 4RD;;UK1
- 17;Mr Gavin Fall;199 Long Rd;Midton;Centerville;Middleshire;MI6 1FF;UK1
- 18;Mrs Florence Bell;3 High St;Ringley;Hants;RG56 1DF;;UK2
- 19;Jeffery Fawkes;4 Green Rd;Countryside;Surrey;GU11 $GG;;UK4
- 20;Mr D Bloke;Will;Supply;Later;;;UK5
- 21;John Brown;Unit 1;Fairfield Estate;Windsor;WN33 9ED;;UK2
- 22;Mr David Nice;Rose Cottage;Dingleton;Devon;DI9 7FD;;UK2
- 23;Mrs Celia Nice;Rose Cottage;Dingleton;Devon;DI9 7FD;;UK3
- 24;Cathy Starter;1 First Row;Headley;Cornwall;HD9 8MN;;UK4
- 25;John Smith;18 Beer Street;Barrelton;Berkshire;BA25 7MZ;;UK5
- 26;John Smith Jr;Hursley Park;Winchester;Hants;SO21 2JN;;UK5
- 27;Miss Callie jones;IBM;Hursley Park;Winchester;Hants;So21 2JN;UK4
- 28;Ms D Rawlings;4 Cross Road;Wimpleton;Hants;ED3 4MA;;UK4
- 29;Sir Issac Cummings;The Manor;Crossby;Wiltshire;BH1 5TF;;UK4
- 30;Walter Steiff;4 Button Cottages;Sawdust hill;Waltenborough;WS45 1VF;;UK4
- 31;Dr Mike Cross;Surgery House;Main St;Wellton;WE20 2MN;;UK5
- 32;Mr Alister Steiff;4 Button Cottages;Waltenborough;OX99 2EE;;;UK5
- loadCOMPDIR.sql: |
- CREATE TABLE IF NOT EXISTS "CONTACTLIST" (
- "RECID" INT NOT NULL PRIMARY KEY,
- "CONTACTTYPE" CHAR NOT NULL,
- "FIRSTNAME" VARCHAR(50) NOT NULL,
- "LASTNAME" VARCHAR(50) NOT NULL,
- "COMPANY" VARCHAR(50) NOT NULL,
- "JOBTITLE" VARCHAR(80) NOT NULL,
- "WORKLOCATION" INT NOT NULL
- );
- CREATE TABLE IF NOT EXISTS "CONTACTEMAIL" (
- "REDIF" INT NOT NULL REFERENCES "CONTACTLIST",
- "ETYPE" CHAR NOT NULL,
- "EMAIL" VARCHAR(120) NOT NULL
- );
- CREATE TABLE IF NOT EXISTS "CONTACTPHONE" (
- "RECID" INT NOT NULL REFERENCES "CONTACTLIST",
- "CONTACTTYPE" CHAR NOT NULL,
- "NUMBER" VARCHAR(40) NOT NULL
- );
- delete from "CONTACTPHONE";
- delete from "CONTACTEMAIL";
- delete from "CONTACTLIST";
- \copy "CONTACTLIST" from '/docker-entrypoint-initdb.d/CompDir-ContactList.sh' with csv header DELIMITER ';';
- \copy "CONTACTEMAIL" from '/docker-entrypoint-initdb.d/CompDir-ContactEmail.sh' with csv header DELIMITER ';';
- \copy "CONTACTPHONE" from '/docker-entrypoint-initdb.d/CompDir-ContactPhone.sh' with csv header DELIMITER ';';
- loadEMPLOYEE.sql: |
- CREATE TABLE IF NOT EXISTS "DEPT" (
- "DEPCODE" INT NOT NULL PRIMARY KEY,
- "DEPNAME" VARCHAR(40) NOT NULL,
- "MANAGER" INT
- );
- CREATE TABLE IF NOT EXISTS "EMPLOYEE" (
- "PNUM" INT NOT NULL PRIMARY KEY,
- "FNAME" VARCHAR(40) NOT NULL,
- "LNAME" VARCHAR(120) NOT NULL,
- "EMPSTATUS" INT NOT NULL,
- "LVL" INT NOT NULL,
- "DEPT" INT NOT NULL REFERENCES "DEPT",
- "ROLE" VARCHAR(40) NOT NULL,
- "LOCCODE" INT NOT NULL
- );
- delete from "EMPLOYEE";
- delete from "DEPT";
- \copy "DEPT" from '/docker-entrypoint-initdb.d/Employee-Dept.sh' with csv header DELIMITER ';';
- \copy "EMPLOYEE" from '/docker-entrypoint-initdb.d/Employee-Employee.sh' with csv header DELIMITER ';';
- loadEMPLSANL.sql: |
- CREATE TABLE IF NOT EXISTS "EMPSALARYANALYSIS" (
- "HDR" INT NOT NULL,
- "RECTYPE" INT NOT NULL,
- "SERVICE" INT NOT NULL,
- "EMPSTATUS" INT NOT NULL,
- "FNAME" VARCHAR(40) NOT NULL,
- "LNAME" VARCHAR(40) NOT NULL,
- "PNUM" INT NOT NULL,
- "DEPT" INT NOT NULL,
- "LVL" INT NOT NULL,
- "LOCATION" VARCHAR(40) NOT NULL,
- "LOCCODE" INT NOT NULL,
- "HOL" INT NOT NULL,
- "ROLE" VARCHAR(40) NOT NULL,
- "ETYPE" INT NOT NULL,
- "SALARY" INT NOT NULL,
- "BONUS" INT NOT NULL,
- "SNUM" INT NOT NULL,
- "STREET" VARCHAR(40) NOT NULL,
- "CITY" VARCHAR(40) NOT NULL,
- "STATE" VARCHAR(40) NOT NULL,
- "TAX" INT NOT NULL,
- "TAXP" INT NOT NULL
- );
- delete from "EMPSALARYANALYSIS";
- \copy "EMPSALARYANALYSIS" from '/docker-entrypoint-initdb.d/EmplSAnl-EmpSalaryAnalysis.sh' with csv header DELIMITER ';';
- loadLOCATION.sql: |
- CREATE TABLE IF NOT EXISTS "WORKLOCATION" (
- "WLID" INT NOT NULL PRIMARY KEY,
- "WLNAME" VARCHAR(40) NOT NULL,
- "ADDR1" VARCHAR(40),
- "ADDR2" VARCHAR(40),
- "ADDR3" VARCHAR(40),
- "ADDR4" VARCHAR(40),
- "ADDR5" VARCHAR(40),
- "ADDR6" VARCHAR(40),
- "ADDR7" VARCHAR(40)
- );
- delete from "WORKLOCATION";
- \copy "WORKLOCATION" from '/docker-entrypoint-initdb.d/Location-WorkLocation.sh' with csv header DELIMITER ';';
- loadPATIENT.sql: |
- CREATE TABLE IF NOT EXISTS "PATIENT" (
- "PATIENTID" INT NOT NULL,
- "PATIENT" VARCHAR(40) NOT NULL,
- "LH_ADDR_1" VARCHAR(40),
- "LH_ADDR_2" VARCHAR(40),
- "LH_ADDR_3" VARCHAR(40),
- "LH_ADDR_4" VARCHAR(40),
- "LH_ADDR_5" VARCHAR(40),
- "TRIAL" VARCHAR(10) NOT NULL
- );
- delete from "PATIENT";
- \copy "PATIENT" from '/docker-entrypoint-initdb.d/Patient-Patient.sh' with csv header DELIMITER ';';
Add Comment
Please, Sign In to add comment