From a6710678bdf3ee19efc331b0672bbc9240d49192 Mon Sep 17 00:00:00 2001
From: Olivier Lamy <olamy@apache.org>
Date: Thu, 20 Dec 2012 20:34:29 +0000
Subject: [PATCH] fix REST service name too

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424679 13f79535-47bb-0310-9956-ffa450edef68
---
 .../services/RedbackRuntimeConfigurationService.java   |  2 +-
 .../src/main/webapp/js/archiva/general-admin.js        | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java
index 667a48351..68a0abd10 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java
@@ -37,7 +37,7 @@ import java.util.List;
  * @author Olivier Lamy
  * @since 1.4-M4
  */
-@Path("/archivaRuntimeConfigurationService/")
+@Path("/redbackRuntimeConfigurationService/")
 public interface RedbackRuntimeConfigurationService
 {
     @Path("redbackRuntimeConfiguration")
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js
index 07ecea558..9b5fd25eb 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js
@@ -1313,7 +1313,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
       var userMessages=$("#user-messages");
       userMessages.html(mediumSpinnerImg());
       $.log("checkChangedLdapConfiguration");
-      $.ajax("restServices/archivaServices/archivaRuntimeConfigurationService/checkLdapConnection",
+      $.ajax("restServices/archivaServices/redbackRuntimeConfigurationService/checkLdapConnection",
              {
                type: "GET",
                success: function(data) {
@@ -1339,7 +1339,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
       var userMessages=$("#user-messages");
       userMessages.html(mediumSpinnerImg());
       $.log("checkChangedLdapConfiguration");
-      $.ajax("restServices/archivaServices/archivaRuntimeConfigurationService/checkLdapConnection",
+      $.ajax("restServices/archivaServices/redbackRuntimeConfigurationService/checkLdapConnection",
              {
                type: "POST",
                contentType: 'application/json',
@@ -1409,7 +1409,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
         self.redbackRuntimeConfiguration().userManagerImpls.push(beanId);
       }
       $.log("rememberme enabled:"+self.redbackRuntimeConfiguration().findPropertyValue("security.rememberme.enabled"));
-      $.ajax("restServices/archivaServices/archivaRuntimeConfigurationService/redbackRuntimeConfiguration",
+      $.ajax("restServices/archivaServices/redbackRuntimeConfigurationService/redbackRuntimeConfiguration",
         {
           type: "PUT",
           contentType: 'application/json',
@@ -1460,12 +1460,12 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
     var mainContent = $("#main-content");
     mainContent.html(mediumSpinnerImg());
 
-    $.ajax("restServices/archivaServices/archivaRuntimeConfigurationService/userManagerImplementationInformation", {
+    $.ajax("restServices/archivaServices/redbackRuntimeConfigurationService/userManagerImplementationInformation", {
       type: "GET",
       dataType: 'json',
       success: function(data) {
       var userManagerImplementationInformations=mapUserManagerImplementationInformations(data);
-      $.ajax("restServices/archivaServices/archivaRuntimeConfigurationService/redbackRuntimeConfiguration", {
+      $.ajax("restServices/archivaServices/redbackRuntimeConfigurationService/redbackRuntimeConfiguration", {
         type: "GET",
         dataType: 'json',
         success: function(data) {