Remove ECOMP in headers
[clamp.git] / src / main / resources / META-INF / resources / designer / scripts / ExportFileService.js
index ee54cfc..076cd09 100644 (file)
@@ -18,9 +18,8 @@
  * limitations under the License.
  * ============LICENSE_END============================================
  * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * 
  */
-
 app.service('exportService', ['$http', '$q', function ($http, $q) {
     console.log("/////////exportService");
     this.exportToUrl = function(testsetValue, formatValue, exporturl){
@@ -74,29 +73,4 @@ app.service('exportService', ['$http', '$q', function ($http, $q) {
         }
         return def.promise;
     };
-    
-    this.exportToUTMTestSet = function(almqcExport, exporturl){
-    console.log("exportToUTMTestSet");         
-       var def = $q.defer();
-       var sets = [];
-        //var almqcExport =  almqcExport;       
-        $http({
-            url: exporturl,     method: "POST",     data: almqcExport,
-             responseType: 'arraybuffer' }).success(function (data, status, headers, config) {
-             console.log("success");                    
-                var results = [];
-                 results.data = data;
-                 results.headers = headers();
-                 results.status = status;
-                 results.config = config;
-                 def.resolve(results); 
-        })
-        .error(function(data){
-            console.log("data");
-                     
-                       def.reject("Export file not successful");
-        });        
-        
-        return def.promise;
-    };
 }]);