diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 902351d..cb569e0 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -353,7 +353,7 @@ export class AppComponent implements OnInit, OnDestroy {
]
});
this.menuItems.push({
- rootItem: new MenuItem("develop", "Develop", "", "/develop", false, [], null, {}),
+ rootItem: new MenuItem("develop", "Develop", "", "/develop", false, [], ["/develop"], {}),
items: []
});
if (this.isManager) {
diff --git a/src/app/develop/develop-routing.module.ts b/src/app/develop/develop-routing.module.ts
new file mode 100644
index 0000000..b2fd65d
--- /dev/null
+++ b/src/app/develop/develop-routing.module.ts
@@ -0,0 +1,15 @@
+import { NgModule} from '@angular/core';
+import { RouterModule } from '@angular/router';
+import {IsRouteEnabled} from "../openaireLibrary/error/isRouteEnabled.guard";
+import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
+import {DevelopComponent} from "./develop.component";
+
+@NgModule({
+ imports: [
+ RouterModule.forChild([
+ { path: '', component: DevelopComponent, canActivate: [IsRouteEnabled], canDeactivate: [PreviousRouteRecorder]}
+ ])
+ ]
+})
+export class DevelopRoutingModule {
+}
diff --git a/src/app/develop/develop.component.ts b/src/app/develop/develop.component.ts
index 631d8fc..5f1e111 100644
--- a/src/app/develop/develop.component.ts
+++ b/src/app/develop/develop.component.ts
@@ -41,27 +41,33 @@ import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties"
Request examples:
-
- Access “{{openaireEntities.PUBLICATIONS}}”
+ Access all {{openaireEntities.RESULTS}} ({{openaireEntities.PUBLICATIONS}}, {{openaireEntities.DATASETS}}, {{openaireEntities.SOFTWARE}}, {{openaireEntities.OTHER}})
+ GET
+ https://api.openaire.eu/search/researchProducts?community={{community.communityId}}
+
+ -
+
-
+ Access {{openaireEntities.PUBLICATIONS}}
GET
https://api.openaire.eu/search/publications?community={{community.communityId}}
-
- Access “Open Access {{openaireEntities.PUBLICATIONS}}”
+ Access Open Access {{openaireEntities.PUBLICATIONS}}
GET
http://api.openaire.eu/search/publications?community={{community.communityId}}&OA=true
-
- Access “{{openaireEntities.DATASETS}}”
+ Access {{openaireEntities.DATASETS}}
GET
https://api.openaire.eu/search/datasets?community={{community.communityId}}
-
- Access “{{openaireEntities.SOFTWARE}}”
+ Access {{openaireEntities.SOFTWARE}}
GET
https://api.openaire.eu/search/software?community={{community.communityId}}
-
- Access “{{openaireEntities.OTHER}}”
+ Access {{openaireEntities.OTHER}}
GET
https://api.openaire.eu/search/other?community={{community.communityId}}
@@ -70,40 +76,6 @@ import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
`
})
diff --git a/src/app/develop/develop.module.ts b/src/app/develop/develop.module.ts
index 597018a..9e10772 100644
--- a/src/app/develop/develop.module.ts
+++ b/src/app/develop/develop.module.ts
@@ -5,6 +5,7 @@ import {RouterModule} from "@angular/router";
import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
import {PageContentModule} from "../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module";
import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
+import {DevelopRoutingModule} from "./develop-routing.module";
@NgModule({
declarations: [DevelopComponent],
@@ -14,7 +15,7 @@ import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
component: DevelopComponent,
canDeactivate: [PreviousRouteRecorder]
},
- ]), PageContentModule, IconsModule],
+ ]), PageContentModule, IconsModule, DevelopRoutingModule],
exports: [DevelopComponent]
})
export class DevelopModule {