Upgrade to latest oparent
[aaf/authz.git] / authz-test / 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.aaf\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * ===========================================================================\r
8   * Licensed under the Apache License, Version 2.0 (the "License");\r
9   * you may not use this file except in compliance with the License.\r
10   * You may obtain a copy of the License at\r
11   * \r
12    *      http://www.apache.org/licenses/LICENSE-2.0\r
13   * \r
14    * Unless required by applicable law or agreed to in writing, software\r
15   * distributed under the License is distributed on an "AS IS" BASIS,\r
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17   * See the License for the specific language governing permissions and\r
18   * limitations under the License.\r
19   * ============LICENSE_END====================================================\r
20   *\r
21   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
22   *\r
23 -->\r
24 <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
25     <ns2:ManagedResource>\r
26         <ResourceDescriptor>\r
27             <ResourceName>com.att.authz._ARTIFACT_ID_</ResourceName>\r
28             <ResourceVersion>\r
29                 <Major>_MAJOR_VER_</Major>\r
30                 <Minor>_MINOR_VER_</Minor>\r
31                 <Patch>_PATCH_VER_</Patch>                \r
32             </ResourceVersion>\r
33             <RouteOffer>_ROUTE_OFFER_</RouteOffer>\r
34         </ResourceDescriptor>\r
35         <ResourceType>Java</ResourceType>\r
36         <ResourcePath>com.att.authz.service.AuthzAPI</ResourcePath>\r
37         <ResourceProps>\r
38             <Tag>process.workdir</Tag>\r
39             <Value>_ROOT_DIR_</Value>\r
40         </ResourceProps>               \r
41         <ResourceProps>\r
42             <Tag>jvm.version</Tag>\r
43             <Value>1.6</Value>\r
44         </ResourceProps>\r
45         <ResourceProps>\r
46             <Tag>jvm.args</Tag>\r
47             <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
48         </ResourceProps>\r
49         <ResourceProps>\r
50             <Tag>jvm.classpath</Tag>\r
51             <Value>_ROOT_DIR_/etc:_ROOT_DIR_/lib/*:</Value>\r
52         </ResourceProps>\r
53         <ResourceProps>\r
54             <Tag>jvm.heap.min</Tag>\r
55             <Value>512m</Value>\r
56         </ResourceProps>\r
57         <ResourceProps>\r
58             <Tag>jvm.heap.max</Tag>\r
59             <Value>1024m</Value>\r
60         </ResourceProps>\r
61         <ResourceProps>\r
62             <Tag>start.class</Tag>\r
63             <Value>com.att.authz.service.AuthAPI</Value>\r
64         </ResourceProps>\r
65         <ResourceProps>\r
66             <Tag>stdout.redirect</Tag>\r
67             <Value>_ROOT_DIR_/logs/SystemOut.log</Value>\r
68         </ResourceProps>\r
69         <ResourceProps>\r
70             <Tag>stderr.redirect</Tag>\r
71             <Value>_ROOT_DIR_/logs/SystemErr.log</Value>\r
72         </ResourceProps>\r
73         <ResourceOSID>aft</ResourceOSID>\r
74         <ResourceStartType>AUTO</ResourceStartType>\r
75         <ResourceStartPriority>2</ResourceStartPriority>\r
76                 <ResourceMinCount>_RESOURCE_MIN_COUNT_</ResourceMinCount>\r
77                 <ResourceMaxCount>_RESOURCE_MAX_COUNT_</ResourceMaxCount>        \r
78         <ResourceSWMComponent>com.att.authz:_ARTIFACT_ID_</ResourceSWMComponent>\r
79         <ResourceSWMComponentVersion>_ARTIFACT_VERSION_</ResourceSWMComponentVersion>\r
80     </ns2:ManagedResource>\r
81 </ns2:ManagedResourceList>\r