From 3c8e6629cb9086f029d8e8405edef90439f3c5ec Mon Sep 17 00:00:00 2001 From: Nikolaos Laskaris Date: Wed, 18 Oct 2017 11:29:22 +0300 Subject: [PATCH 1/5] changes --- dmp-admin/src/app/app.module.ts | 9 +- .../main-window/main-window.component.html | 6 +- .../datarepos-editor.component.css | 33 +++++ .../datarepos-editor.component.html | 122 ++++++++++++++++ .../datarepos-editor.component.spec.ts | 25 ++++ .../datarepos-editor.component.ts | 137 ++++++++++++++++++ .../dmp-editor/dmp-editor.component.html | 2 + .../dmp-editor/dmp-editor.component.ts | 1 + .../dmp-profile-editor.component.html | 2 + .../dmp-profile-editor.component.ts | 1 + .../organisation-editor.component.html | 2 + .../organisation-editor.component.ts | 3 +- .../project-editor.component.html | 2 + .../registry-editor.component.html | 2 + .../registry-editor.component.ts | 4 +- .../researcher-editor.component.html | 2 + .../researcher-editor.component.ts | 1 + .../service-editor.component.html | 2 + .../app/pipes/datarepo-table-filter.pipe.ts | 29 ++++ dmp-admin/src/app/routes.ts | 5 + .../src/app/services/datarepo-service.ts | 46 ++++++ dmp-backend/package-lock.json | 3 + .../src/app/form/dynamic-form.component.ts | 13 ++ 23 files changed, 445 insertions(+), 7 deletions(-) create mode 100644 dmp-admin/src/app/managers/datarepos-editor/datarepos-editor.component.css create mode 100644 dmp-admin/src/app/managers/datarepos-editor/datarepos-editor.component.html create mode 100644 dmp-admin/src/app/managers/datarepos-editor/datarepos-editor.component.spec.ts create mode 100644 dmp-admin/src/app/managers/datarepos-editor/datarepos-editor.component.ts create mode 100644 dmp-admin/src/app/pipes/datarepo-table-filter.pipe.ts create mode 100644 dmp-admin/src/app/services/datarepo-service.ts create mode 100644 dmp-backend/package-lock.json diff --git a/dmp-admin/src/app/app.module.ts b/dmp-admin/src/app/app.module.ts index 615c8976a..ad2600e98 100644 --- a/dmp-admin/src/app/app.module.ts +++ b/dmp-admin/src/app/app.module.ts @@ -23,6 +23,7 @@ import { ResearcherService } from './services/researcher-service'; import { OrganisationService } from './services/organisation-service'; import { DmpProfileService } from './services/dmpprofile-service'; import { RegistryService } from './services/registry-service'; +import { DatarepoService } from './services/datarepo-service'; import { Toolbox } from './services/toolbox'; import { DataFilterPipe } from './pipes/data-filter.pipe'; @@ -33,6 +34,7 @@ import { ProjectTableFilterPipe } from './pipes/project-table-filter.pipe'; import { RegistryTableFilterPipe } from './pipes/registry-table-filter.pipe'; import { OrganisationTableFilterPipe } from './pipes/organisation-table-filter.pipe'; import { ResearcherTableFilterPipe } from './pipes/researcher-table-filter.pipe'; +import { DatarepoTableFilterPipe } from './pipes/datarepo-table-filter.pipe'; import { GooggleSignInComponent } from './login/googgle-sign-in/googgle-sign-in.component'; @@ -53,6 +55,7 @@ import { OrganisationEditorComponent } from './managers/organisation-editor/orga import { RegistryEditorComponent } from './managers/registry-editor/registry-editor.component'; import { ServiceEditorComponent } from './managers/service-editor/service-editor.component'; import { ResearcherEditorComponent } from './managers/researcher-editor/researcher-editor.component'; +import { DatareposEditorComponent } from './managers/datarepos-editor/datarepos-editor.component'; @@ -66,6 +69,7 @@ import { ResearcherEditorComponent } from './managers/researcher-editor/research RegistryTableFilterPipe, ServiceTableFilterPipe, ResearcherTableFilterPipe, + DatarepoTableFilterPipe, AppComponent, GooggleSignInComponent, @@ -82,7 +86,8 @@ import { ResearcherEditorComponent } from './managers/researcher-editor/research RegistryEditorComponent, ServiceEditorComponent, MainSignInComponent, - ResearcherEditorComponent + ResearcherEditorComponent, + DatareposEditorComponent ], imports: [ BrowserModule, @@ -97,7 +102,7 @@ import { ResearcherEditorComponent } from './managers/researcher-editor/research AppRouting ], providers: [ DatasetsServiceService, TokenService, DmpsServiceService, ResearcherService, - DialogService, DatasetProfileService, ProjectService, OrganisationService, + DialogService, DatasetProfileService, ProjectService, OrganisationService, DatarepoService, DmpProfileService, RegistryService, ServiceService, NativeLoginService, HttpModule, Toolbox, HttpClient, RestBase], bootstrap: [AppComponent] }) diff --git a/dmp-admin/src/app/main-window/main-window.component.html b/dmp-admin/src/app/main-window/main-window.component.html index 54c8892b4..7749f27fb 100644 --- a/dmp-admin/src/app/main-window/main-window.component.html +++ b/dmp-admin/src/app/main-window/main-window.component.html @@ -23,11 +23,11 @@
  • DMP profiles
  • - -