diff --git a/config/production_config.json b/config/production_config.json deleted file mode 100644 index 53e9a5da..00000000 --- a/config/production_config.json +++ /dev/null @@ -1,462 +0,0 @@ -{ - "AUTH_SERVICE": "http://auth.api.:8002", - "USER_SERVICE": "http://user.api.:8003", - "REGISTRATION_SERVICE": "http://registration.api.:8004", - "DECISION_SERVICE": "http://decision.api.:8005", - "RSVP_SERVICE": "http://rsvp.api.:8006", - "CHECKIN_SERVICE": "http://checkin.api.:8007", - "UPLOAD_SERVICE": "http://upload.api.:8008", - "MAIL_SERVICE": "http://mail.api.:8009", - "EVENT_SERVICE": "http://event.api.:8010", - "STAT_SERVICE": "http://stat.api.:8011", - "NOTIFICATIONS_SERVICE": "http://notifications.api.:8012", - "PROJECT_SERVICE": "http://notifications.api.:8013", - - "GATEWAY_PORT": "8000", - "AUTH_PORT": ":8002", - "USER_PORT": ":8003", - "REGISTRATION_PORT": ":8004", - "DECISION_PORT": ":8005", - "RSVP_PORT": ":8006", - "CHECKIN_PORT": ":8007", - "UPLOAD_PORT": ":8008", - "MAIL_PORT": ":8009", - "EVENT_PORT": ":8010", - "STAT_PORT": ":8011", - "NOTIFICATIONS_PORT": ":8012", - "PROJECT_PORT": ":8013", - - "AUTH_DB_NAME": "auth", - "USER_DB_NAME": "user", - "REGISTRATION_DB_NAME": "registration", - "DECISION_DB_NAME": "decision", - "RSVP_DB_NAME": "rsvp", - "CHECKIN_DB_NAME": "checkin", - "UPLOAD_DB_NAME": "upload", - "MAIL_DB_NAME": "mail", - "EVENT_DB_NAME": "event", - "STAT_DB_NAME": "stat", - "NOTIFICATIONS_DB_NAME": "notifications", - "PROJECT_DB_NAME": "project", - - "S3_REGION": "us-east-1", - "S3_BUCKET": "hackillinois-upload", - - "SNS_REGION": "us-east-1", - - "STAFF_DOMAIN": "hackillinois.org", - "SYSTEM_ADMIN_EMAIL": "systems@hackillinois.org", - - "SPARKPOST_API": "https://api.sparkpost.com/api/v1", - "AUTH_REDIRECT_URI": "https://hackillinois.org/auth/", - - "IS_PRODUCTION": "true", - - "DEBUG_MODE": "false", - - "DECISION_EXPIRATION_HOURS": "48", - - "EVENT_CHECKIN_TIME_RESTRICTED": "true", - - "STAT_ENDPOINTS": { - "registration": "http://registration.api.:8004/registration/internal/stats/", - "decision": "http://decision.api.:8005/decision/internal/stats/", - "rsvp": "http://rsvp.api.:8006/rsvp/internal/stats/", - "checkin": "http://checkin.api.:8007/checkin/internal/stats/", - "user": "http://user.api.:8003/user/internal/stats/", - "event": "http://event.api.:8010/event/internal/stats/" - }, - - "GROUP_TOPIC_MAP": { - "Admin": "Admin", - "Staff": "Staff", - "Mentor": "Mentor", - "Applicant": "Applicant", - "Attendee": "Attendee", - "User": "User", - "Sponsor": "Sponsor" - }, - - - "REGISTRATION_STAT_FIELDS": [ - "major", - "school", - "shirtSize", - "diet", - "age", - "graduationYear", - "transportation", - "gender", - "interests", - "isBeginner", - "priorAttendance" - ], - - "REGISTRATION_DEFINITION": { - "name": "user_registration", - "type": "object", - "validations": "required", - "fields": [ - { - "name": "id", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "firstName", - "type": "string", - "validations": "", - "fields": [] - }, - { - "name": "lastName", - "type": "string", - "validations": "", - "fields": [] - }, - { - "name": "email", - "type": "string", - "validations": "required,email", - "fields": [] - }, - { - "name": "shirtSize", - "type": "string", - "validations": "required,oneof=S M L XL", - "fields": [] - }, - { - "name": "diet", - "type": "[]string", - "validations": "required,dive,oneof=NONE VEGAN VEGETARIAN NOPEANUT NOGLUTEN", - "fields": [] - }, - { - "name": "age", - "type": "int", - "validations": "required", - "fields": [] - }, - { - "name": "graduationYear", - "type": "int", - "validations": "required", - "fields": [] - }, - { - "name": "transportation", - "type": "string", - "validations": "required,oneof=NONE BUS", - "fields": [] - }, - { - "name": "school", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "major", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "gender", - "type": "string", - "validations": "required,oneof=MALE FEMALE NONBINARY OTHER NOANSWER", - "fields": [] - }, - { - "name": "interests", - "type": "[]string", - "validations": "dive,oneof=INTERNSHIP FULLTIME", - "fields": [] - }, - { - "name": "github", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "linkedin", - "type": "string", - "validations": "", - "fields": [] - }, - { - "name": "isBeginner", - "type": "boolean", - "validations": "required|isdefault", - "fields": [] - }, - { - "name": "priorAttendance", - "type": "boolean", - "validations": "required|isdefault", - "fields": [] - }, - { - "name": "phone", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "skills", - "type": "[]string", - "validations": "", - "fields": [] - }, - { - "name": "extraInfo", - "type": "string", - "validations": "", - "fields": [] - }, - { - "name": "teamMembers", - "type": "[]string", - "validations": "", - "fields": [] - }, - { - "name": "createdAt", - "type": "int", - "validations": "required", - "fields": [] - }, - { - "name": "updatedAt", - "type": "int", - "validations": "required", - "fields": [] - }, - { - "name": "beginnerInfo", - "type": "object", - "validations": "required", - "fields": [ - { - "name": "versionControl", - "type": "int", - "validations": "required", - "fields": [] - }, - { - "name": "pullRequest", - "type": "int", - "validations": "required", - "fields": [] - }, - { - "name": "yearsExperience", - "type": "int", - "validations": "", - "fields": [] - }, - { - "name": "technicalSkills", - "type": "[]string", - "validations": "", - "fields": [] - } - ] - }, - { - "name": "isOSContributor", - "type": "boolean", - "validations": "required|isdefault", - "fields": [] - } - ] - }, - "MENTOR_REGISTRATION_DEFINITION": { - "name": "mentor_registration", - "type": "object", - "validations": "required", - "fields": [ - { - "name": "id", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "firstName", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "lastName", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "email", - "type": "string", - "validations": "required,email", - "fields": [] - }, - { - "name": "shirtSize", - "type": "string", - "validations": "required,oneof=S M L XL", - "fields": [] - }, - { - "name": "github", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "linkedin", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "createdAt", - "type": "int", - "validations": "required", - "fields": [] - }, - { - "name": "updatedAt", - "type": "int", - "validations": "required", - "fields": [] - } - ] - }, - - "RSVP_STAT_FIELDS": [ - "isAttending", - "diet", - "transportation", - "registrationData.attendee.school" - ], - - "RSVP_DEFINITION": { - "name": "user_rsvp", - "type": "object", - "validations": "required", - "fields": [ - { - "name": "id", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "isAttending", - "type": "boolean", - "validations": "required|isdefault", - "fields": [] - }, - { - "name": "phone", - "type": "string", - "validations": "required", - "fields": [] - }, - { - "name": "diet", - "type": "[]string", - "validations": "required,dive,oneof=NONE VEGAN VEGETARIAN NOPEANUT NOGLUTEN", - "fields": [] - }, - { - "name": "transportation", - "type": "string", - "validations": "required,oneof=NONE BUS", - "fields": [] - }, - { - "name": "lightningInterest", - "type": "boolean", - "validations": "required|isdefault", - "fields": [] - }, - { - "name": "lightningTopic", - "type": "string", - "validations": "", - "fields": [] - }, - { - "name": "programmingExperience", - "type": "object", - "validations": "required", - "fields": [ - { - "name": "python", - "type": "int", - "validations": "", - "fields": [] - }, - { - "name": "javascript", - "type": "int", - "validations": "", - "fields": [] - }, - { - "name": "java", - "type": "int", - "validations": "", - "fields": [] - }, - { - "name": "cc++", - "type": "int", - "validations": "", - "fields": [] - }, - { - "name": "go", - "type": "int", - "validations": "", - "fields": [] - }, - { - "name": "ruby", - "type": "int", - "validations": "", - "fields": [] - }, - { - "name": "rust", - "type": "int", - "validations": "", - "fields": [] - } - ] - }, - { - "name": "techInterests", - "type": "[]string", - "validations": "required,dive,oneof=DATASCIENCE WEBDEV SYSTEMS APPDEV HARDWARE DEVTOOLS", - "fields": [] - }, - { - "name": "osProject", - "type": "string", - "validations": "", - "fields": [] - }, - { - "name": "registrationData", - "type": "object", - "validations": "", - "fields": [] - } - ] - } -}