Skip to content

Commit

Permalink
Merge pull request #7011 from topcoder-platform/PM-191-2
Browse files Browse the repository at this point in the history
Remove growsurf integration (PM-191)
  • Loading branch information
jmgasper authored Sep 30, 2024
2 parents 6302f22 + bbf318e commit 0d8c991
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 312 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ workflows:
only:
- develop
- TOP-1390
- PM-191-2
# This is alternate dev env for parallel testing
# Deprecate this workflow due to beta env shutdown
# https://topcoder.atlassian.net/browse/CORE-251
Expand Down
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ ARG GSHEETS_API_KEY

# Gig work referrals
ARG SENDGRID_API_KEY
ARG GROWSURF_API_KEY
ARG GROWSURF_CAMPAIGN_ID
ARG GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY

# Optimizely
Expand Down Expand Up @@ -141,8 +139,6 @@ ENV CONTENTFUL_EDU_PREVIEW_API_KEY=$CONTENTFUL_EDU_PREVIEW_API_KEY
ENV RECRUITCRM_API_KEY=$RECRUITCRM_API_KEY
ENV COMMUNITY_APP_URL=$COMMUNITY_APP_URL
ENV SENDGRID_API_KEY=$SENDGRID_API_KEY
ENV GROWSURF_API_KEY=$GROWSURF_API_KEY
ENV GROWSURF_CAMPAIGN_ID=$GROWSURF_CAMPAIGN_ID
ENV GSHEETS_API_KEY=$GSHEETS_API_KEY
ENV GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY=$GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY

Expand Down
2 changes: 0 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ docker build -t $TAG \
--build-arg CONTENTFUL_COMCAST_PREVIEW_API_KEY=$CONTENTFUL_COMCAST_PREVIEW_API_KEY \
--build-arg RECRUITCRM_API_KEY=$RECRUITCRM_API_KEY \
--build-arg SENDGRID_API_KEY=$SENDGRID_API_KEY \
--build-arg GROWSURF_API_KEY=$GROWSURF_API_KEY \
--build-arg GROWSURF_CAMPAIGN_ID=$GROWSURF_CAMPAIGN_ID \
--build-arg GSHEETS_API_KEY=$GSHEETS_API_KEY \
--build-arg OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY \
--build-arg COMMUNITY_APP_URL=$COMMUNITY_APP_URL \
Expand Down
8 changes: 0 additions & 8 deletions config/backup-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ module.exports = {
},

RECRUITCRM_API_KEY: '',
GROWSURF_API_KEY: '',
SENDGRID_API_KEY: '',
JWT_AUTH: {
SECRET: 'mysecret',
Expand All @@ -266,13 +265,6 @@ module.exports = {
},
CHAMELEON_VERIFICATION_SECRET: 'mysecret',
},
GROWSURF_CAMPAIGN_ID: '',
GROWSURF_COOKIE: '_tc_gigs_ref',
GROWSURF_COOKIE_SETTINGS: {
secure: true,
domain: '',
expires: 30, // days
},

GSHEETS_API_KEY: 'AIzaSyBRdKySN5JNCb2H6ZxJdTTvp3cWU51jiOQ',
GOOGLE_SERVICE_ACCOUNT_EMAIL: 'communityappserviceacc@tc-sheets-to-contentful.iam.gserviceaccount.com',
Expand Down
2 changes: 0 additions & 2 deletions config/custom-environment-variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,9 @@ module.exports = {
},

RECRUITCRM_API_KEY: 'RECRUITCRM_API_KEY',
GROWSURF_API_KEY: 'GROWSURF_API_KEY',
SENDGRID_API_KEY: 'SENDGRID_API_KEY',
CHAMELEON_VERIFICATION_SECRET: 'CHAMELEON_VERIFICATION_SECRET',
},
GROWSURF_CAMPAIGN_ID: 'GROWSURF_CAMPAIGN_ID',
AUTH_CONFIG: {
AUTH0_URL: 'TC_M2M_AUTH0_URL',
AUTH0_AUDIENCE: 'TC_M2M_AUDIENCE',
Expand Down
8 changes: 0 additions & 8 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ module.exports = {
},

RECRUITCRM_API_KEY: '',
GROWSURF_API_KEY: '',
SENDGRID_API_KEY: '',
JWT_AUTH: {
SECRET: 'mysecret',
Expand All @@ -267,13 +266,6 @@ module.exports = {
},
CHAMELEON_VERIFICATION_SECRET: 'mysecret',
},
GROWSURF_CAMPAIGN_ID: '',
GROWSURF_COOKIE: '_tc_gigs_ref',
GROWSURF_COOKIE_SETTINGS: {
secure: true,
domain: '',
expires: 30, // days
},

GSHEETS_API_KEY: 'AIzaSyBRdKySN5JNCb2H6ZxJdTTvp3cWU51jiOQ',
GOOGLE_SERVICE_ACCOUNT_EMAIL: 'communityappserviceacc@tc-sheets-to-contentful.iam.gserviceaccount.com',
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import mailChimpRouter from './routes/mailchimp';
import mockDocuSignFactory from './__mocks__/docu-sign-mock';
import recruitCRMRouter from './routes/recruitCRM';
import mmLeaderboardRouter from './routes/mmLeaderboard';
import growsurfRouter from './routes/growsurf';
import gSheetsRouter from './routes/gSheet';
import blogRouter from './routes/blog';
import feedsRouter from './routes/feeds';
Expand Down Expand Up @@ -247,7 +246,6 @@ async function onExpressJsSetup(server) {
server.use('/api/mailchimp', mailChimpRouter);
server.use('/api/recruit', recruitCRMRouter);
server.use('/api/mml', mmLeaderboardRouter);
server.use('/api/growsurf', growsurfRouter);
server.use('/api/gsheets', gSheetsRouter);
server.use('/api/blog', blogRouter);
server.use('/api/feeds', feedsRouter);
Expand Down
27 changes: 0 additions & 27 deletions src/server/routes/growsurf.js

This file was deleted.

177 changes: 0 additions & 177 deletions src/server/services/growsurf.js

This file was deleted.

Loading

0 comments on commit 0d8c991

Please sign in to comment.