Fixed Portal-FE-os build issues 31/101231/2
authorSudarshan Kumar <sudarshan.kumar@att.com>
Thu, 6 Feb 2020 10:18:09 +0000 (15:48 +0530)
committerSudarshan Kumar <sudarshan.kumar@att.com>
Thu, 6 Feb 2020 16:02:18 +0000 (16:02 +0000)
Fixed Portal-FE-os build issues

Issue-ID: PORTAL-795
Change-Id: I7eb5998ab6d4185338955b02fe478c0bbc2f419e
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
portal-FE-common/src/app/pages/get-access/get-access.component.ts
portal-FE-common/src/styles/_fonts.scss
portal-FE-os/src/environments/environment.prod.ts
portal-FE-os/src/environments/environment.ts

index a745489..5edd17b 100644 (file)
@@ -31,7 +31,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
- * ============LICENSE_END============================================
+ * ============LICENSE_END===========================================
  *
  * 
  */
@@ -47,16 +47,16 @@ import { environment } from '../../../environments/environment';
   styleUrls: ['./get-access.component.scss']
 })
 export class GetAccessComponent implements OnInit {
-
+  api = environment.api;
   isLoadingTable: boolean;
   appTable: any[];
   displayedColumns: string[] = ['function', 'applicationName', 'roleName', 'currentRole', 'requestStatus'];
   getAccessDataSource = new MatTableDataSource(this.appTable);
   @ViewChild(MatPaginator) paginator: MatPaginator;
   showSpinner: boolean;
-  getAccessUrl = environment.getAccessUrl;
-  getAccessName = environment.getAccessName;
-  getAccessInfo = environment.getAccessInfo;
+  getAccessUrl = this.api.getAccessUrl;
+  getAccessName = this.api.getAccessName;
+  getAccessInfo = this.api.getAccessInfo;
 
   constructor(private getAccessService: GetAccessService) { }
 
index 7711831..5e6626e 100644 (file)
  *
  * 
  */
-@font-face {
-  font-family: Omnes-ECOMP-W02, Arial;
-  src: local("Omnes-ECOMP-W02"), url(../assets/fonts/omnesatt2-regular-webfont.ttf) format("truetype"),
-    url(../assets/fonts/omnesatt2-regular-webfont.woff) format("woff"),
-    url(../assets/fonts/omnesatt2-regular-webfont.eot) format("eot");
-}
-
-@font-face {
-  font-family: Omnes-ECOMP-W02-Medium, Arial;
-  src: url(../assets/fonts/omnesatt2-medium-webfont.ttf) format("truetype");
-}
-
-@font-face {
-  font-family: Omnes-ECOMP-W02-Light, Arial;
-  src: url(../assets/fonts/omnesatt2-light-webfont.ttf) format("truetype");
-}
-@font-face {
-  font-family: Omnes-ECOMP-W02-Italic, Arial;
-  src: url(../assets/fonts/omnesatt2-lightitalic-webfont.ttf) format("truetype");
-}
-@font-face {
-  font-family: Omnes-ECOMP-W02-Bold, Arial;
-  src: url(../assets/fonts/omnesatt2-bold-webfont.ttf) format("truetype");
-}
index e8dbe0f..89c9743 100644 (file)
@@ -125,7 +125,10 @@ export const environment = {
     "footerLogoImagePath": "",
     "footerLogoText": "",
     "intraSearcLink": "",
-    "extraSpecSearcLink": "https://wiki.onap.org/dosearchsite.action?cql=siteSearch+~+searchStringPlaceHolder&queryString=searchStringPlaceHolder"
+    "extraSearcLink": "https://wiki.onap.org/dosearchsite.action?cql=siteSearch+~+searchStringPlaceHolder&queryString=searchStringPlaceHolder",
+    "getAccessUrl": "",
+    "getAccessName":"",
+    "getAccessInfo":""
 },
 "cookieDomain": "att.com"
 };
index 470b0c2..1f57ef7 100644 (file)
@@ -129,7 +129,10 @@ export const environment = {
     "footerLogoImagePath": "",
     "footerLogoText": "",
     "intraSearcLink": "",
-    "extraSpecSearcLink": "https://wiki.onap.org/dosearchsite.action?cql=siteSearch+~+searchStringPlaceHolder&queryString=searchStringPlaceHolder"
+    "extraSearcLink": "https://wiki.onap.org/dosearchsite.action?cql=siteSearch+~+searchStringPlaceHolder&queryString=searchStringPlaceHolder",
+    "getAccessUrl": "",
+    "getAccessName":"",
+    "getAccessInfo":""
   },
   "cookieDomain": "att.com"
 };