Update project structure to org.onap.aaf
[aaf/authz.git] / authz-gw / src / main / config / lrm-authz-gw.xml
diff --git a/authz-gw/src/main/config/lrm-authz-gw.xml b/authz-gw/src/main/config/lrm-authz-gw.xml
new file mode 100644 (file)
index 0000000..f48470d
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
+<!--\r
+  ============LICENSE_START====================================================\r
+  * org.onap.aaf\r
+  * ===========================================================================\r
+  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
+  * ===========================================================================\r
+  * Licensed under the Apache License, Version 2.0 (the "License");\r
+  * you may not use this file except in compliance with the License.\r
+  * You may obtain a copy of the License at\r
+  * \r
+   *      http://www.apache.org/licenses/LICENSE-2.0\r
+  * \r
+   * Unless required by applicable law or agreed to in writing, software\r
+  * distributed under the License is distributed on an "AS IS" BASIS,\r
+  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  * See the License for the specific language governing permissions and\r
+  * limitations under the License.\r
+  * ============LICENSE_END====================================================\r
+  *\r
+  * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
+  *\r
+-->\r
+<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
+    <ns2:ManagedResource>\r
+        <ResourceDescriptor>\r
+            <ResourceName>com.att.authz._ARTIFACT_ID_</ResourceName>\r
+            <ResourceVersion>\r
+                <Major>_MAJOR_VER_</Major>\r
+                <Minor>_MINOR_VER_</Minor>\r
+                <Patch>_PATCH_VER_</Patch>                \r
+            </ResourceVersion>\r
+            <RouteOffer>_ROUTE_OFFER_</RouteOffer>\r
+        </ResourceDescriptor>\r
+        <ResourceType>Java</ResourceType>\r
+        <ResourcePath>com.att.authz.gw.GwAPI</ResourcePath>\r
+        <ResourceProps>\r
+            <Tag>process.workdir</Tag>\r
+            <Value>_ROOT_DIR_</Value>\r
+        </ResourceProps>              \r
+        <ResourceProps>\r
+            <Tag>jvm.version</Tag>\r
+            <Value>1.8</Value>\r
+        </ResourceProps>\r
+        <ResourceProps>\r
+            <Tag>jvm.args</Tag>\r
+            <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
+        </ResourceProps>\r
+        <ResourceProps>\r
+            <Tag>jvm.classpath</Tag>\r
+            <Value>_ROOT_DIR_/etc:_ROOT_DIR_/lib/*:</Value>\r
+        </ResourceProps>\r
+        <ResourceProps>\r
+            <Tag>jvm.heap.min</Tag>\r
+            <Value>512m</Value>\r
+        </ResourceProps>\r
+        <ResourceProps>\r
+            <Tag>jvm.heap.max</Tag>\r
+            <Value>2048m</Value>\r
+        </ResourceProps>\r
+        <ResourceProps>\r
+            <Tag>start.class</Tag>\r
+            <Value>com.att.authz.gw.GwAPI</Value>\r
+        </ResourceProps>\r
+        <ResourceProps>\r
+            <Tag>stdout.redirect</Tag>\r
+            <Value>_ROOT_DIR_/logs/SystemOut.log</Value>\r
+        </ResourceProps>\r
+        <ResourceProps>\r
+            <Tag>stderr.redirect</Tag>\r
+            <Value>_ROOT_DIR_/logs/SystemErr.log</Value>\r
+        </ResourceProps>\r
+        <ResourceOSID>aft</ResourceOSID>\r
+        <ResourceStartType>AUTO</ResourceStartType>\r
+        <ResourceStartPriority>4</ResourceStartPriority>\r
+               <ResourceMinCount>_RESOURCE_MIN_COUNT_</ResourceMinCount>\r
+               <ResourceMaxCount>_RESOURCE_MAX_COUNT_</ResourceMaxCount>        \r
+               <ResourceRegistration>_RESOURCE_REGISTRATION_</ResourceRegistration>\r
+        <ResourceSWMComponent>com.att.authz:_ARTIFACT_ID_</ResourceSWMComponent>\r
+        <ResourceSWMComponentVersion>_ARTIFACT_VERSION_</ResourceSWMComponentVersion>\r
+    </ns2:ManagedResource>\r
+</ns2:ManagedResourceList>\r