--- /dev/null
+<!--\r
+* ============LICENSE_START=======================================================\r
+* ONAP : CDS\r
+* ================================================================================\r
+* Copyright 2019 TechMahindra\r
+*=================================================================================\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+* ============LICENSE_END=========================================================\r
+-->\r
+<mat-radio-group>\r
+ <mat-radio-button value="1" (click)="selected(1)">Upload Resource File</mat-radio-button><br><br>\r
+ <mat-radio-button value="2" (click)="selected(2)">New Resource</mat-radio-button><br><br>\r
+ <mat-radio-button value="3" (click)="selected(3)">Existing Model Resource</mat-radio-button>\r
+</mat-radio-group>\r
--- /dev/null
+/*\r
+* ============LICENSE_START=======================================================\r
+* ONAP : CDS\r
+* ================================================================================\r
+* Copyright 2019 TechMahindra\r
+*=================================================================================\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+* ============LICENSE_END=========================================================\r
+*/
\ No newline at end of file
--- /dev/null
+/*\r
+* ============LICENSE_START=======================================================\r
+* ONAP : CDS\r
+* ================================================================================\r
+* Copyright 2019 TechMahindra\r
+*=================================================================================\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+* ============LICENSE_END=========================================================\r
+*/\r
+\r
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';\r
+\r
+import { ResourceTemplateOptionsComponent } from './resource-template-options.component';\r
+\r
+describe('ResourceTemplateOptionsComponent', () => {\r
+ let component: ResourceTemplateOptionsComponent;\r
+ let fixture: ComponentFixture<TemplateOptionsComponent>;\r
+\r
+ beforeEach(async(() => {\r
+ TestBed.configureTestingModule({\r
+ declarations: [ ResourceTemplateOptionsComponent ]\r
+ })\r
+ .compileComponents();\r
+ }));\r
+\r
+ beforeEach(() => {\r
+ fixture = TestBed.createComponent(ResourceTemplateOptionsComponent);\r
+ component = fixture.componentInstance;\r
+ fixture.detectChanges();\r
+ });\r
+\r
+ it('should create', () => {\r
+ expect(component).toBeTruthy();\r
+ });\r
+});\r
--- /dev/null
+/*\r
+* ============LICENSE_START=======================================================\r
+* ONAP : CDS\r
+* ================================================================================\r
+* Copyright 2019 TechMahindra\r
+*=================================================================================\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+* ============LICENSE_END=========================================================\r
+*/\r
+\r
+import { Component, OnInit, Output, EventEmitter} from '@angular/core';\r
+import { HttpClient } from '@angular/common/http';\r
+@Component({\r
+ selector: 'app-resource-template-options',\r
+ templateUrl: './resource-template-options.component.html',\r
+ styleUrls: ['./resource-template-options.component.scss']\r
+})\r
+export class ResourceTemplateOptionsComponent implements OnInit {\r
+ selectedOption: string;\r
+ @Output() option = new EventEmitter();\r
+\r
+ constructor() { }\r
+\r
+ ngOnInit() {\r
+ }\r
+\r
+ selected(value){\r
+ console.log(value);\r
+ this.option.emit(value);\r
+ }\r
+ // loadTemplateData() {\r
+ // // to do\r
+ // }\r
+}\r