--- /dev/null
+{
+ "maxNumberofUEs": "10",
+ "latency": "10",
+ "name": "exclusive slicing service",
+ "uEMobilityLevel": "stationary",
+ "expDataRateUL": "1000",
+ "expDataRateDL": "1000",
+ "resourceSharingLevel": "non-shared",
+ "coverageArea": "Beijing Beijing Haiding Wanshoulu"
+}
\ No newline at end of file
"/DELETE_uui-lcm_deleteVnfPackage",
"/DELETE/uui-lcm/deletePnfPackage?pnfdInfoId:id":
"/DELETE_uui-lcm_deletePnfPackage",
- "/POST/uui-lcm/ns-packages": "/POST_uui-lcm_ns-packages",
+ "/POST/uui-lcm/ns-packages": "/POST_uui-lcm_ns-packages",
"/POST/uui-lcm/vf-packages": "/POST_uui-lcm_vf-packages",
- "/POST/uui-lcm/:jsonData": "/POST_uui-lcm_create",
+ "/POST/uui-lcm/:jsonData": "/POST_uui-lcm_create",
+ "/POST/intent/predict": "/POST_intent_predict",
///////<-------------slicing--------->/////
"/uui-slicing/nsmf/task/business/pageNo/:pageNo/pageSize/:pageSize":
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
+import { NzMessageService } from 'ng-zorro-antd';
import { Util } from '../../../../../shared/utils/utils';
import { onboardService } from '../../../../../core/services/onboard.service';
import { Recorder } from '../../../../../shared/utils/recorder';
})
export class InputBusinessOrderComponent implements OnInit {
- constructor(private Util: Util, private Recorder: Recorder, private myhttp: onboardService) { }
+ constructor(
+ private Util: Util,
+ private Recorder: Recorder,
+ private myhttp: onboardService,
+ private msg: NzMessageService
+ ) { }
@Input() showModel: boolean;
@Output() modalOpreation = new EventEmitter();
this.modalOpreation.emit({ "cancel": false, "param": orderForm });
}, (err) => {
this.clickRepeat = false;
- console.log(err);
+ this.msg.error(`Error: Request failed with status code ${err.status}`);
})
}
startAudio(): void {