Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6757891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:42:34+00:00 2026-05-26T13:42:34+00:00

I am looking to setup testing & staging environments. We have many config parameters

  • 0

I am looking to setup testing & staging environments. We have many config parameters that depends on environment i.e on test environment it should send out email to xyz@test.com while on production it should send email to xyz@production.com. Also, we are using many third-party services (i.e Salesforce, PayPal) that provides separate credentials/URL to access test environments.

I am thinking of creating a secured web service that will return value for a given key based on request IP address. i.e if request is from testing server machine then it will return xyz@test.com while if same code is running in production it will return xyz@production.com

Basically, I want to keep my code & config deployment easier to manage.

Can you please review and suggest?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:42:35+00:00Added an answer on May 26, 2026 at 1:42 pm

    IF the list of properties that you are considering to configure for each environment is small, then you can achieve that reliably from a build environment, where the build can pick up from properties file the required details. However the risk is running production credentials on a development environment, for that you need to be careful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class I'm unit testing that requires fairly extensive database setup before
I am looking to have a SharePoint Extranet Portal setup for my partner clients.
I'm looking for a lightweight, easy to setup CI server that I can run
I'm trying to setup rspec for testing in my rails application. I have created
I have been looking into using tools for UI testing automatically and seem to
I'm using MBUnit Framework for unit testing and looking for a good test runner.
I am unit testing mercurial integration and have a test class which currently creates
I have a number of applications that I am looking to use CI on,
Looking at the Rails Guides http://guides.rubyonrails.org/testing.html#integration-testing-examples and this SO question Rails Functional Test of
I'm looking for a simple to setup and to use solution to test the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.