diff options
author | AviZi <avi.ziv@amdocs.com> | 2017-06-09 02:39:56 +0300 |
---|---|---|
committer | AviZi <avi.ziv@amdocs.com> | 2017-06-09 02:39:56 +0300 |
commit | 280f8015d06af1f41a3ef12e8300801c7a5e0d54 (patch) | |
tree | 9c1d3978c04cd28068f02073038c936bb49ca9e0 /common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources | |
parent | fd3821dad11780d33c5373d74c957c442489945e (diff) |
[SDC-29] Amdocs OnBoard 1707 initial commit.
Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370
Signed-off-by: AviZi <avi.ziv@amdocs.com>
Diffstat (limited to 'common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources')
3 files changed, 30 insertions, 0 deletions
diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/META-INF/services/org.openecomp.config.api.ConfigurationManager b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/META-INF/services/org.openecomp.config.api.ConfigurationManager new file mode 100644 index 0000000000..2a6c217345 --- /dev/null +++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/META-INF/services/org.openecomp.config.api.ConfigurationManager @@ -0,0 +1 @@ +org.openecomp.config.impl.CliConfigurationImpl
\ No newline at end of file diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/config-system.properties b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/config-system.properties new file mode 100644 index 0000000000..934f0fcf37 --- /dev/null +++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/config-system.properties @@ -0,0 +1,22 @@ +driverClassName=com.github.adejanovski.cassandra.jdbc.CassandraDriver +jdbcURL=jdbc:${dbname}://${dbhost}:${dbport}/${configdb} +dbuser= +dbpassword= +config.Table=configuration +config.monitor.Table=configuration_change +configKey=key +configValue=value +configNameColumn=name +configdb=dox +dbhost=127.0.0.1 +dbport=9042 +dbname=cassandra +createtablecql=create table if not exists ${configdb}.${config.Table} (name text\, key text\, value text\, PRIMARY KEY (name\, key)) with clustering order by (key asc) +createmonitoringtablecql=create table if not exists ${configdb}.${config.monitor.Table} (name text\, changed_when bigint\, key text\, old_value text\, new_value text\, PRIMARY KEY (name\, changed_when)) with clustering order by (changed_when desc) +insertconfigurationchangecql=insert into ${configdb}.${config.monitor.Table} (name\, changed_when\, key\, old_value\, new_value) values(?\, ?\, ?\, ?\, ?) +fetchkeysql=select ${configKey} from ${config.Table} where ${configNameColumn}=? +fetchlastchangecql=select changed_when from ${configdb}.${config.monitor.Table} where name=? limit 1 +fetchnamescql=select distinct name from ${configdb}.${config.Table} +config.size.max=100 +config.refresh.interval=30000 +event.fetch.delay=5000
\ No newline at end of file diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/management.properties b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/management.properties new file mode 100644 index 0000000000..9874394726 --- /dev/null +++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/resources/management.properties @@ -0,0 +1,7 @@ +com.sun.management.jmxremote=true +#com.sun.management.jmxremote.port=9999 +#com.sun.management.jmxremote.local.only=false +#com.sun.management.jmxremote.authenticate=false +#com.sun.management.jmxremote.password.file=resources/jmxremote.password +#com.sun.management.jmxremote.access.file=resources/jmxremote.access +#com.sun.management.jmxremote.ssl=false
\ No newline at end of file |