* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file 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.
* ============LICENSE_END=========================================================
*/
-package org.openecomp.sdc.be.tosca;
+import * as _ from "lodash";
+import { Component, Inject, Input, Output, EventEmitter } from "@angular/core";
+import { TranslateService } from './../../../../../shared/translator/translate.service';
+import { PolicyInstance } from 'app/models/graph/zones/policy-instance';
-import java.util.List;
+@Component({
+ selector: 'policy-information-tab',
+ templateUrl: './policy-information-tab.component.html',
+ styleUrls: ['./../base/base-tab.component.less']
+})
+export class PolicyInformationTabComponent {
+
+ @Input() policy:PolicyInstance;
+ @Input() isViewOnly: boolean;
-import org.onap.sdc.generator.data.ArtifactType;
-
-
-public class ArtifactTypes {
- private List<ArtifactType> artifactTypes;
-
- public List<ArtifactType> getArtifactTypes() {
- return artifactTypes;
+ constructor(private translateService:TranslateService) {
}
- public void setArtifactTypes(List<ArtifactType> artifactTypes) {
- this.artifactTypes = artifactTypes;
- }
}