You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/07/25 11:31:27 UTC

[incubator-dlab] 05/12: [DLAB-4]: added routing to web terminal connection

This is an automated email from the ASF dual-hosted git repository.

bhliva pushed a commit to branch v2.1.1
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 736a26e9e046ac7448e2704bf0d4de63920221fb
Author: Andriana Kovalyshyn <an...@epam.com>
AuthorDate: Tue May 7 17:14:08 2019 +0300

    [DLAB-4]: added routing to web terminal connection
---
 services/self-service/src/main/resources/webapp/src/app/app.module.ts | 2 ++
 .../src/main/resources/webapp/src/app/app.routing.module.ts           | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/services/self-service/src/main/resources/webapp/src/app/app.module.ts b/services/self-service/src/main/resources/webapp/src/app/app.module.ts
index 6307cd8..88aa630 100644
--- a/services/self-service/src/main/resources/webapp/src/app/app.module.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/app.module.ts
@@ -40,6 +40,7 @@ import { ErrorInterceptor } from './core/interceptors/error.interceptor';
 
 import { ReportingModule } from './reporting/reporting.module';
 import { ManagenementModule } from './management';
+import { WebterminalModule } from './webterminal';
 
 import { CoreModule } from './core/core.module';
 import { ToastrModule } from 'ngx-toastr';
@@ -60,6 +61,7 @@ import { ToastrModule } from 'ngx-toastr';
     AccessDeniedModule,
     ReportingModule,
     ManagenementModule,
+    WebterminalModule,
     RouterModule,
     AppRoutingModule,
     CoreModule.forRoot(),
diff --git a/services/self-service/src/main/resources/webapp/src/app/app.routing.module.ts b/services/self-service/src/main/resources/webapp/src/app/app.routing.module.ts
index 43d0abf..eba8d7e 100644
--- a/services/self-service/src/main/resources/webapp/src/app/app.routing.module.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/app.routing.module.ts
@@ -26,6 +26,7 @@ import { AccessNotebookGuideComponent, PublicKeyGuideComponent } from './help';
 import { NotFoundComponent } from './not-found/not-found.component';
 import { AccessDeniedComponent } from './access-denied/access-denied.component';
 import { ReportingComponent } from './reporting/reporting.component';
+import { WebterminalComponent } from './webterminal/webterminal.component';
 import { ManagementComponent } from './management/management.component';
 import { AuthorizationGuard, CheckParamsGuard, CloudProviderGuard } from './core/services';
 
@@ -45,6 +46,9 @@ const routes: Routes = [{
     component: ManagementComponent,
     canActivate: [AuthorizationGuard]
   }, {
+    path: 'terminal/:id',
+    component: WebterminalComponent
+  }, {
     path: 'help/publickeyguide',
     component: PublicKeyGuideComponent,
     canActivate: [AuthorizationGuard]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org