**Resolved the "File is not a zip file" error while editing in
topology page of NS and VNF packages.
Change-Id: Ib5e631ba12c70b7364f4ced8fb1c5553821727aa
Signed-off-by: harshini.r <harshini.r@tataelxsi.co.in>
this.modalService = this.injector.get(NgbModal);
this.sharedService = this.injector.get(SharedService);
}
this.modalService = this.injector.get(NgbModal);
this.sharedService = this.injector.get(SharedService);
}
- /** Lifecyle Hooks the trigger before component is instantiate @public */
+ /** Lifecyle Hooks the trigger before component is instantiated @public */
public ngOnInit(): void {
// tslint:disable-next-line:no-backbone-get-set-outside-model
this.identifier = this.activatedRoute.snapshot.paramMap.get('id');
this.generateData();
this.headers = new HttpHeaders({
public ngOnInit(): void {
// tslint:disable-next-line:no-backbone-get-set-outside-model
this.identifier = this.activatedRoute.snapshot.paramMap.get('id');
this.generateData();
this.headers = new HttpHeaders({
- 'Content-Type': 'application/zip',
+ 'Content-Type': 'application/gzip',
Accept: 'application/json',
'Cache-Control': 'no-cache, no-store, must-revalidate, max-age=0'
});
Accept: 'application/json',
'Cache-Control': 'no-cache, no-store, must-revalidate, max-age=0'
});
this.identifier = this.activatedRoute.snapshot.paramMap.get('id');
this.generateData();
this.headers = new HttpHeaders({
this.identifier = this.activatedRoute.snapshot.paramMap.get('id');
this.generateData();
this.headers = new HttpHeaders({
- 'Content-Type': 'application/zip',
+ 'Content-Type': 'application/gzip',
Accept: 'application/json',
'Cache-Control': 'no-cache, no-store, must-revalidate, max-age=0'
});
Accept: 'application/json',
'Cache-Control': 'no-cache, no-store, must-revalidate, max-age=0'
});