aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorshrikantawachar <shrikant.awachar@amdocs.com>2019-05-20 12:11:54 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2019-06-12 08:05:21 +0000
commit2623c8402a57e2035db69a9d92d2851050916801 (patch)
treef7311f32a5566702921a2e650b476f1ff6bf0de1 /docs
parent799bc7e3c75de762dea7448c6f8f5d6e5f3f9671 (diff)
Upgrade SDC from Titan to Janus Graph
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration.rst58
-rw-r--r--docs/release-notes.rst1
-rw-r--r--docs/sdcsdks.rst14
3 files changed, 29 insertions, 44 deletions
diff --git a/docs/configuration.rst b/docs/configuration.rst
index d9aaea11a5..10bab0d2a1 100644
--- a/docs/configuration.rst
+++ b/docs/configuration.rst
@@ -125,7 +125,7 @@ environment.json
"commitlog_dir": "/var/lib/cassandra/commitlog",
"socket_read_timeout": "20000",
"socket_connect_timeout": "20000",
- "titan_connection_timeout": "10000"
+ "janusgraph_connection_timeout": "10000"
}
}
}
@@ -180,20 +180,20 @@ BE-configuration.yaml
# Catalog minimum tosca conformance version
minToscaConformanceLevel: 3.0
- # Titan configuration file location
- titanCfgFile: /var/lib/jetty/config/catalog-be/titan.properties
+ # JanusGraph configuration file location
+ janusGraphCfgFile: /var/lib/jetty/config/catalog-be/janusgraph.properties
- # Does titan hold the persistence data in memory
- titanInMemoryGraph: false
+ # Does JanusGraph hold the persistence data in memory
+ janusGraphInMemoryGraph: false
- # The timeout for titan to lock on an object in a transaction
- titanLockTimeout: 1800
+ # The timeout for JanusGraph to lock on an object in a transaction
+ janusGraphLockTimeout: 1800
- # The interval to try and reconnect to titan DB when it is down during SDC startup
- titanReconnectIntervalInSeconds: 3
+ # The interval to try and reconnect to JanusGraph DB when it is down during SDC startup
+ janusGraphReconnectIntervalInSeconds: 3
- # The read timeout towards Titan DB when health check is invoked
- titanHealthCheckReadTimeout: 1
+ # The read timeout towards JanusGraph DB when health check is invoked
+ janusGraphHealthCheckReadTimeout: 1
# The interval to try and reconnect to Elasticsearch when it is down during SDC startup
esReconnectIntervalInSeconds: 3
@@ -1118,42 +1118,42 @@ BE-distribution-engine-configuration.yaml
currentArtifactInstallationTimeout: 120
-BE-titan.properties
+BE-janusgraph.properties
*******************
::
- # Titan storage backend
+ # JanusGraph storage backend
storage.backend=cassandra
- # Titan storage hostname
+ # JanusGraph storage hostname
storage.hostname=<%= @CASSANDRA_IP %>
- # Titan storage port
+ # JanusGraph storage port
storage.port=9160
- # Titan storage username
+ # JanusGraph storage username
storage.username=<%= @CASSANDRA_USR %>
- # Titan storage password
+ # JanusGraph storage password
storage.password=<%= @CASSANDRA_PWD %>
- # Titan storage connection timeout
+ # JanusGraph storage connection timeout
storage.connection-timeout=10000
- # Titan cassandra keyspace name
+ # JanusGraph cassandra keyspace name
storage.cassandra.keyspace=sdctitan
- # Is Titan cassandra ssl is enabled
+ # Is JanusGraph cassandra ssl is enabled
storage.cassandra.ssl.enabled=false
- # Titan cassandra ssl truststore file location
+ # JanusGraph cassandra ssl truststore file location
storage.cassandra.ssl.truststore.location=/var/lib/jetty/config/.truststore
- # Titan cassandra ssl truststore file password
+ # JanusGraph cassandra ssl truststore file password
storage.cassandra.ssl.truststore.password=Aa123456
- # Should titan use cache
+ # Should JanusGraph use cache
cache.db-cache = false
# How long in milliseconds should the cache keep entries before flushing them
@@ -1162,22 +1162,22 @@ BE-titan.properties
# Default expiration time in milliseconds for entries in the cache
cache.db-cache-time = 180000
- # Size of titan database cache
+ # Size of JanusGraph database cache
cache.db-cache-size = 0.5
- # Titan cassandra read consistency level
+ # JanusGraph cassandra read consistency level
storage.cassandra.read-consistency-level=LOCAL_QUORUM
- # Titan cassandra write consistency level
+ # JanusGraph cassandra write consistency level
storage.cassandra.write-consistency-level=LOCAL_QUORUM
- # Titan cassandra replication strategy class name
+ # JanusGraph cassandra replication strategy class name
storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.NetworkTopologyStrategy
- # Titan cassandra replication startegy options
+ # JanusGraph cassandra replication startegy options
storage.cassandra.replication-strategy-options=<%= @DC_NAME %>,<%= @rep_factor %>
- # Titan cassandra local data center name
+ # JanusGraph cassandra local data center name
storage.cassandra.astyanax.local-datacenter=<%= @DC_NAME %>
# Number of times the system attempts to acquire a lock before giving up and throwing an exception
diff --git a/docs/release-notes.rst b/docs/release-notes.rst
index 38e7d73de0..38eea464fa 100644
--- a/docs/release-notes.rst
+++ b/docs/release-notes.rst
@@ -399,7 +399,6 @@ Workflow information is available in readthedocs
- [`SDC-951 <https://jira.onap.org/browse/SDC-951>`__\ ] - update SDC-TOSCA packages
- [`SDC-952 <https://jira.onap.org/browse/SDC-952>`__\ ] - update SDC-DISTRIBUTION-CLIENT packages
- [`SDC-953 <https://jira.onap.org/browse/SDC-953>`__\ ] - update SDC-DOCKER-BASE packages
-- [`SDC-954 <https://jira.onap.org/browse/SDC-954>`__\ ] - update SDC-TITAN-CASSANDRA packages
- [`SDC-955 <https://jira.onap.org/browse/SDC-955>`__\ ] - configuration ovriding capabilities.
- [`SDC-957 <https://jira.onap.org/browse/SDC-957>`__\ ] - add ignore conformance level option
- [`SDC-969 <https://jira.onap.org/browse/SDC-969>`__\ ] - sync1802E to ONAP part 1
diff --git a/docs/sdcsdks.rst b/docs/sdcsdks.rst
index df8815f093..67f76cb245 100644
--- a/docs/sdcsdks.rst
+++ b/docs/sdcsdks.rst
@@ -14,7 +14,6 @@ The sdc project consists of a few additional sub projects listed below:
- sdc-tosca
- sdc-jtosca
- sdc-distribution-client
-- sdc-titan-cassandra
SDC SDKs Explanations
=====================
@@ -26,16 +25,3 @@ SDC-TOSCA and SDC-DISTRIBUTION-CLIENT
| The link describes the use of distribution client and the sdc-tosca.
| jtosca is used by sdc-tosca as a dependency and is not used separately
-SDC-TITAN-CASSANDRA
--------------------
-
-| This is a link to the github page of Titan Project for extra reading regarding Titan DB: `<https://github.com/thinkaurelius/titan>`_
-|
-| SDC forked part of the project to override the default Titan configuration for Cassandra.
-| The change allows the use of Titan as an active passive deployment for geo-redundancy.
-|
-| Titan by default uses QUORUM in Cassandra on write and read operations.
-| Using our change allows the use of local QUORUM to read and write only to a specific data center.
-| Since the project is at the end of life state the change cannot be merged back to the project.
-
-