summaryrefslogtreecommitdiffstats
path: root/grToolkit/provider/src/test/resources/single
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:33:35 -0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:33:35 -0800
commit96a9aafdff7813324bc8a8ba1e743683e251dde6 (patch)
tree644c6837ab58ed21fb05f4bf988dc392875b9f8d /grToolkit/provider/src/test/resources/single
parenta0e97e71a49a8b54fddf8fb004b32f202f114011 (diff)
Migrate files from sli-plugins
Migrate sli-plugins repo into new directory "plugins". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'grToolkit/provider/src/test/resources/single')
-rw-r--r--grToolkit/provider/src/test/resources/single/akka.conf67
-rw-r--r--grToolkit/provider/src/test/resources/single/cluster.json17
-rw-r--r--grToolkit/provider/src/test/resources/single/default-config.json46
-rw-r--r--grToolkit/provider/src/test/resources/single/default-operational.json46
-rwxr-xr-xgrToolkit/provider/src/test/resources/single/gr-toolkit.properties34
-rw-r--r--grToolkit/provider/src/test/resources/single/shard-manager.json15
6 files changed, 0 insertions, 225 deletions
diff --git a/grToolkit/provider/src/test/resources/single/akka.conf b/grToolkit/provider/src/test/resources/single/akka.conf
deleted file mode 100644
index ce46748ec..000000000
--- a/grToolkit/provider/src/test/resources/single/akka.conf
+++ /dev/null
@@ -1,67 +0,0 @@
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2019 AT&T Intellectual Property. All rights
-# reserved.
-# ================================================================================
-# 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=========================================================
-
-odl-cluster-data {
- akka {
- remote {
- artery {
- enabled = off
- canonical.hostname = "127.0.0.1"
- canonical.port = 2550
- }
- netty.tcp {
- hostname = "127.0.0.1"
- port = 2550
- }
- # when under load we might trip a false positive on the failure detector
- # transport-failure-detector {
- # heartbeat-interval = 4 s
- # acceptable-heartbeat-pause = 16s
- # }
- }
-
- cluster {
- # Remove ".tcp" when using artery.
- seed-nodes = ["akka.tcp://opendaylight-cluster-data@127.0.1.1:2550"]
-
- roles = [
- "member-1"
- ]
-
- }
-
- persistence {
- # By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
- # modifying the following two properties. The directory location specified may be a relative or absolute path.
- # The relative path is always relative to KARAF_HOME.
-
- # snapshot-store.local.dir = "target/snapshots"
- # journal.leveldb.dir = "target/journal"
-
- journal {
- leveldb {
- # Set native = off to use a Java-only implementation of leveldb.
- # Note that the Java-only version is not currently considered by Akka to be production quality.
-
- # native = off
- }
- }
- }
- }
-}
diff --git a/grToolkit/provider/src/test/resources/single/cluster.json b/grToolkit/provider/src/test/resources/single/cluster.json
deleted file mode 100644
index 93360845f..000000000
--- a/grToolkit/provider/src/test/resources/single/cluster.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "request": {
- "mbean": "akka:type=Cluster",
- "type": "read"
- },
- "value": {
- "Leader": "akka.tcp://opendaylight-cluster-data@localhost:2550",
- "Unreachable": "",
- "Singleton": true,
- "Available": true,
- "MemberStatus": "Up",
- "ClusterStatus": "{\n \"members\": [\n {\n \"address\": \"akka.tcp://opendaylight-cluster-data@localhost:2550\",\n \"roles\": [\n \"dc-default\",\n \"member-1\"\n ],\n \"status\": \"Up\"\n }\n ],\n \"self-address\": \"akka.tcp://opendaylight-cluster-data@localhost:2550\",\n \"unreachable\": []\n}\n",
- "Members": "akka.tcp://opendaylight-cluster-data@localhost:2550"
- },
- "timestamp": 1575393881,
- "status": 200
-}
diff --git a/grToolkit/provider/src/test/resources/single/default-config.json b/grToolkit/provider/src/test/resources/single/default-config.json
deleted file mode 100644
index d75998e5d..000000000
--- a/grToolkit/provider/src/test/resources/single/default-config.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "request": {
- "mbean": "org.opendaylight.controller:Category=Shards,name=member-1-shard-default-config,type=DistributedConfigDatastore",
- "type": "read"
- },
- "value": {
- "ReadWriteTransactionCount": 0,
- "SnapshotIndex": 22,
- "InMemoryJournalLogSize": 1,
- "ReplicatedToAllIndex": -1,
- "Leader": "member-1-shard-default-config",
- "LastIndex": 23,
- "RaftState": "Leader",
- "LastCommittedTransactionTime": "2019-12-03 16:36:39.413",
- "LastApplied": 23,
- "PeerAddresses": "",
- "LastLogIndex": 23,
- "LastLeadershipChangeTime": "2019-12-03 16:36:33.460",
- "WriteOnlyTransactionCount": 0,
- "FollowerInitialSyncStatus": false,
- "FollowerInfo": [],
- "FailedReadTransactionsCount": 0,
- "Voting": true,
- "StatRetrievalTime": "454.8 μs",
- "CurrentTerm": 4,
- "LastTerm": 4,
- "FailedTransactionsCount": 0,
- "PendingTxCommitQueueSize": 0,
- "VotedFor": "member-1-shard-default-config",
- "SnapshotCaptureInitiated": false,
- "CommittedTransactionsCount": 5,
- "TxCohortCacheSize": 0,
- "PeerVotingStates": "",
- "LastLogTerm": 4,
- "StatRetrievalError": null,
- "CommitIndex": 23,
- "SnapshotTerm": 4,
- "AbortTransactionsCount": 0,
- "ReadOnlyTransactionCount": 0,
- "ShardName": "member-1-shard-default-config",
- "LeadershipChangeCount": 1,
- "InMemoryJournalDataSize": 37
- },
- "timestamp": 1575393787,
- "status": 200
-} \ No newline at end of file
diff --git a/grToolkit/provider/src/test/resources/single/default-operational.json b/grToolkit/provider/src/test/resources/single/default-operational.json
deleted file mode 100644
index 88a5d2c96..000000000
--- a/grToolkit/provider/src/test/resources/single/default-operational.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "request": {
- "mbean": "org.opendaylight.controller:Category=Shards,name=member-1-shard-default-operational,type=DistributedOperationalDatastore",
- "type": "read"
- },
- "value": {
- "ReadWriteTransactionCount": 0,
- "SnapshotIndex": 22,
- "InMemoryJournalLogSize": 1,
- "ReplicatedToAllIndex": -1,
- "Leader": "member-1-shard-default-operational",
- "LastIndex": 23,
- "RaftState": "Leader",
- "LastCommittedTransactionTime": "2019-12-03 16:36:39.413",
- "LastApplied": 23,
- "PeerAddresses": "",
- "LastLogIndex": 23,
- "LastLeadershipChangeTime": "2019-12-03 16:36:33.460",
- "WriteOnlyTransactionCount": 0,
- "FollowerInitialSyncStatus": false,
- "FollowerInfo": [],
- "FailedReadTransactionsCount": 0,
- "Voting": true,
- "StatRetrievalTime": "454.8 μs",
- "CurrentTerm": 4,
- "LastTerm": 4,
- "FailedTransactionsCount": 0,
- "PendingTxCommitQueueSize": 0,
- "VotedFor": "member-1-shard-default-operational",
- "SnapshotCaptureInitiated": false,
- "CommittedTransactionsCount": 5,
- "TxCohortCacheSize": 0,
- "PeerVotingStates": "",
- "LastLogTerm": 4,
- "StatRetrievalError": null,
- "CommitIndex": 23,
- "SnapshotTerm": 4,
- "AbortTransactionsCount": 0,
- "ReadOnlyTransactionCount": 0,
- "ShardName": "member-1-shard-default-operational",
- "LeadershipChangeCount": 1,
- "InMemoryJournalDataSize": 37
- },
- "timestamp": 1575393787,
- "status": 200
-} \ No newline at end of file
diff --git a/grToolkit/provider/src/test/resources/single/gr-toolkit.properties b/grToolkit/provider/src/test/resources/single/gr-toolkit.properties
deleted file mode 100755
index cc7820e90..000000000
--- a/grToolkit/provider/src/test/resources/single/gr-toolkit.properties
+++ /dev/null
@@ -1,34 +0,0 @@
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2019 AT&T Intellectual Property. All rights
-# reserved.
-# ================================================================================
-# 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=========================================================
-
-akka.conf.location=src/test/resources/single/akka.conf
-adm.useSsl=false
-adm.fqdn=localhost
-adm.healthcheck=/adm/healthcheck
-adm.port.http=9999
-adm.port.ssl=19999
-controller.credentials=admin:admin
-controller.useSsl=false
-controller.port.http=9999
-controller.port.ssl=19999
-controller.port.akka=2550
-mbean.cluster=/jolokia/read/akka:type=Cluster
-mbean.shardManager=/jolokia/read/org.opendaylight.controller:Category=ShardManager,name=shard-manager-config,type=DistributedConfigDatastore
-mbean.shard.config=/jolokia/read/org.opendaylight.controller:Category=Shards,name=%s,type=DistributedConfigDatastore
-site.identifier=TestODL
diff --git a/grToolkit/provider/src/test/resources/single/shard-manager.json b/grToolkit/provider/src/test/resources/single/shard-manager.json
deleted file mode 100644
index 301184ef8..000000000
--- a/grToolkit/provider/src/test/resources/single/shard-manager.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "request": {
- "mbean": "org.opendaylight.controller:Category=ShardManager,name=shard-manager-config,type=DistributedConfigDatastore",
- "type": "read"
- },
- "value": {
- "LocalShards": [
- "member-1-shard-default-config"
- ],
- "SyncStatus": true,
- "MemberName": "member-1"
- },
- "timestamp": 1575393918,
- "status": 200
-} \ No newline at end of file