UNPKG

@spotinst/spinnaker-deck

Version:

Spinnaker-Deck service, forked with support to Spotinst

18 lines (15 loc) 682 B
import { module } from 'angular'; import { APP_CONFIG_STATES } from './appConfig.states'; import { ApplicationDataSourceRegistry } from '../service/ApplicationDataSourceRegistry'; export const CORE_APPLICATION_CONFIG_APPCONFIG_DATASOURCE = 'spinnaker.core.application.config.dataSource'; export const name = CORE_APPLICATION_CONFIG_APPCONFIG_DATASOURCE; // for backwards compatibility module(CORE_APPLICATION_CONFIG_APPCONFIG_DATASOURCE, [APP_CONFIG_STATES]).run(function () { ApplicationDataSourceRegistry.registerDataSource({ key: 'config', label: 'Config', sref: '.config', active: '**.config.**', defaultData: [], iconName: 'spMenuConfig', }); });