OSAM infra seed code - merge with osam-core side-by-side - fixed warnings in onap-enabler POMs

Change-Id: I0cd9ea39d4b7c1dc088ab0ecd6fb787c7f490e5e
Signed-off-by: Aharoni, Pavel (pa0916) <pavel.aharoni@intl.att.com>
diff --git a/onap-enabler-infra/src/main/resources/cache_template.ccf b/onap-enabler-infra/src/main/resources/cache_template.ccf
new file mode 100644
index 0000000..19c36bb
--- /dev/null
+++ b/onap-enabler-infra/src/main/resources/cache_template.ccf
@@ -0,0 +1,52 @@
+#<!--/*-

+#        * ============LICENSE_START=======================================================

+#        * OSAM Core

+#        * ================================================================================

+#        * Copyright (C) 2018 AT&T

+#        * ================================================================================

+#        * 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=========================================================

+#        */

+#-->

+

+

+# DEFAULT CACHE REGION

+jcs.default=DC

+jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes

+jcs.default.cacheattributes.MaxObjects=1000

+jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

+jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes

+jcs.default.elementattributes.IsEternal=true

+jcs.default.elementattributes.IsSpool=true

+

+

+# MEMORY SHRINKING CONFIGURATION (Commented)

+#jcs.default.cacheattributes.UseMemoryShrinker=true

+#jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600

+#jcs.default.cacheattributes.ShrinkerIntervalSeconds=60

+#jcs.default.cacheattributes.MaxSpoolPerRun=500

+#jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes

+#jcs.default.elementattributes.IsEternal=false

+

+

+# AUXILLARY CACHE CONFIGURATION

+jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory

+jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes

+jcs.auxiliary.DC.attributes.DiskPath=${CACHE_DIRECTORY}

+

+

+# PRE-DEFINED REGION FOR LOOKUP DATA

+jcs.region.lookUpObjectCache=DC

+jcs.region.lookUpObjectCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes

+jcs.region.lookUpObjectCache.cacheattributes.MaxObjects=4000

+jcs.region.lookUpObjectCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache