Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove growsurf integration (PM-191) #7011

Merged
merged 3 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading