<commit_before>/* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
 * Unauthorized copying of this file, via any medium is strictly prohibited
 * Proprietary and confidential
 * Written by Relevance UI Team,
 * Aug 2015
 */

(function (angular) {
	"use strict";
	angular.module('workzone.application', ['ui.bootstrap', 'apis.workzone', 'workzonePermission', 'filter.currentTime'])
		.service('appDeployResponseFormatter', [function(){
			var pipeLineConfig = {
			};
		}])
		.controller('applicationCtrl', ['$scope', '$rootScope', 'workzoneServices', 'applicationPermission', '$modal', 'appDeployResponseFormatter','uiGridOptionsService','$timeout', function ($scope, $rootScope, workzoneServices, applicationPerms, $modal, appDeployResponseFormatter,uiGridOptiSer,$timeout) {
			var gridOpt=uiGridOptiSer.options();
			$rootScope.selectedCardClass='';
			angular.extend($scope, {
				cardGridData:[],
				selectedGridRow:[],
				pipelineConfig:'',
				pipeLineActBarShow:false,
				isApplicationPageLoading :true,
				isAppallCardTab : {icon:false,template:true},
				isHistoryTab:{icon:true,template:false},
				isAppActiveCardTab:{icon:true,template:false},
				requestParams:{},
				currentTargetId:'',
				pagiOptionsHistory :gridOpt.pagination,
				pagiOptionsCard : gridOpt.pagination,
				pagiOptionsSummary : gridOpt.pagination,
				applicationPipelineTab : function(param) {
					switch (param){
						case 'allCards' :
							$scope.isAppallCardTab = {icon:false,template:true};
							$scope.isAppActiveCardTab = {icon:true,template:false};
							$scope.isHistoryTab = {icon:true,template:false};
						break;
						case 'activeCards' :
							$scope.isAppallCardTab = {icon:true,template:false};
							$scope.isAppActiveCardTab =  {icon:false,template:true};
							$scope.isHistoryTab = {icon:true,template:false};
						break;
						case 'history' :
							$scope.isAppallCardTab = {icon:true,template:false};
							$scope.isAppActiveCardTab = {icon:true,template:false};
							$scope.isHistoryTab = {icon:false,template:true};
							//$scope.$emit('RENDER-HISTORY');
						break;<commit_msg>Changes done for default view in application tab<commit_after>/* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
 * Unauthorized copying of this file, via any medium is strictly prohibited
 * Proprietary and confidential
 * Written by Relevance UI Team,
 * Aug 2015
 */

(function (angular) {
	"use strict";
	angular.module('workzone.application', ['ui.bootstrap', 'apis.workzone', 'workzonePermission', 'filter.currentTime'])
		.service('appDeployResponseFormatter', [function(){
			var pipeLineConfig = {
			};
		}])
		.controller('applicationCtrl', ['$scope', '$rootScope', 'workzoneServices', 'applicationPermission', '$modal', 'appDeployResponseFormatter','uiGridOptionsService','$timeout', function ($scope, $rootScope, workzoneServices, applicationPerms, $modal, appDeployResponseFormatter,uiGridOptiSer,$timeout) {
			var gridOpt=uiGridOptiSer.options();
			$rootScope.selectedCardClass='';
			angular.extend($scope, {
				cardGridData:[],
				selectedGridRow:[],
				pipelineConfig:'',
				pipeLineActBarShow:false,
				isApplicationPageLoading :true,
				isAppallCardTab : {icon:true,template:false},
				isHistoryTab:{icon:true,template:false},
				isAppActiveCardTab:{icon:false,template:true},
				requestParams:{},
				currentTargetId:'',
				pagiOptionsHistory :gridOpt.pagination,
				pagiOptionsCard : gridOpt.pagination,
				pagiOptionsSummary : gridOpt.pagination,
				applicationPipelineTab : function(param) {
					switch (param){
						case 'allCards' :
							$scope.isAppallCardTab = {icon:false,template:true};
							$scope.isAppActiveCardTab = {icon:true,template:false};
							$scope.isHistoryTab = {icon:true,template:false};
						break;
						case 'activeCards' :
							$scope.isAppallCardTab = {icon:true,template:false};
							$scope.isAppActiveCardTab =  {icon:false,template:true};
							$scope.isHistoryTab = {icon:true,template:false};
						break;
						case 'history' :
							$scope.isAppallCardTab = {icon:true,template:false};
							$scope.isAppActiveCardTab = {icon:true,template:false};
							$scope.isHistoryTab = {icon:false,template:true};
							//$scope.$emit('RENDER-HISTORY');
						break;
{'fraction_non_alphanumeric': 0.13563271964577023, 'fraction_numerical': 0.0018643672803542299, 'mean_word_length': 4.8, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6747418', 'n_tokens_mistral': 1582, 'n_tokens_neox': 1266, 'n_words': 230}