Test de la communication avec le serveur pour les formations : Liste OK Détails OK Suppression OK Modification OK Ajout KO

develop
Yanaël GRETTE 4 years ago
parent ffbac86dfc
commit 26557be67a
  1. 42
      package-lock.json
  2. 11
      src/app/formations/edit-formation/edit-formation.component.ts
  3. 11
      src/app/formations/new-formation/new-formation.component.ts
  4. 2
      src/app/shared/api-swagger/api/collaborateurs.service.ts
  5. 2
      src/app/shared/api-swagger/api/demandesDelegation.service.ts
  6. 2
      src/app/shared/api-swagger/api/demandesEPI.service.ts
  7. 2
      src/app/shared/api-swagger/api/demandesformation.service.ts
  8. 2
      src/app/shared/api-swagger/api/engagements.service.ts
  9. 2
      src/app/shared/api-swagger/api/ep.service.ts
  10. 2
      src/app/shared/api-swagger/api/formations.service.ts
  11. 2
      src/app/shared/api-swagger/api/notes.service.ts
  12. 2
      src/app/shared/api-swagger/api/participationsFormations.service.ts
  13. 2
      src/app/shared/api-swagger/api/referents.service.ts

42
package-lock.json generated

@ -2813,6 +2813,16 @@
"integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==",
"dev": true
},
"bindings": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
"dev": true,
"optional": true,
"requires": {
"file-uri-to-path": "1.0.0"
}
},
"blob": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz",
@ -5659,6 +5669,13 @@
"schema-utils": "^2.6.5"
}
},
"file-uri-to-path": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
"dev": true,
"optional": true
},
"fileset": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz",
@ -8100,7 +8117,11 @@
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"dev": true,
"optional": true
"optional": true,
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1"
}
},
"is-binary-path": {
"version": "1.0.1",
@ -8954,6 +8975,13 @@
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
"dev": true
},
"nan": {
"version": "2.14.1",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",
"dev": true,
"optional": true
},
"nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
@ -14185,7 +14213,11 @@
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"dev": true,
"optional": true
"optional": true,
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1"
}
},
"is-binary-path": {
"version": "1.0.1",
@ -14597,7 +14629,11 @@
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"dev": true,
"optional": true
"optional": true,
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1"
}
},
"is-absolute-url": {
"version": "3.0.3",

@ -135,7 +135,8 @@ export class EditFormationComponent implements OnInit {
organisme: [formation.organisme],
mode: [formation.mode],
type: [formation.type],
estCertifie: [formation.estCertifie]
estCertifie: [formation.estCertifie],
idAgence: [formation.idAgence]
}
);
}
@ -161,16 +162,16 @@ export class EditFormationComponent implements OnInit {
this.formationSubscription.unsubscribe();
}
if(this.modeSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.modeSubscription.unsubscribe();
}
if(this.typeSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.typeSubscription.unsubscribe();
}
if(this.statutSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.statutSubscription.unsubscribe();
}
if(this.origineSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.origineSubscription.unsubscribe();
}
}
}

@ -70,7 +70,8 @@ export class NewFormationComponent implements OnInit {
organisme: [""],
mode: [""],
type: [""],
estCertifie: [""]
estCertifie: [""],
idAgence: [1]
}
);
@ -113,16 +114,16 @@ export class NewFormationComponent implements OnInit {
this.formationSubscription.unsubscribe();
}
if(this.modeSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.modeSubscription.unsubscribe();
}
if(this.typeSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.typeSubscription.unsubscribe();
}
if(this.statutSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.statutSubscription.unsubscribe();
}
if(this.origineSubscription != undefined) {
this.formationSubscription.unsubscribe();
this.origineSubscription.unsubscribe();
}
}
}

@ -27,7 +27,7 @@ import { Configuration } from '../configurat
@Injectable()
export class CollaborateursService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -28,7 +28,7 @@ import { Configuration } from '../configurat
@Injectable()
export class DemandesDelegationService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -27,7 +27,7 @@ import { Configuration } from '../configurat
@Injectable()
export class DemandesEPIService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -30,7 +30,7 @@ import { Configuration } from '../configurat
@Injectable()
export class DemandesFormationService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -27,7 +27,7 @@ import { Configuration } from '../configurat
@Injectable()
export class EngagementsService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -30,7 +30,7 @@ import { Configuration } from '../configurat
@Injectable()
export class EpService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -32,7 +32,7 @@ import { Configuration } from '../configurat
@Injectable()
export class FormationsService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -28,7 +28,7 @@ import { Configuration } from '../configurat
@Injectable()
export class NotesService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -28,7 +28,7 @@ import { Configuration } from '../configurat
@Injectable()
export class ParticipationsFormationsService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

@ -27,7 +27,7 @@ import { Configuration } from '../configurat
@Injectable()
export class ReferentsService {
protected basePath = 'http://localhost:3000/api';
protected basePath = 'https://localhost:44393/api';
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();

Loading…
Cancel
Save