Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-3525

Modify the URL of a site by web-service

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • 4.2.0
    • None
    • None
    • None

      I'd like to modify the URL of a site by doing a get, the URL of a site is defined in:
      _admin, sites, configuration, Site URL

      My goal is to create a script to copy a production repository to a test repository. At that time afetr the copy I need to update the URL of the site manually.
      I'd like to modify it by doing a get so I would be able to add that in my script.
      The get should contains the id of the site and the URL. It may be nice to add some security, may be by checking th IP.

      In this way we would be able to deploy every night on a test environment the contents of the production environment. We would gain time.

          [CMS-3525] Modify the URL of a site by web-service

          not usefull anymore... too many sites requires search/replace to change domain name
          e.g. : www.prod.com to www.dev.com

          Raphaël Franchet added a comment - not usefull anymore... too many sites requires search/replace to change domain name e.g. : www.prod.com to www.dev.com

          It could be nice to identify the site by the id of the site (not the JCR id), for example "default", "www"...

          Frederic Ravetier (Inactive) added a comment - It could be nice to identify the site by the id of the site (not the JCR id), for example "default", "www"...

          I made the script shell that retrieve the last backup on the production server and deploy it on the test server.
          Now it could be nice to have this functionality in order to switch the URL of the sites to the URL in test environment.
          please

          Frederic Ravetier (Inactive) added a comment - I made the script shell that retrieve the last backup on the production server and deploy it on the test server. Now it could be nice to have this functionality in order to switch the URL of the sites to the URL in test environment. please

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: