Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Merge upstream (#406)
Browse files Browse the repository at this point in the history
* WIP

* Add theme migration

* File moves

* WIP

* Add theme migration

* Start to make core a separate library

* Tweaks

* WIP

* Fix package imports

* Fix migration script

* First pass at permission effects

* Fix merge issues

* First pass at reducer

* Tidy up logging

* Fix dark theme support

* Final set of cloud-foundry code out of common

* TIdy up and get themable packages working

* Tidy up custom build code

* Tidy ups

* Set defaults when no stratos.yaml file is present

* FIx migrate script for when stratos.yaml not present

* Remove comments

* Disable scss linter from code climate

* Rejig example extensions to be a package for v4 build

* Renames, todos

* Minor fixes

* Fix frontend unit test

* Fix removed e2e target

* Fix unit tests

* Tweaks

* Finish todos

* Fix transition from space summary to app summary page
- an entity service for a space with no org was cached by guid
- an entity service for a space requiring org used cached version
- solution is to make cache id include schema key (determines with/without org)

* Add comment, tidy up rootUpdatingKey

* Fix issue where gitlab summary tab threw errors in console
- fixes #4325

* Push combine of permission configs into checkers
- overcomes some weird change of permission type

* Fix issue where default add/remove setting in change role by username was incorrect
- add/remove radio button default value governed by add/remove feature flags
- when one is set to false the radio button should be disabled and the other selected

* Fix store-test-helper

* Update readme following move to Travis-ci.com

* Ensure the correct key is used metacard favourite info (#4321)

* Fix display of details in endpoint card in endpoint list (#4319)

* Clean default/blocked logic

* Rename @Stratos to @stratosui

* FIx references in tsconfig.json

* Revert change to @stratosui in code

* Revert change to @stratosui in code

* Fix endpoint connect

* Fix unit test

* Fix e2e test

* Change following review #1

* Bump github.com/gorilla/websocket from 1.4.1 to 1.4.2 in /src/jetstream (#4199)

* Bump github.com/gorilla/websocket from 1.4.1 to 1.4.2 in /src/jetstream

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](gorilla/websocket@v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Update go.sum

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Neil MacDougall <[email protected]>

* Fix errors in console log during setup screens

* Helm: Change default image pull policy to Always

* Add copy address and edit to endpoint list view

* Use icon that is less confusing with refresh

* Change following review #2
- Fix cf package module file name
- Make CUSTOM_USER_PERMISSION_CHECKERS optional
- Remove need to inject CUSTOM_USER_PERMISSION_CHECKERS in multiple cf modules

* Add newline at end for codeclimate

* Tidy up code and add some more comments

* Fix for buildpack filename wrapping on card

* Fix code climate issue

* Fix compilation issues

* Update endpoint-list.helpers.ts

* Improve naming

* Tidy up

* Update .gitignore

* Tidy up. Build tools in dist/tools

* Change following review

* Rename tools to devkit. Add schematics

* More improvements and theme schematic added.

* Bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 in /src/jetstream (#4336)

* Bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 in /src/jetstream

Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](go-yaml/yaml@v2.2.8...v2.3.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* CI bump

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Neil MacDougall <[email protected]>

* Remove unused import

* Remove unused import

* [Security] Bump websocket-extensions from 0.1.3 to 0.1.4 (#4356)

Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](faye/websocket-extensions-node@0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Hide deployment info card if not space developer
- fixes #4322

* Only space developers can create/unmap/delete routes in app routes table
- fixes #4324

* Only Space Developers should be able to change count, terminate or ssh to instances
- fixes #4330

* Permissions: Only Space Developers should be able to create/edit/delete an Autoscaler policy
- fixes #4323

* Users with no developer roles could click on add app button
- fixes #4361

* Fix tests

* Fail CI build if imagelist generation fails

* Org Managers: Disable org role checkboxes in roles stepper if not admin/org manager
- fixes #4332

* Routes List: Filter by org breaks when user is an org auditor
- fixes #4343

* Rename the e2e cf helper file

* Fix autoscaler tab

* Changes following review

* A few minor tidy-ups to help with review

* Fix several space developer permission bugs (#4362)

* Hide deployment info card if not space developer
- fixes #4322

* Only space developers can create/unmap/delete routes in app routes table
- fixes #4324

* Only Space Developers should be able to change count, terminate or ssh to instances
- fixes #4330

* Permissions: Only Space Developers should be able to create/edit/delete an Autoscaler policy
- fixes #4323

* Users with no developer roles could click on add app button
- fixes #4361

* Fix tests

* Fix autoscaler tab

* Changes following review

* Fix service stepper navigation (#4366)

* Fix service stepper navigation on create/edit cancel/sumbit
- create service stepper from app service tab, marketplace service summary, service wall
- edit service stepper from marketplace service instances, service wall instances, space service instances and app service instances lists
- fixes #4052, contrinbutes to #4079, #4051

* Fix subscription leak
- fixes #4295
- code no-longer needed

* Force return location of service stepper, fix table edit of upsi and other improvements

* Fix unit tests

* Fix e2e tests

* Fix e2e tests, add search to marketplace service instances table

* Changes following review

* Move base-entity-* to store package

* Add snackbar

* Remove pathget

* Remove more store -> core dependencies

* Move extension-types to store

* Move favourite mgr and helper from core to store

* Move user fav manager and helper to store package

* More references

* Fix logger service removal

* Fix build

* Address PR feedback

* Fix LoggerService after code moves

* Fix logger service ref

* Fix build issues

* Fix health check import

* Move sortStringify (only used once)

* NonOptionalKeys - only used once

* Move KnownKeys

* Move BrowserStandardEncoder

* Remove last environment link

* Move favourite config mapper

* Remove dependency on StratosScopeStrings

* Move BaseEndpointAuth

* Move StratosTheme

* Move ThemeService

* Move types from utils.service that are only used once in store

* Move PermissionValues

* Move http and jetstream helpers

* Move StyleService

* Move MetricQueryType

* Move getFullEndpointApiUrl

* Move StratosStatus

* Move generateStratosEntities back to core

* Finish store -> core sep

* Address PR feedback

* Fix compilation issue

* Fix merge weirdness

* Merge downstream (#4369)

* src based changes

* changes to ./build

* ./docs

* ./

* Changes following review

* Address PR feedback

* fix build

* whitespace changes

* Fix in core public-api after merge

* Fix duplicated k8s docs

* Typed access to actions and entities via catalog entity: Core Stratos Entities (#4387)

* WIP

* WIP

* WIP

* Endpoint changes

* Fix failure handling during connect on stepper

* Fix favourites

* Removed some TODOs

* Fixes & todos

* Unit test fixes

* Fixes following merge

* Fix cf unit tests

* Changes following review

* Theming improvements for header

* Tweaks, Migration Script Docs & Notes on others (#4389)

Co-authored-by: Neil MacDougall <[email protected]>

* Build devkit outside of dist folder

* Add dist-devkit to git ignore

* Ignore example packages when there's a stratos config file (#4399)

* Fix CF App Restage (#4393)

* Remove action entityLocation (not used)

* Fix restage
- fixes #4392

* Remove RequestEntityLocation

* Update icons (#4404)

* Update icons

* Update docker icon and optimize other pngs

* Improve resolution of container icon

* Update e2e test for new icons

* Improve theming to reduce need to override in a hacky way (#4407)

* Reduce icon size in page sub-header (#4411)

* Move out remaining items in cf & autoscaler from core to own packages, improve code splitting (#4412)

* Move out cf themese from _all-theme & remove custom cf table sort/filter field widths

* Move cf routes out of app.routing & move out cf route modules from cf package module (fixes code splitting)

* Fix autoscaler e2e test

* Split out CF modules and router imports into custom module

* Create cf-autoscaler package & routing modules
- note - CfAutoscalerModule is imported in CfAutoscalerPackageModule
- note - AutoscalerModule should be brought back into CfAutoscalerModule (stepper is lazy loaded.. but content missing elsewhere)

* Fix autoscaler e2e test #2

* Fix app autoscaler tab widgets, import using package name

* Move CfAutoscalerModule (app AS tab) out of always loaded AS package into lazy loaded app module

* Add comments, fix e2e test following app-running-instance change

* Allow routes to be applied to stratos navigation root without appearing in side nav

* Fix app-card-app-usage on app AS tab
- only seen when policy does not contain metrics restrictions
- fixes by bringing in CloudFoundrySharedModule again to CfAutoscalerModule
- means an also use app-running-instances again
- i've checked the chunks & sizes, they're similar as before

* Move CloudFoundrySharedModule out of CloudFoundryPackageModule

* Add comments

* Bring back in smaller search/sort input fields in main lists

* Bring back lost styling

* Use smaller page header on desktop browsers (#4418)

* Use smaller page header on desktop browsers

* Change tooltip appear time

* Fix issue where theming is not applied to extensions (#4420)

* Allow ng build to be un from any subfolder (#4422)

* Fix responsiveness of app instances card (#4423)

* Fix script to work in Jenkins (#4425)

* Build: Add support for packages in orgs (#4427)

* Allow ng build to be un from any subfolder

* Add support for packages in orgs

* Fixes after merge

* Fix build

Co-authored-by: Neil MacDougall <[email protected]>
Co-authored-by: Neil MacDougall <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Neil MacDougall <[email protected]>
  • Loading branch information
5 people committed Jul 9, 2020
1 parent cf7f8b8 commit 14479c5
Show file tree
Hide file tree
Showing 52 changed files with 465 additions and 291 deletions.
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
],
"styles": [
"src/frontend/packages/core/src/styles.scss",
"src/frontend/packages/cf-autoscaler/src/styles.scss",
"node_modules/xterm/css/xterm.css"
],
"scripts": []
Expand Down
234 changes: 158 additions & 76 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion src/frontend/packages/cf-autoscaler/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"name": "cf-autoscaler",
"name": "@stratosui/cf-autoscaler",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^6.0.0-rc.0 || ^6.0.0",
"@angular/core": "^6.0.0-rc.0 || ^6.0.0"
},
"stratos": {
"module": "CfAutoscalerPackageModule",
"routingModule": "CfAutoscalerRoutingModule",
"theming": "sass/_all-theme#apply-theme-stratos-autoscaler"
}
}
8 changes: 8 additions & 0 deletions src/frontend/packages/cf-autoscaler/sass/_all-theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import '../src/features/edit-autoscaler-policy/edit-autoscaler-policy-step4/edit-autoscaler-policy-step4.theme';

@mixin apply-theme-stratos-autoscaler($stratos-theme) {

$theme: map-get($stratos-theme, theme);
$app-theme: map-get($stratos-theme, app-theme);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { EffectsModule } from '@ngrx/effects';

import { EntityCatalogModule } from '../../store/src/entity-catalog.module';
import { generateASEntities } from './store/autoscaler-entity-generator';
import { AutoscalerEffects } from './store/autoscaler.effects';

@NgModule({
imports: [
EntityCatalogModule.forFeature(generateASEntities),
EffectsModule.forFeature([
AutoscalerEffects
]),
],
})
export class CfAutoscalerPackageModule { }

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

// Things in this path include add/edit policy stepper, policy metrics page and policy events page
// They're include like this to ensure those parts are lazy loaded.
// The core application policy tab is included via CfAutoscalerModule, which is imported in the Application Module
const customRoutes: Routes = [
{
path: 'autoscaler',
loadChildren: () => import('./core/autoscaler.module').then(m => m.AutoscalerModule),
data: {
// Required to place content in the mat-drawer-content/.page-content container
stratosNavigationPage: true
},
},
];

@NgModule({
imports: [
RouterModule.forRoot(customRoutes),
],
})
export class CfAutoscalerRoutingModule { }
36 changes: 5 additions & 31 deletions src/frontend/packages/cf-autoscaler/src/cf-autoscaler.module.ts
Original file line number Diff line number Diff line change
@@ -1,57 +1,31 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { EffectsModule } from '@ngrx/effects';
import { NgxChartsModule } from '@swimlane/ngx-charts';
import { of } from 'rxjs';
import { ExtensionService } from 'frontend/packages/core/src/core/extension/extension-service';

import { CloudFoundrySharedModule } from '../../cloud-foundry/src/shared/cf-shared.module';
import { CoreModule } from '../../core/src/core/core.module';
import { MDAppModule } from '../../core/src/core/md.module';
import { SharedModule } from '../../core/src/shared/shared.module';
import { EntityCatalogModule } from '../../store/src/entity-catalog.module';
import { AutoscalerModule } from './core/autoscaler.module';
import { AutoscalerTabExtensionComponent } from './features/autoscaler-tab-extension/autoscaler-tab-extension.component';
import { generateASEntities } from './store/autoscaler-entity-generator';
import { AutoscalerEffects } from './store/autoscaler.effects';
import { ExtensionService } from 'frontend/packages/core/src/core/extension/extension-service';
import { CardAutoscalerDefaultComponent } from './shared/card-autoscaler-default/card-autoscaler-default.component';

// FIXME Work out why we need this and remove it.
const customRoutes: Routes = [
{
path: 'autoscaler',
loadChildren: () => import('./core/autoscaler.module').then(m => m.AutoscalerModule),
data: {
stratosNavigation: {
text: 'Applications',
matIcon: 'apps',
position: 20,
hidden: of(true)
}
},
},
];

@NgModule({
imports: [
CoreModule,
CommonModule,
SharedModule,
MDAppModule,
NgxChartsModule,
CloudFoundrySharedModule,
AutoscalerModule,
RouterModule.forRoot(customRoutes),
EntityCatalogModule.forFeature(generateASEntities),
EffectsModule.forFeature([
AutoscalerEffects
]),
NgxChartsModule,
ExtensionService.declare([
AutoscalerTabExtensionComponent,
])
],
declarations: [
AutoscalerTabExtensionComponent
CardAutoscalerDefaultComponent,
AutoscalerTabExtensionComponent,
]
})
export class CfAutoscalerModule { }
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { DatePipe } from '@angular/common';
import { NgModule } from '@angular/core';
import { NgxChartsModule } from '@swimlane/ngx-charts';

import { ApplicationService } from '../../../cloud-foundry/src/features/applications/application.service';
import {
ApplicationEnvVarsHelper,
} from '../../../cloud-foundry/src/features/applications/application/application-tabs-base/tabs/build-tab/application-env-vars.service';
import { CloudFoundrySharedModule } from '../../../cloud-foundry/src/shared/cf-shared.module';
import { CoreModule } from '../../../core/src/core/core.module';
import { SharedModule } from '../../../core/src/shared/shared.module';
Expand All @@ -26,7 +30,6 @@ import {
EditAutoscalerPolicyStep4Component,
} from '../features/edit-autoscaler-policy/edit-autoscaler-policy-step4/edit-autoscaler-policy-step4.component';
import { EditAutoscalerPolicyComponent } from '../features/edit-autoscaler-policy/edit-autoscaler-policy.component';
import { CardAutoscalerDefaultComponent } from '../shared/card-autoscaler-default/card-autoscaler-default.component';
import {
TableCellAutoscalerEventChangeIconPipe,
} from '../shared/list-types/app-autoscaler-event/table-cell-autoscaler-event-change/table-cell-autoscaler-event-change-icon.pipe';
Expand Down Expand Up @@ -69,7 +72,6 @@ import { AutoscalerRoutingModule } from './autoscaler.routing';
EditAutoscalerPolicyStep3Component,
EditAutoscalerPolicyStep4Component,
EditAutoscalerCredentialComponent,
CardAutoscalerDefaultComponent,
AppAutoscalerMetricChartCardComponent,
AppAutoscalerComboChartComponent,
AppAutoscalerComboSeriesVerticalComponent,
Expand All @@ -78,11 +80,10 @@ import { AutoscalerRoutingModule } from './autoscaler.routing';
TableCellAutoscalerEventStatusIconPipe,
TableCellAutoscalerEventChangeIconPipe,
],
exports: [
CardAutoscalerDefaultComponent
],
providers: [
ApplicationService
ApplicationService,
ApplicationEnvVarsHelper,
DatePipe
]
})
export class AutoscalerModule { }
5 changes: 3 additions & 2 deletions src/frontend/packages/cf-autoscaler/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
* Public API Surface of cloud-foundry
*/

// export * from './lib/cloud-foundry.service';
export * from './lib/cf-autoscaler.module';
export * from './cf-autoscaler-package.module';
export * from './cf-autoscaler-routing.module';
export * from './core/autoscaler-helpers/autoscaler-available';
7 changes: 4 additions & 3 deletions src/frontend/packages/cloud-foundry/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "cloud-foundry",
"name": "@stratosui/cloud-foundry",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^6.0.0-rc.0 || ^6.0.0",
"@angular/core": "^6.0.0-rc.0 || ^6.0.0"
},
"stratos": {
"module": "CloudFoundryPackageModule",
"routingModule": "CloudFoundryRoutingModule",
"theming": "sass/_all-theme#apply-theme-stratos-cloud-foundry"
}

}
}
15 changes: 15 additions & 0 deletions src/frontend/packages/cloud-foundry/sass/_all-theme.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
// Theming for the copmponents in the Cloud Foundry package


@import '../src/features/applications/application-wall/application-wall.component.theme';
@import '../src/features/services/services-wall/services-wall.component.theme';
@import '../src/features/service-catalog/service-catalog-page/service-catalog-page.component.theme';

@import '../src/shared/components/list/list-types/cf-security-groups/cf-security-groups-card/cf-security-groups-card.component.theme';
@import '../src/shared/components/schema-form/schema-form.component.theme';
@import '../src/features/cloud-foundry/tabs/cf-admin-add-user-warning/cf-admin-add-user-warning.component.theme';
@import '../src/features/applications/deploy-application/deploy-application.component.theme';
@import '../src/features/applications/deploy-application/deploy-application-step2/deploy-application-fs/deploy-application-fs.component.theme';
@import '../src/features/cloud-foundry/tabs/cloud-foundry-firehose/cloud-foundry-firehose.component.theme';

@mixin apply-theme-stratos-cloud-foundry($stratos-theme) {

$theme: map-get($stratos-theme, theme);
$app-theme: map-get($stratos-theme, app-theme);

@include cf-security-group-theme($theme);
@include app-schema-form-theme($theme, $app-theme);
@include cf-admin-add-user-warning($theme, $app-theme);
@include app-deploy-app-theme($theme, $app-theme);
@include app-deploy-app-fs-component-theme($theme, $app-theme);
@include app-cloud-foundry-firehose-theme($theme, $app-theme);

}
20 changes: 20 additions & 0 deletions src/frontend/packages/cloud-foundry/sass/mixins.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@mixin apply-smaller-list-input {

@include breakpoint(phablet) {
.list-component__header__right-filter {
width: 140px;
}
.list-component__header__right-sort {
width: 120px;
}
}

@include breakpoint(laptop) {
.list-component__header__right-filter {
width: inherit;
}
.list-component__header__right-sort {
width: inherit;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ import { MDAppModule } from '../../core/src/core/md.module';
import { SharedModule } from '../../core/src/shared/shared.module';
import { EntityCatalogModule } from '../../store/src/entity-catalog.module';
import { generateCFEntities } from './cf-entity-generator';
import { ApplicationsModule } from './features/applications/applications.module';
import { CloudFoundryModule } from './features/cloud-foundry/cloud-foundry.module';
import { ServiceCatalogModule } from './features/service-catalog/service-catalog.module';
import { ServicesModule } from './features/services/services.module';
import { CloudFoundrySharedModule } from './shared/cf-shared.module';
import { CfUserService } from './shared/data-services/cf-user.service';
import { CloudFoundryService } from './shared/data-services/cloud-foundry.service';
import { LongRunningCfOperationsService } from './shared/data-services/long-running-cf-op.service';
import { GitSCMService } from './shared/data-services/scm/scm.service';
import { ServiceActionHelperService } from './shared/data-services/service-action-helper.service';
import { CloudFoundryUserProvidedServicesService } from './shared/services/cloud-foundry-user-provided-services.service';
import { CloudFoundryStoreModule } from './store/cloud-foundry.store.module';
Expand All @@ -24,18 +20,7 @@ import { cfCurrentUserPermissionsService } from './user-permissions/cf-user-perm
CommonModule,
SharedModule,
MDAppModule,
ApplicationsModule,
CloudFoundryModule,
ServiceCatalogModule,
ServicesModule,
CloudFoundryStoreModule,
// FIXME: Ensure that anything lazy loaded is not included here - #3675
CloudFoundrySharedModule,
// FIXME: Move cf effects into cf module - #3675
// EffectsModule.for Root([
// PermissionsEffects,
// PermissionEffects
// ])
],
providers: [
...cfCurrentUserPermissionsService,
Expand All @@ -44,6 +29,7 @@ import { cfCurrentUserPermissionsService } from './user-permissions/cf-user-perm
ServiceActionHelperService,
LongRunningCfOperationsService,
CloudFoundryUserProvidedServicesService,
GitSCMService,
]
})
export class CloudFoundryPackageModule { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

const customRoutes: Routes = [
{
path: 'applications',
loadChildren: () => import('./features/applications/applications.module').then(m => m.ApplicationsModule),
data: {
stratosNavigation: {
label: 'Applications',
matIcon: 'apps',
requiresEndpointType: 'cf',
position: 20
}
},
},
{
path: 'marketplace',
loadChildren: () => import('./features/service-catalog/service-catalog.module')
.then(m => m.ServiceCatalogModule),
data: {
stratosNavigation: {
label: 'Marketplace',
matIcon: 'store',
requiresEndpointType: 'cf',
position: 30
}
},
},
{
path: 'services',
loadChildren: () => import('./features/services/services.module').then(m => m.ServicesModule),
data: {
stratosNavigation: {
label: 'Services',
matIcon: 'service',
matIconFont: 'stratos-icons',
requiresEndpointType: 'cf',
position: 40
}
},
},
{
path: 'cloud-foundry',
loadChildren: () => import('./features/cloud-foundry/cloud-foundry-section.module').then(m => m.CloudFoundrySectionModule),
data: {
stratosNavigation: {
label: 'Cloud Foundry',
matIcon: 'cloud_foundry',
matIconFont: 'stratos-icons',
requiresEndpointType: 'cf',
position: 50
}
},
},
]

@NgModule({
imports: [
RouterModule.forRoot(customRoutes),
],
declarations: []
})
export class CloudFoundryRoutingModule { }
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { CloudFoundryStoreModule } from './store/cloud-foundry.store.module';
return [
...generateCFEntities(),
...generateStratosEntities(),
...generateASEntities(), // FIXME: CF should not depend on autoscaler. See #3916
...generateASEntities(), // FIXME: Remove hard link between cf and autoscaler packages #4416
];
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// For the App Wall, reduce the size of the filter and sort
@import '../../../../sass/mixins';

.app-wall {
.list-component__header__right-filter {
width: 140px;
}
.list-component__header__right-sort {
width: 120px;
}
@include apply-smaller-list-input;
}

This file was deleted.

Loading

0 comments on commit 14479c5

Please sign in to comment.