Commit da0458b9 authored by Nikhil Doifode's avatar Nikhil Doifode
Browse files

Changes related to NA-473 and NA-475

parent e5090f79
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1648,7 +1648,7 @@ const getSuggestedName = ( type, elements ) => {
  var suggestedPrefix = '';
  switch(type) {
  case ELEMENT_TYPE_UE_APP:
    suggestedPrefix = 'ue-app';
    suggestedPrefix = 'term-app';
    break;
  case ELEMENT_TYPE_EDGE_APP:
    suggestedPrefix = 'edge-app';
@@ -1671,6 +1671,9 @@ const getSuggestedName = ( type, elements ) => {
  case ELEMENT_TYPE_OPERATOR_CELL:
    suggestedPrefix = 'operator-cell';
    break;
  case ELEMENT_TYPE_UE:
    suggestedPrefix = 'term';
    break;
  default:
    suggestedPrefix = type.toLowerCase();
  }
+7 −0
Original line number Diff line number Diff line
@@ -204,6 +204,13 @@ class ExecPageContainer extends Component {

  // DEPLOY DIALOG
  onDeployScenario() {
    // Close all open panes
    this.props.dashCfgMode ? this.onCloseDashCfg() : '';
    this.props.eventCfgMode ? this.onCloseEventCfg(): '';
    this.props.eventCreationMode ? this.onQuitEventCreationMode() : '';
    this.props.eventAutomationMode ? this.onQuitEventAutomationMode() : '';
    this.props.eventReplayMode ? this.onQuitEventReplayMode() : '';

    // Retrieve list of available scenarios
    this.props.cfgApi.getScenarioList((error, data, response) => {
      this.getScenarioListDeployCb(error, data, response);
+2 −2
Original line number Diff line number Diff line
@@ -230,9 +230,9 @@ export const ELEMENT_TYPE_DC = 'DISTANT CLOUD';
export const ELEMENT_TYPE_CN = 'CORE NETWORK';
export const ELEMENT_TYPE_EDGE = 'EDGE';
export const ELEMENT_TYPE_FOG = 'FOG';
export const ELEMENT_TYPE_UE = 'UE';
export const ELEMENT_TYPE_UE = 'TERMINAL';
export const ELEMENT_TYPE_MECSVC = 'MEC SERVICE';
export const ELEMENT_TYPE_UE_APP = 'UE APPLICATION';
export const ELEMENT_TYPE_UE_APP = 'TERMINAL APPLICATION';
export const ELEMENT_TYPE_EDGE_APP = 'EDGE APPLICATION';
export const ELEMENT_TYPE_CLOUD_APP = 'CLOUD APPLICATION';