summaryrefslogtreecommitdiffstats
path: root/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/datarouter/dr-feed-pub-sub-list-popup-controller.js
blob: 042f85768514b567fbf2a76ee7e90d341ff30e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
appDS2.controller('feedPubSubListPopupCtrl', function($scope, $log, $modalInstance, modalService, message) {

	'use strict';
	
	// this object holds all app data and functions
	$scope.dbcapp = {};
	
	// Set the label variable for the template
	$scope.dbcapp.label = 'Pub/Sub of Feed ' + message.feed.feedName;
	
	// Source of data table
	$scope.dbcapp.showFeed = message.feed;

	// $log.debug('feedPubSubListPopupCtrl: showFeed.pubs is ' + JSON.stringify($scope.dbcapp.showFeed.pubs));
	
	$scope.dbcapp.close = function() {
		$modalInstance.close();
	};
});