Loading src/app/app-products-routing.module.ts +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ import { ListProductOfferingsComponent } from './p_product/admin/productCatalogM import { EditProductCatalogsComponent } from './p_product/admin/productCatalogManagement/edit-product-catalogs/edit-product-catalogs.component'; import { EditProductOfferingsComponent } from './p_product/admin/productCatalogManagement/edit-product-offerings/edit-product-offerings.component'; import { ProductOrderCheckoutComponent } from './p_product/orderCheckout/product-order-checkout/product-order-checkout.component'; import { PreviewProductOrderComponent } from './p_product/admin/productOrderManagement/preview-product-order/preview-product-order.component'; import { ListProductOrdersComponent } from './p_product/admin/productOrderManagement/list-product-orders/list-product-orders.component'; const routes: Routes = [ Loading @@ -30,6 +32,9 @@ const routes: Routes = [ { path: 'product_category_update/:id', component: EditProductCategoriesComponent }, { path: 'product_category_update', component: EditProductCategoriesComponent }, { path: 'product_orders', component: ListProductOrdersComponent }, { path: 'product_order/:id', component: PreviewProductOrderComponent }, { path: 'product_order_checkout', component: ProductOrderCheckoutComponent }, { path: 'product_offerings', component: ListProductOfferingsComponent }, Loading src/app/app-products.module.ts +21 −5 Original line number Diff line number Diff line Loading @@ -26,6 +26,14 @@ import { AssignSubcategoriesComponent } from './p_product/admin/productCatalogMa import { ConfirmCharacteristicAssignmentComponent } from './p_product/admin/productCatalogManagement/edit-product-specs/assign-service-specification/confirm-characteristic-assignment/confirm-characteristic-assignment.component'; import { SortByValuePipe } from './p_product/admin/productCatalogManagement/edit-product-offerings/sort-by-value.pipe'; import { ProductOrderCheckoutComponent } from './p_product/orderCheckout/product-order-checkout/product-order-checkout.component'; import { ProductOrderCalendarComponent } from './p_product/admin/productOrderManagement/product-order-calendar/product-order-calendar.component'; import { ListProductOrdersComponent } from './p_product/admin/productOrderManagement/list-product-orders/list-product-orders.component'; import { PreviewProductOrderComponent } from './p_product/admin/productOrderManagement/preview-product-order/preview-product-order.component'; import { EditProductOrderItemsComponent } from './p_product/admin/productOrderManagement/preview-product-order/edit-product-order-items/edit-product-order-items.component'; import { TerminateProductOrderItemsComponent } from './p_product/admin/productOrderManagement/preview-product-order/terminate-product-order-items/terminate-product-order-items.component'; import { DeleteProductOrderComponent } from './p_product/admin/productOrderManagement/delete-product-order/delete-product-order.component'; import { EditOrdersProductSpecCharacteristicsComponent } from './p_product/admin/productOrderManagement/preview-product-order/edit-product-order-items/edit-orders-product-spec-characteristics/edit-orders-product-spec-characteristics.component'; import { FullCalendarModule } from "@fullcalendar/angular"; @NgModule({ declarations: [ Loading @@ -51,12 +59,20 @@ import { ProductOrderCheckoutComponent } from './p_product/orderCheckout/product AssignProductOfferingsComponent, AssignSubcategoriesComponent, SortByValuePipe, ProductOrderCheckoutComponent ProductOrderCheckoutComponent, ProductOrderCalendarComponent, PreviewProductOrderComponent, EditProductOrderItemsComponent, TerminateProductOrderItemsComponent, DeleteProductOrderComponent, ListProductOrdersComponent, EditOrdersProductSpecCharacteristicsComponent ], imports: [ CommonModule, SharedModule, AppProductsRoutingModule, FullCalendarModule ] }) Loading src/app/openApis/productOrderingManagement/api-configuration.ts 0 → 100644 +22 −0 Original line number Diff line number Diff line /* tslint:disable */ /* eslint-disable */ /* Code generated by ng-openapi-gen DO NOT EDIT. */ import { Injectable } from '@angular/core'; /** * Global configuration */ @Injectable({ providedIn: 'root', }) export class ApiConfiguration { rootUrl: string = 'https://portal.openslice.eu/tmf-api'; } /** * Parameters for `ApiModule.forRoot()` */ export interface ApiConfigurationParams { rootUrl?: string; } src/app/openApis/productOrderingManagement/api.module.ts 0 → 100644 +58 −0 Original line number Diff line number Diff line /* tslint:disable */ /* eslint-disable */ /* Code generated by ng-openapi-gen DO NOT EDIT. */ import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ApiConfiguration, ApiConfigurationParams } from './api-configuration'; import { ProductOrderService } from './services/product-order.service'; import { ListenerService } from './services/listener.service'; import { NotificationListenersClientSideService } from './services/notification-listeners-client-side.service'; import { HubService } from './services/hub.service'; import { EventsSubscriptionService } from './services/events-subscription.service'; import { CancelProductOrderService } from './services/cancel-product-order.service'; /** * Module that provides all services and configuration. */ @NgModule({ imports: [], exports: [], declarations: [], providers: [ ProductOrderService, ListenerService, NotificationListenersClientSideService, HubService, EventsSubscriptionService, CancelProductOrderService, ApiConfiguration ], }) export class ApiModule { static forRoot(params: ApiConfigurationParams): ModuleWithProviders<ApiModule> { return { ngModule: ApiModule, providers: [ { provide: ApiConfiguration, useValue: params } ] } } constructor( @Optional() @SkipSelf() parentModule: ApiModule, @Optional() http: HttpClient ) { if (parentModule) { throw new Error('ApiModule is already loaded. Import in your base AppModule only.'); } if (!http) { throw new Error('You need to import the HttpClientModule in your AppModule! \n' + 'See also https://github.com/angular/angular/issues/20575'); } } } src/app/openApis/productOrderingManagement/base-service.ts 0 → 100644 +36 −0 Original line number Diff line number Diff line /* tslint:disable */ /* eslint-disable */ /* Code generated by ng-openapi-gen DO NOT EDIT. */ import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ApiConfiguration } from './api-configuration'; /** * Base class for services */ @Injectable() export class BaseService { constructor( protected config: ApiConfiguration, protected http: HttpClient ) { } private _rootUrl?: string; /** * Returns the root url for all operations in this service. If not set directly in this * service, will fallback to `ApiConfiguration.rootUrl`. */ get rootUrl(): string { return this._rootUrl || this.config.rootUrl; } /** * Sets the root URL for API operations in this service. */ set rootUrl(rootUrl: string) { this._rootUrl = rootUrl; } } Loading
src/app/app-products-routing.module.ts +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ import { ListProductOfferingsComponent } from './p_product/admin/productCatalogM import { EditProductCatalogsComponent } from './p_product/admin/productCatalogManagement/edit-product-catalogs/edit-product-catalogs.component'; import { EditProductOfferingsComponent } from './p_product/admin/productCatalogManagement/edit-product-offerings/edit-product-offerings.component'; import { ProductOrderCheckoutComponent } from './p_product/orderCheckout/product-order-checkout/product-order-checkout.component'; import { PreviewProductOrderComponent } from './p_product/admin/productOrderManagement/preview-product-order/preview-product-order.component'; import { ListProductOrdersComponent } from './p_product/admin/productOrderManagement/list-product-orders/list-product-orders.component'; const routes: Routes = [ Loading @@ -30,6 +32,9 @@ const routes: Routes = [ { path: 'product_category_update/:id', component: EditProductCategoriesComponent }, { path: 'product_category_update', component: EditProductCategoriesComponent }, { path: 'product_orders', component: ListProductOrdersComponent }, { path: 'product_order/:id', component: PreviewProductOrderComponent }, { path: 'product_order_checkout', component: ProductOrderCheckoutComponent }, { path: 'product_offerings', component: ListProductOfferingsComponent }, Loading
src/app/app-products.module.ts +21 −5 Original line number Diff line number Diff line Loading @@ -26,6 +26,14 @@ import { AssignSubcategoriesComponent } from './p_product/admin/productCatalogMa import { ConfirmCharacteristicAssignmentComponent } from './p_product/admin/productCatalogManagement/edit-product-specs/assign-service-specification/confirm-characteristic-assignment/confirm-characteristic-assignment.component'; import { SortByValuePipe } from './p_product/admin/productCatalogManagement/edit-product-offerings/sort-by-value.pipe'; import { ProductOrderCheckoutComponent } from './p_product/orderCheckout/product-order-checkout/product-order-checkout.component'; import { ProductOrderCalendarComponent } from './p_product/admin/productOrderManagement/product-order-calendar/product-order-calendar.component'; import { ListProductOrdersComponent } from './p_product/admin/productOrderManagement/list-product-orders/list-product-orders.component'; import { PreviewProductOrderComponent } from './p_product/admin/productOrderManagement/preview-product-order/preview-product-order.component'; import { EditProductOrderItemsComponent } from './p_product/admin/productOrderManagement/preview-product-order/edit-product-order-items/edit-product-order-items.component'; import { TerminateProductOrderItemsComponent } from './p_product/admin/productOrderManagement/preview-product-order/terminate-product-order-items/terminate-product-order-items.component'; import { DeleteProductOrderComponent } from './p_product/admin/productOrderManagement/delete-product-order/delete-product-order.component'; import { EditOrdersProductSpecCharacteristicsComponent } from './p_product/admin/productOrderManagement/preview-product-order/edit-product-order-items/edit-orders-product-spec-characteristics/edit-orders-product-spec-characteristics.component'; import { FullCalendarModule } from "@fullcalendar/angular"; @NgModule({ declarations: [ Loading @@ -51,12 +59,20 @@ import { ProductOrderCheckoutComponent } from './p_product/orderCheckout/product AssignProductOfferingsComponent, AssignSubcategoriesComponent, SortByValuePipe, ProductOrderCheckoutComponent ProductOrderCheckoutComponent, ProductOrderCalendarComponent, PreviewProductOrderComponent, EditProductOrderItemsComponent, TerminateProductOrderItemsComponent, DeleteProductOrderComponent, ListProductOrdersComponent, EditOrdersProductSpecCharacteristicsComponent ], imports: [ CommonModule, SharedModule, AppProductsRoutingModule, FullCalendarModule ] }) Loading
src/app/openApis/productOrderingManagement/api-configuration.ts 0 → 100644 +22 −0 Original line number Diff line number Diff line /* tslint:disable */ /* eslint-disable */ /* Code generated by ng-openapi-gen DO NOT EDIT. */ import { Injectable } from '@angular/core'; /** * Global configuration */ @Injectable({ providedIn: 'root', }) export class ApiConfiguration { rootUrl: string = 'https://portal.openslice.eu/tmf-api'; } /** * Parameters for `ApiModule.forRoot()` */ export interface ApiConfigurationParams { rootUrl?: string; }
src/app/openApis/productOrderingManagement/api.module.ts 0 → 100644 +58 −0 Original line number Diff line number Diff line /* tslint:disable */ /* eslint-disable */ /* Code generated by ng-openapi-gen DO NOT EDIT. */ import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ApiConfiguration, ApiConfigurationParams } from './api-configuration'; import { ProductOrderService } from './services/product-order.service'; import { ListenerService } from './services/listener.service'; import { NotificationListenersClientSideService } from './services/notification-listeners-client-side.service'; import { HubService } from './services/hub.service'; import { EventsSubscriptionService } from './services/events-subscription.service'; import { CancelProductOrderService } from './services/cancel-product-order.service'; /** * Module that provides all services and configuration. */ @NgModule({ imports: [], exports: [], declarations: [], providers: [ ProductOrderService, ListenerService, NotificationListenersClientSideService, HubService, EventsSubscriptionService, CancelProductOrderService, ApiConfiguration ], }) export class ApiModule { static forRoot(params: ApiConfigurationParams): ModuleWithProviders<ApiModule> { return { ngModule: ApiModule, providers: [ { provide: ApiConfiguration, useValue: params } ] } } constructor( @Optional() @SkipSelf() parentModule: ApiModule, @Optional() http: HttpClient ) { if (parentModule) { throw new Error('ApiModule is already loaded. Import in your base AppModule only.'); } if (!http) { throw new Error('You need to import the HttpClientModule in your AppModule! \n' + 'See also https://github.com/angular/angular/issues/20575'); } } }
src/app/openApis/productOrderingManagement/base-service.ts 0 → 100644 +36 −0 Original line number Diff line number Diff line /* tslint:disable */ /* eslint-disable */ /* Code generated by ng-openapi-gen DO NOT EDIT. */ import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ApiConfiguration } from './api-configuration'; /** * Base class for services */ @Injectable() export class BaseService { constructor( protected config: ApiConfiguration, protected http: HttpClient ) { } private _rootUrl?: string; /** * Returns the root url for all operations in this service. If not set directly in this * service, will fallback to `ApiConfiguration.rootUrl`. */ get rootUrl(): string { return this._rootUrl || this.config.rootUrl; } /** * Sets the root URL for API operations in this service. */ set rootUrl(rootUrl: string) { this._rootUrl = rootUrl; } }