Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename @stratos to @stratosui #4341

Merged
merged 2 commits into from
Jun 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { createBasicStoreModule } from '@stratosui/store/testing';

import { AppActionExtensionComponent } from './app-action-extension.component';
import { CoreModule } from '../../core/core.module';
import { RouterTestingModule } from '@angular/router/testing';
import { SharedModule } from '../../shared/shared.module';
import { createBasicStoreModule } from '@stratos/store/testing';
import { AppActionExtensionComponent } from './app-action-extension.component';

describe('AppActionExtensionComponent', () => {
let component: AppActionExtensionComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';
import { NgxChartsModule } from '@swimlane/ngx-charts';

import { ApplicationService } from '../../../../cloud-foundry/src/features/applications/application.service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { inject, TestBed } from '@angular/core/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationsModule } from '../../../../cloud-foundry/src/features/applications/applications.module';
import { EntityServiceFactory } from '../../../../store/src/entity-service-factory.service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../cloud-foundry/src/features/applications/application.service';
import { ApplicationServiceMock } from '../../../../cloud-foundry/test-framework/application-service-helper';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonModule } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { ApplicationService } from '../../../../cloud-foundry/src/features/applications/application.service';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { HttpBackend, HttpClient, HttpClientModule } from '@angular/common/http'
import { HttpTestingController } from '@angular/common/http/testing';
import { inject, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import { GetApplication } from '../../../../../cloud-foundry/src/actions/application.actions';
import { cfEntityFactory } from '../../../../../cloud-foundry/src/cf-entity-factory';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../cloud-foundry/src/cf-app-state';
import { ListDataSource } from '../../../../../core/src/shared/components/list/data-sources-controllers/list-data-source';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';
import { NgxChartsModule } from '@swimlane/ngx-charts';

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DatePipe } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';
import { NgxChartsModule } from '@swimlane/ngx-charts';

import { ApplicationService } from '../../../../../../../cloud-foundry/src/features/applications/application.service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../cloud-foundry/src/cf-app-state';
import { ListDataSource } from '../../../../../core/src/shared/components/list/data-sources-controllers/list-data-source';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DatePipe } from '@angular/common';
import { inject, TestBed } from '@angular/core/testing';
import { createEmptyStoreModule } from '@stratos/store/testing';
import { createEmptyStoreModule } from '@stratosui/store/testing';

import {
ApplicationEnvVarsHelper,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { inject, TestBed } from '@angular/core/testing';
import { Store } from '@ngrx/store';
import { createBasicStoreModule, createEntityStoreState, TestStoreEntity } from '@stratos/store/testing';
import { createBasicStoreModule, createEntityStoreState, TestStoreEntity } from '@stratosui/store/testing';

import { environment } from '../../../core/src/environments/environment';
import { SetInitialParams } from '../../../store/src/actions/pagination.actions';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { testSCFEndpointGuid } from '@stratos/store/testing';
import { testSCFEndpointGuid } from '@stratosui/store/testing';

import { CoreModule } from '../../../../../../../../core/src/core/core.module';
import { CF_GUID } from '../../../../../../../../core/src/shared/entity.tokens';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { populateStoreWithTestEndpoint, testSCFEndpointGuid } from '@stratosui/store/testing';

import { TabNavService } from '../../../../../core/tab-nav.service';
import { populateStoreWithTestEndpoint, testSCFEndpointGuid } from '@stratos/store/testing';
import {
generateCfBaseTestModules,
generateTestCfEndpointServiceProvider,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { populateStoreWithTestEndpoint } from '@stratosui/store/testing';

import { PaginationMonitorFactory } from '../../../../../store/src/monitors/pagination-monitor.factory';
import { TabNavService } from '../../../../../core/tab-nav.service';
import { PaginationMonitorFactory } from '../../../../../store/src/monitors/pagination-monitor.factory';
import {
generateCfBaseTestModules,
generateTestCfServiceProvider,
} from '../../../../test-framework/cloud-foundry-endpoint-service.helper';
import { populateStoreWithTestEndpoint } from '@stratos/store/testing';
import { CfEndpointsMissingComponent } from '../../../shared/components/cf-endpoints-missing/cf-endpoints-missing.component';
import { CloudFoundryComponent } from './cloud-foundry.component';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivatedRoute } from '@angular/router';
import { populateStoreWithTestEndpoint, testSCFEndpointGuid } from '@stratosui/store/testing';

import { TabNavService } from '../../../../../core/tab-nav.service';
import { populateStoreWithTestEndpoint, testSCFEndpointGuid } from '@stratos/store/testing';
import {
generateCfBaseTestModules,
generateTestCfEndpointServiceProvider,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivatedRoute } from '@angular/router';
import { Store } from '@ngrx/store';
import { testSCFEndpoint, testSCFEndpointGuid } from '@stratos/store/testing';
import { testSCFEndpoint, testSCFEndpointGuid } from '@stratosui/store/testing';

import { endpointEntitySchema } from '../../../../../core/src/base-entity-schemas';
import { TabNavService } from '../../../../../core/tab-nav.service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '@angular/core';
import { MatSnackBar, MatSnackBarRef, SimpleSnackBar } from '@angular/material/snack-bar';
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';
import { BehaviorSubject, combineLatest, Observable, of as observableOf, Subscription } from 'rxjs';
import {
catchError,
Expand Down Expand Up @@ -308,7 +308,7 @@ export class UsersRolesModifyComponent implements OnInit, OnDestroy {
this.store.select(selectUsersIsRemove).pipe(first()),
this.cfRolesService.createRolesDiff(this.selectedOrgGuid)
]).pipe(
map(([isRemove,]) => {
map(([isRemove, ]) => {
if (isRemove) {
// If we're going to eventually remove the roles flip the add to remove
this.store.dispatch(new UsersRolesFlipSetRoles());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonModule } from '@angular/common';
import { inject, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { testSCFEndpointGuid } from '@stratos/store/testing';
import { testSCFEndpointGuid } from '@stratosui/store/testing';

import { CoreModule } from '../../../../../../../core/src/core/core.module';
import { CF_GUID } from '../../../../../../../core/src/shared/entity.tokens';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';
import { Subscription } from 'rxjs';
import { tag } from 'rxjs-spy/operators/tag';
import { debounceTime, delay, distinctUntilChanged, map, withLatestFrom } from 'rxjs/operators';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import {
ListDataSource,
Expand Down Expand Up @@ -29,7 +29,7 @@ export class CfEventsDataSource extends ListDataSource<APIResource> {
actee
);

const action = cfEntityCatalog.event.actions.getMultiple(cfGuid, paginationKey)
const action = cfEntityCatalog.event.actions.getMultiple(cfGuid, paginationKey);

action.initialParams.q = CfEventsDataSource.createInitialQParams(
orgGuid,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Store } from '@ngrx/store';
import { testSessionData } from '@stratos/store/testing';
import { testSessionData } from '@stratosui/store/testing';

import { ConfirmationDialogService } from '../../../../../../../../core/src/shared/components/confirmation-dialog.service';
import { MetadataCardTestComponents } from '../../../../../../../../core/test-framework/core-test.helper';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import { organizationEntityType } from '../../../../../../../cloud-foundry/src/cf-entity-types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';
import { of } from 'rxjs';
import { distinctUntilChanged, map } from 'rxjs/operators';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { createBasicStoreModule } from '@stratos/store/testing';
import { createBasicStoreModule } from '@stratosui/store/testing';

import { APIResource } from '../../../../../../../../store/src/types/api.types';
import { IQuotaDefinition } from '../../../../../../cf-api.types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';
import { combineLatest, Observable, Subscription } from 'rxjs';
import { map, switchMap, tap } from 'rxjs/operators';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import { securityGroupEntityType } from '../../../../../../../cloud-foundry/src/cf-entity-types';
Expand All @@ -18,7 +18,7 @@ import { cfEntityFactory } from '../../../../../cf-entity-factory';
export class CfSecurityGroupsDataSource extends ListDataSource<APIResource> {
constructor(store: Store<CFAppState>, cfGuid: string, listConfig?: IListConfig<APIResource>) {
const paginationKey = createEntityRelationPaginationKey(endpointSchemaKey, cfGuid);
const action = cfEntityCatalog.securityGroup.actions.getMultiple(cfGuid, paginationKey, {})
const action = cfEntityCatalog.securityGroup.actions.getMultiple(cfGuid, paginationKey, {});
super({
store,
action,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import { cfUserEntityType } from '../../../../../../../cloud-foundry/src/cf-entity-types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import { serviceEntityType } from '../../../../../../../cloud-foundry/src/cf-entity-types';
Expand All @@ -20,7 +20,7 @@ import { CF_ENDPOINT_TYPE } from '../../../../../cf-types';
export class CfServicesDataSource extends ListDataSource<APIResource> {
constructor(store: Store<CFAppState>, endpointGuid: string, listConfig?: IListConfig<APIResource>) {
const paginationKey = createEntityRelationPaginationKey(endpointSchemaKey);
const getServicesAction = cfEntityCatalog.service.actions.getMultiple(endpointGuid, paginationKey, {})
const getServicesAction = cfEntityCatalog.service.actions.getMultiple(endpointGuid, paginationKey, {});
super({
store,
action: getServicesAction,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';

import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import { applicationEntityType, spaceEntityType } from '../../../../../../../cloud-foundry/src/cf-entity-types';
Expand All @@ -25,7 +25,7 @@ export class CfSpaceAppsDataSource extends ListDataSource<APIResource> {
[],
false,
false
)
);
super({
store,
action,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Store } from '@ngrx/store';
import { getRowMetadata } from '@stratos/store';
import { getRowMetadata } from '@stratosui/store';
import { of } from 'rxjs';
import { distinctUntilChanged, map } from 'rxjs/operators';

Expand Down
Loading