Remove useless UI code
[clamp.git] / src / main / resources / META-INF / resources / designer / scripts / OperationalPolicyService.js
  * ===================================================================
  * 
  */
-app.service('svnservice', ['$http', '$q', function ($http, $q) {
-    console.log("//////svnservice");
-    this.SVNToUrl = function(schemaLocation, userID, password,svnURL,svnUploadURL){
-        console.log("SVNToUrl");
-       
-       
-       var def = $q.defer();
-       var sets = [];
-       
-        var svnRequest = {schemaLocation: schemaLocation, userID: userID, password: password,svnURL:svnURL};
-        
-       
-        $http.post(svnUploadURL, svnRequest)
-        .success(function(data){  
-        console.log("success");        
-               pars = data;
-               def.resolve(data);              
-               
-        })
-        .error(function(data){  
-        console.log("error");                        
-                       def.reject("SVN Import not successful");
-        });
-        
-        return def.promise;
-    };
+app.service('operationalPolicyService', ['$http', '$q', function ($http, $q) {
+    console.log("//////OperationalPolicyService");
     
        this.saveOpPolicyProperties = function(form) {
                var modelName = getLoopName();