summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-02-13 17:03:14 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-02-13 17:05:56 +0530
commit3904918b835bc3bdbcbcc61a07a39cb19160d19e (patch)
tree9c128a16b6917b2d8650a18fc5a1bbcaa59d92d6
parentad2884574d3aa59be58de627de9d035bde98eb4d (diff)
Remove unwanted component
Change-Id: Id106c443aaa8b1e3f255e9529ef1e744d41106bd Issue-ID: CCSDK-703 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
-rw-r--r--cds-ui/client/src/app/common/shared/fileupload/fileupload.component.html21
-rw-r--r--cds-ui/client/src/app/common/shared/fileupload/fileupload.component.scss0
-rw-r--r--cds-ui/client/src/app/common/shared/fileupload/fileupload.component.spec.ts25
-rw-r--r--cds-ui/client/src/app/common/shared/fileupload/fileupload.component.ts36
-rw-r--r--cds-ui/client/src/app/common/shared/shared.module.ts8
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html1
6 files changed, 3 insertions, 88 deletions
diff --git a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.html b/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.html
deleted file mode 100644
index 635b83cbd..000000000
--- a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-============LICENSE_START==========================================
-===================================================================
-Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
-===================================================================
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the License);
-you may not use this software except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-============LICENSE_END============================================
--->
-<input type="file" accept=".cba"> \ No newline at end of file
diff --git a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.scss b/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.scss
deleted file mode 100644
index e69de29bb..000000000
--- a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.scss
+++ /dev/null
diff --git a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.spec.ts b/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.spec.ts
deleted file mode 100644
index f80ca640b..000000000
--- a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.spec.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { async, ComponentFixture, TestBed } from '@angular/core/testing';
-
-import { FileuploadComponent } from './fileupload.component';
-
-describe('FileuploadComponent', () => {
- let component: FileuploadComponent;
- let fixture: ComponentFixture<FileuploadComponent>;
-
- beforeEach(async(() => {
- TestBed.configureTestingModule({
- declarations: [ FileuploadComponent ]
- })
- .compileComponents();
- }));
-
- beforeEach(() => {
- fixture = TestBed.createComponent(FileuploadComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
-
- it('should create', () => {
- expect(component).toBeTruthy();
- });
-});
diff --git a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.ts b/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.ts
deleted file mode 100644
index 8a61a7f67..000000000
--- a/cds-ui/client/src/app/common/shared/fileupload/fileupload.component.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-============LICENSE_START==========================================
-===================================================================
-Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
-===================================================================
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the License);
-you may not use this software except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-============LICENSE_END============================================
-*/
-
-import { Component, OnInit } from '@angular/core';
-
-@Component({
- selector: 'app-fileupload',
- templateUrl: './fileupload.component.html',
- styleUrls: ['./fileupload.component.scss']
-})
-export class FileuploadComponent implements OnInit {
-
- constructor() { }
-
- ngOnInit() {
- }
-
-}
diff --git a/cds-ui/client/src/app/common/shared/shared.module.ts b/cds-ui/client/src/app/common/shared/shared.module.ts
index 2b3c99370..4ee7cca87 100644
--- a/cds-ui/client/src/app/common/shared/shared.module.ts
+++ b/cds-ui/client/src/app/common/shared/shared.module.ts
@@ -25,18 +25,16 @@ import { HomeComponent } from './components/home/home.component';
import { CBAWizardComponent } from './components/cbawizard/cbawizard.component';
import { MatToolbarModule,MatIconModule, MatButtonModule, MatSidenavModule, MatListModule, MatGridListModule, MatCardModule, MatMenuModule, MatTableModule, MatPaginatorModule, MatSortModule, MatInputModule, MatSelectModule, MatRadioModule, MatFormFieldModule, MatStepperModule} from '@angular/material';
import { RouterModule } from "@angular/router";
-import { FileuploadComponent } from './fileupload/fileupload.component';
@NgModule({
declarations: [
HomeComponent,
- CBAWizardComponent,
- FileuploadComponent
+ CBAWizardComponent
+
],
exports: [
HomeComponent,
- CBAWizardComponent,
- FileuploadComponent
+ CBAWizardComponent
],
imports: [
CommonModule,
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html
index 8e22c706f..635b83cbd 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html
+++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html
@@ -18,5 +18,4 @@ See the License for the specific language governing permissions and
limitations under the License.
============LICENSE_END============================================
-->
-<!-- <app-file-upload></app-file-upload> -->
<input type="file" accept=".cba"> \ No newline at end of file