[AAF-21] Initial code import
[aaf/authz.git] / authz-service / src / main / config / lrm-authz-service.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
2 <!--\r
3   ============LICENSE_START====================================================\r
4   * org.onap.aai\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * Copyright © 2017 Amdocs\r
8   * ===========================================================================\r
9   * Licensed under the Apache License, Version 2.0 (the "License");\r
10   * you may not use this file except in compliance with the License.\r
11   * You may obtain a copy of the License at\r
12   * \r
13    *      http://www.apache.org/licenses/LICENSE-2.0\r
14   * \r
15    * Unless required by applicable law or agreed to in writing, software\r
16   * distributed under the License is distributed on an "AS IS" BASIS,\r
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
18   * See the License for the specific language governing permissions and\r
19   * limitations under the License.\r
20   * ============LICENSE_END====================================================\r
21   *\r
22   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
23   *\r
24 -->\r
25 <ns2:ManagedResourceList xmlns:ns2="http://scld.att.com/lrm/util" xmlns="http://scld.att.com/lrm/commontypes" xmlns:ns3="http://scld.att.com/lrm/types">\r
26     <ns2:ManagedResource>\r
27         <ResourceDescriptor>\r
28             <ResourceName>com.att.authz._ARTIFACT_ID_</ResourceName>\r
29             <ResourceVersion>\r
30                 <Major>_MAJOR_VER_</Major>\r
31                 <Minor>_MINOR_VER_</Minor>\r
32                 <Patch>_PATCH_VER_</Patch>                \r
33             </ResourceVersion>\r
34             <RouteOffer>_ROUTE_OFFER_</RouteOffer>\r
35         </ResourceDescriptor>\r
36         <ResourceType>Java</ResourceType>\r
37         <ResourcePath>com.att.authz.service.AuthzAPI</ResourcePath>\r
38         <ResourceProps>\r
39             <Tag>process.workdir</Tag>\r
40             <Value>_ROOT_DIR_</Value>\r
41         </ResourceProps>               \r
42         <ResourceProps>\r
43             <Tag>jvm.version</Tag>\r
44             <Value>1.8</Value>\r
45         </ResourceProps>\r
46         <ResourceProps>\r
47             <Tag>jvm.args</Tag>\r
48             <Value>-DAFT_LATITUDE=_AFT_LATITUDE_ -DAFT_LONGITUDE=_AFT_LONGITUDE_ -DAFT_ENVIRONMENT=_AFT_ENVIRONMENT_ -Dplatform=_SCLD_PLATFORM_ -Dcom.sun.jndi.ldap.connect.pool.maxsize=20  -Dcom.sun.jndi.ldap.connect.pool.prefsize=10 -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 </Value>\r
49         </ResourceProps>\r
50         <ResourceProps>\r
51             <Tag>jvm.classpath</Tag>\r
52             <Value>_ROOT_DIR_/etc:_ROOT_DIR_/lib/*:</Value>\r
53         </ResourceProps>\r
54         <ResourceProps>\r
55             <Tag>jvm.heap.min</Tag>\r
56             <Value>1024m</Value>\r
57         </ResourceProps>\r
58         <ResourceProps>\r
59             <Tag>jvm.heap.max</Tag>\r
60             <Value>2048m</Value>\r
61         </ResourceProps>\r
62         <ResourceProps>\r
63             <Tag>start.class</Tag>\r
64             <Value>com.att.authz.service.AuthAPI</Value>\r
65         </ResourceProps>\r
66         <ResourceProps>\r
67             <Tag>stdout.redirect</Tag>\r
68             <Value>_ROOT_DIR_/logs/SystemOut.log</Value>\r
69         </ResourceProps>\r
70         <ResourceProps>\r
71             <Tag>stderr.redirect</Tag>\r
72             <Value>_ROOT_DIR_/logs/SystemErr.log</Value>\r
73         </ResourceProps>\r
74         <ResourceOSID>aft</ResourceOSID>\r
75         <ResourceStartType>AUTO</ResourceStartType>\r
76         <ResourceStartPriority>2</ResourceStartPriority>\r
77                 <ResourceMinCount>_RESOURCE_MIN_COUNT_</ResourceMinCount>\r
78                 <ResourceMaxCount>_RESOURCE_MAX_COUNT_</ResourceMaxCount>        \r
79                 <ResourceRegistration>_RESOURCE_REGISTRATION_</ResourceRegistration>\r
80         <ResourceSWMComponent>com.att.authz:_ARTIFACT_ID_</ResourceSWMComponent>\r
81         <ResourceSWMComponentVersion>_ARTIFACT_VERSION_</ResourceSWMComponentVersion>\r
82     </ns2:ManagedResource>\r
83 </ns2:ManagedResourceList>\r