aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-PDP-REST/src/main/resources/log4j.properties
blob: 6e5cfac93af6231edbe322154ee613fa92fe751d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
###
# ============LICENSE_START=======================================================
# ONAP-PDP-REST
# ================================================================================
# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# 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.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
###

#
# Use this properties for Deployments.
#
#
# Set root logger level to DEBUG and its only appender to FILE.
#log4j.rootLogger=DEBUG, FILE, CONSOLE 
log4j.rootLogger=INFO, FILE 

# FILE appender
log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FILE.File=${catalina.base}/logs/pdp-rest.log
log4j.appender.FILE.ImmediateFlush=true
log4j.appender.FILE.Threshold=debug
log4j.appender.FILE.append=true
log4j.appender.FILE.DatePattern='.'yyyy-MM-dd
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss}{GMT+0}+00:00|%X{requestId}|%X{serviceInstanceId}|%t|%X{serverName}|%X{serviceName}|%X{instanceUuid}|%p|%X{severity}|%X{serverIpAddress}|%X{server}|%X{clientIpAddress}|%l||%m%n

# for Developments and Debugging
#log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
#log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n

#
# This is specifically for Xacml request/response logging
#
log4j.logger.xacml.request=INFO, REQUEST_LOG

log4j.appender.REQUEST_LOG=org.apache.log4j.DailyRollingFileAppender
log4j.appender.REQUEST_LOG.File=${catalina.base}/logs/pdp-rest-reqres.log
log4j.appender.REQUEST_LOG.ImmediateFlush=true
log4j.appender.REQUEST_LOG.Threshold=debug
log4j.appender.REQUEST_LOG.append=true
log4j.appender.REQUEST_LOG.DatePattern='.'yyyy-MM-dd

log4j.appender.REQUEST_LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.REQUEST_LOG.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} %m%n

#
# audit (transaction) logging
#
log4j.logger.auditLogger=INFO,AUDIT_LOG
log4j.additivity.auditLogger=false

log4j.appender.AUDIT_LOG=org.apache.log4j.DailyRollingFileAppender
log4j.appender.AUDIT_LOG.File=${catalina.base}/logs/audit.log
log4j.appender.AUDIT_LOG.Append=true
log4j.appender.AUDIT_LOG.DatePattern='.'yyyy-MM-dd
log4j.appender.AUDIT_LOG.threshold=INFO
log4j.appender.AUDIT_LOG.layout=org.apache.log4j.EnhancedPatternLayout
log4j.appender.AUDIT_LOG.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss}{GMT+0}+00:00|%X{requestId}|%X{serviceInstanceId}|%t|%X{serverName}|%X{serviceName}|%X{instanceUuid}|%p|%X{severity}|%X{serverIpAddress}|%X{server}|%X{clientIpAddress}|%X{className}|%X{timer}|%m%n
s="highlight">
<!DOCTYPE html>
<html>
<head>
	<head lang="en">
	<meta charset="UTF-8">
	<title></title>
	<link href="css/bootstrap.min.css" rel="stylesheet" />
	<link href="css/VMMain.css" rel="stylesheet" />
	<link href="css/bootstrap-table.min.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>	
    <script type="text/javascript" src="js/bootstrap.min.js"></script>	
	<script type="text/javascript" src="js/brs.js"></script>
	<script type="text/javascript" src="js/bootstrap-table.min.js"></script>
	<script type="text/javascript">
	$(document).ready(function() {
		var jsondata = [];
		jsondata = loadNeData();
		$('#ne').bootstrapTable({
		//Assigning data to table
		data: jsondata
		});
       
    });	
	function operateFormatter(value, row, index) {
        return [
            '<img class="siteDeleteImg" src="images/delete.png" href="javascript:void(0)" style="cursor: pointer" name="title" title="Delete" />'
        ].join('');
        
    }
	 window.operateEvents = {
         'click .siteDeleteImg': function (e, value, row, index) {
             // TO DO ajex call for delete
			 var result = deleteNe(row.id, row);
         }
     };
	 
	</script>
</head>
<body id="open_base_site_cotentBody" class="cotentBody ng-scope">
	<div class="container-fluid ms-controller">
		

			<div class="uploadBtn">
			<div id="open_base_tpL_userHeader" class="userHeader">
            <div id="open_base_tpL_buttonGroup" class="openoButton_buttonGroupClass">
                <div class="openo openo-widget-button openoButton_buttonClass_parent ng-isolate-scope openoButton_buttonClass defaultbutton openoButton_button_default" tabindex="0" id="false" text="res.brApp_ui_res_btn_create" icon-url="./images/add.png" cls="defaultbutton" click="clickAdd" style="display: inline-block; padding-left: 0px; padding-right: 0px;"><div class="openoButton_buttonInnerClass openo-corner-all openoButton_Image" id="false_button"><span class="openo-widget-button-image openoButton_buttonLeftImg" style="background-image: url(images/add.png);"></span><span class="openoButton_buttonCenterText openoButton_buttonCenterTextFont">Create</span><span class="openo-widget-button-image openoButton_buttonImgDefault"></span></div></div>
            </div>
        </div>
		</div>
		
		<div class="row-fluid" data-name="table_zone">
			<div id='ict_virtualApplication_table_div'>
                <div>
                    <div class="top">
                        <table id="ne" data-row-style="rowStyle" data-pagination="true" data-page-size="5" data-pagination-first-text="First" data-pagination-pre-text="Previous" data-pagination-next-text="Next" data-pagination-last-text="Last">
                            <thead class="openo-table-thead">
								<tr class="active">
									<th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" data-field="name" data-sortable="true">
										<div class="openo-table-th-border"></div>
										<div class="DataTables_sort_wrapper openo-ellipsis ">
											<span class="openo-table-th-sorticon overflow_elip openoTable_sortable leftHeaderAlign  openo-table-disable-element ">Name
                                            </span>
					                    </div>
					                </th>
					                <th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" data-field="version" data-sortable="true">
						                <div class="openo-table-th-border"></div>
						                <div class="DataTables_sort_wrapper openo-ellipsis ">
							                <span id="ne_isVersion_sorticon" class="openo-table-th-sorticon overflow_elip  leftHeaderAlign  openo-table-disable-element ">Version
                                            </span>
										</div>
								    </th>
								    <th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" data-field="productName" data-sortable="true">
						                <div class="openo-table-th-border"></div>
						                <div class="DataTables_sort_wrapper openo-ellipsis ">
							                <span id="neproductName_sorticon" class="openo-table-th-sorticon overflow_elip  leftHeaderAlign  openo-table-disable-element ">Product Name
                                            </span>
										</div>
								    </th>
									<th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" data-field="ipAddress" data-sortable="true">
						                <div class="openo-table-th-border"></div>
						                <div class="DataTables_sort_wrapper openo-ellipsis ">
							                <span id="ne_ipAddress_sorticon" class="openo-table-th-sorticon overflow_elip  leftHeaderAlign  openo-table-disable-element ">IP Address
                                            </span>
										</div>
								    </th>									
									<th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" data-field="neRole" data-sortable="true">
						                <div class="openo-table-th-border"></div>
						                <div class="DataTables_sort_wrapper openo-ellipsis ">
							                <span id="ne_neRole_sorticon" class="openo-table-th-sorticon overflow_elip  leftHeaderAlign  openo-table-disable-element0" >NE Role
                                            </span>
										</div>
								    </th>
									<th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" data-field="adminState" >
						                <div class="openo-table-th-border"></div>
						                <div class="DataTables_sort_wrapper openo-ellipsis ">
							                <span id="ne_adminState_sorticon" class="openo-table-th-sorticon overflow_elip  leftHeaderAlign  openo-table-disable-element ">Admin State
                                            </span>
										</div>
								    </th>
									<th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" data-field="operState" data-sortable="true">
						                <div class="openo-table-th-border"></div>
						                <div class="DataTables_sort_wrapper openo-ellipsis ">
							                <span id="ne_operState_sorticon" class="openo-table-th-sorticon overflow_elip  leftHeaderAlign  openo-table-disable-element ">Operating State
                                            </span>
										</div>
								    </th>
									<th class="openo-table-state-default openo-table-th openo-table-disable-element  leftHeaderAlign" align="center" data-formatter = "operateFormatter" data-events="operateEvents" >
						                <div class="openo-table-th-border"></div>
						                <div class="DataTables_sort_wrapper openo-ellipsis ">
							                <span id="ne_nativeID_sorticon" class="openo-table-th-sorticon overflow_elip  leftHeaderAlign  openo-table-disable-element ">Actions
                                            </span>
										</div>
								    </th>
					            </tr></thead>
							<!-- <tbody>
								<tr style="display: none;">
									<td colspan="7" style="text-align: center;">NULL</td>
								</tr>
								<tr class="odd  openo-table-tr openo-table-disable-element" data-rowid="0" data-tableid="siteTable">
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor    " data-colid="siteName" data-tableid="siteTable">
										<div class="openo-table-disable-element overflow_elip leftDataAlign">
											<a class="openo-table-disable-element hyperLinkRow" href="javascript:void(0)" id="siteTable_0_siteName_link">NE</a></div>
									</td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">1.1</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">SDN</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">192.168.100.102</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">Role</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">Admin</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">UP</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteOperation" data-tableid="siteTable">
                                        <div class="openo-table-disable-element overflow_elip leftDataAlign openo-table-custom-el" id="siteTable_0_siteOperation_custom_el">
										    <div>
										    <img src="images/delete.png" href="javascript:void(0)" onclick="deleteNe('this');" opertype="siteDelete" style="cursor: pointer" title="Delete" id="bac4ff3c-d693-4f54-86cd-25af1ea22f59" rowid="0/">
										    </div>
										</div>
									</td>
								</tr>
								<tr class="even  openo-table-tr openo-table-disable-element" data-rowid="0" data-tableid="siteTable">
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor    " data-colid="siteName" data-tableid="siteTable">
										<div class="openo-table-disable-element overflow_elip leftDataAlign">
											<a class="openo-table-disable-element hyperLinkRow" href="javascript:void(0)" id="siteTable_0_siteName_link">NE</a></div>
									</td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">1.1</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">SDN</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">192.168.100.102</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">Role</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">Admin</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteType" data-tableid="siteTable">
									    <div class="overflow_elip leftDataAlign openo-table-custom-el openo-table-disable-element" id="siteTable_0_siteType_custom_el">UP</div>
                                    </td>
									<td class="openo-table-disable-element openo-table-td overflow_elip leftDataAlign tableHeaderTDTopBorderColor" data-colid="siteOperation" data-tableid="siteTable">
                                        <div class="openo-table-disable-element overflow_elip leftDataAlign openo-table-custom-el" id="siteTable_0_siteOperation_custom_el">
										    <div>
										    <img src="images/delete.png" href="javascript:void(0)" onclick="deleteNe('this');" opertype="siteDelete" style="cursor: pointer" title="Delete" id="bac4ff3c-d693-4f54-86cd-25af1ea22f59" rowid="0/">
										    </div>
										</div>
									</td>
								</tr>
							</tbody> -->
                        </table>
                    </div>
                </div>
            </div>
		</div>
		<!-- <div id="tpListopenotable_pagination_wrapper" class="openo-table-pagination-wrapper" style="display: block;"><div class="pagination-container openo-pagination-theme openo-pagination"><div class="openoPagination_openoPaginationLengthOptions" id="tpListopenotable_wrapper_div"><input readonly="true" class="openo-pagination-select openopaginationselect" value="" id="tpListopenotable_wrapper_input" actualval="20" style="width: 32px;"><span class="openo-pagination-selectspan openopaginationselectspan" id="tpListopenotable_wrapper_trigger"></span></div><label style="display: block;float:left;">Total records: 23</label><li class="active"><span class="current prev openo-disabled" id="tpListopenotable_wrapper_prev">&nbsp;</span></li><ul><li class="active"><span class="current" id="tpListopenotable_wrapper_page_link_1">1</span></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_2">2</a></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_3">3</a></li><li><a class="page-link next" id="tpListopenotable_wrapper_next">&nbsp;</a></li></ul></div></div> -->

		<div id="vmAppDialog" class="modal fade" tabindex="-1" role="dialog"
				aria-labelledby="myModalLabel" aria-hidden="false">
				<div class="modal-dialog">
					<div class="modal-content">						
						<div class="content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" 
					               aria-hidden="true">×
					            </button>
								<h4 class="modal-title" id="myModalLabel">
					               <span>Create</span>
					            </h4>
							</div>
							<form class="form-horizontal" role="form" id="neForm">
							<div id="wizard">
							<div class="modal-body">							
								<ul class="nav nav-pills nav-justified vmapp-margin">
									
								</ul>
								<div class="tab-content">
									<div class="tab-pane active" id="basicTab">
										<div class="form-group" ms-class="has-error:vmAppDialog.name==''">
											<label class="col-sm-3 control-label">
												<span>Name</span>
												<span class="required">*</span>
											</label>
											<div class="col-sm-7">
												<input type="text" id="name" name="name" class="form-control" placeholder="Name"/> 
											</div>
										</div>
										<div class="form-group" ms-class="has-error:vmAppDialog.name==''">
											<label class="col-sm-3 control-label">
												<span>Version</span>
												<span class="required">*</span>
											</label>
											<div class="col-sm-7">
												<input type="text" id="version" name="version" class="form-control" placeholder="1.1"/> 
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-3 control-label">
												<span>Product Name</span>&nbsp;&nbsp;&nbsp;
											</label>
										 	<div class="col-sm-7">
												<input type="text" id="productName" name="productName" class="form-control" placeholder="Product Name"/>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-3 control-label">
												<span>IP Address</span>&nbsp;&nbsp;&nbsp;
											</label>
										 	<div class="col-sm-7">
												<input type="text" id="ipAddress" name="ipAddress" class="form-control" placeholder="255.255.255.255"/>
											</div>
										</div>
										<!-- TODO : check for valid neRole									
										<div class="form-group">
											<label class="col-sm-3 control-label">
												<span>NE Role</span>&nbsp;&nbsp;&nbsp;
											</label>
										 	<div class="col-sm-7">
												<input type="text" id="neRole" name="neRole" class="form-control" placeholder="Role"/>
											</div>
										</div>
										-->
									</div>									
								</div>
							</div>
							<div class="modal-footer">							
								<button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true" id="createNe">
									<span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
								</button>							
								<button type="button" class="btn button-previous SDBtn">
									<span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
								</button>
								
							</div>
						</div>				
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="filterTpLogicalType_select_popupcontainer" class="openo openo-select-popup-container openo-hide" style="width: 155px; max-height: 130px; left: 628px; top: 104px; z-index: 1761;"><div class="openo-select-item openo-ellipsis  " id="filterTpLogicalType_openo-select-id_0"><label class="openo-ellipsis openo-select-blank-item" style="width: 100%; display: block; height: 20px;"></label></div><div class="openo-select-item openo-ellipsis  " id="filterTpLogicalType_openo-select-id_1"><label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">ETH</label></div><div class="openo-select-item openo-ellipsis  " id="filterTpLogicalType_openo-select-id_2"><label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;" title="POS">POS</label></div><div class="openo-select-item openo-ellipsis  " id="filterTpLogicalType_openo-select-id_3"><label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Trunk</label></div><div class="openo-select-item openo-ellipsis  " id="filterTpLogicalType_openo-select-id_4"><label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Loopback</label></div></div>


</body>
</html>