From a7c0296f6b41ebf44e3ef94cdf10e5a97433272e Mon Sep 17 00:00:00 2001
From: Matthew Nesbit
Date: Thu, 19 May 2016 12:07:14 +0100
Subject: [PATCH] Rename node.core to node.internal from Rick's suggestion not
to use core outside of the core package.
---
docs/build/html/api/alltypes/index.html | 16 +-
.../api/api/-a-p-i-server-impl/-init-.html | 2 +-
.../-a-p-i-server-impl/build-transaction.html | 4 +-
.../commit-transaction.html | 4 +-
.../fetch-protocols-requiring-attention.html | 4 +-
.../api/-a-p-i-server-impl/fetch-states.html | 4 +-
.../fetch-transactions.html | 4 +-
.../generate-transaction-signature.html | 4 +-
.../api/api/-a-p-i-server-impl/index.html | 20 +--
.../invoke-protocol-sync.html | 4 +-
.../html/api/api/-a-p-i-server-impl/node.html | 2 +-
.../provide-protocol-response.html | 4 +-
.../api/-a-p-i-server-impl/query-states.html | 4 +-
.../api/-a-p-i-server-impl/server-time.html | 2 +-
.../-node-interest-rates/-service/-init-.html | 2 +-
.../-node-interest-rates/-service/index.html | 2 +-
.../api/core.node/-abstract-node/-init-.html | 2 +-
...-r-i-v-a-t-e_-k-e-y_-f-i-l-e_-n-a-m-e.html | 2 +-
...-c_-i-d-e-n-t-i-t-y_-f-i-l-e_-n-a-m-e.html | 2 +-
.../_services-that-accept-uploads.html | 2 +-
.../-abstract-node/advertised-services.html | 2 +-
.../api/core.node/-abstract-node/api.html | 2 +-
.../-abstract-node/configuration.html | 2 +-
.../construct-storage-service.html | 4 +-
.../api/core.node/-abstract-node/dir.html | 2 +-
.../-abstract-node/find-my-location.html | 2 +-
.../core.node/-abstract-node/identity.html | 2 +-
.../in-node-network-map-service.html | 2 +-
.../in-node-timestamping-service.html | 2 +-
.../api/core.node/-abstract-node/index.html | 6 +-
.../api/core.node/-abstract-node/info.html | 2 +-
.../initial-network-map-address.html | 2 +-
.../initialise-storage-service.html | 4 +-
.../interest-rates-service.html | 2 +-
.../-abstract-node/key-management.html | 2 +-
.../api/core.node/-abstract-node/log.html | 2 +-
.../-abstract-node/make-identity-service.html | 2 +-
.../make-interest-rates-oracle-service.html | 2 +-
.../make-messaging-service.html | 2 +-
.../make-network-map-service.html | 2 +-
.../make-timestamping-service.html | 2 +-
.../api/core.node/-abstract-node/net.html | 2 +-
.../-abstract-node/network-map-seq.html | 2 +-
.../network-map-service-call-timeout.html | 2 +-
.../-abstract-node/platform-clock.html | 2 +-
.../-abstract-node/server-thread.html | 2 +-
.../services-that-accept-uploads.html | 2 +-
.../core.node/-abstract-node/services.html | 2 +-
.../api/core.node/-abstract-node/smm.html | 2 +-
.../start-messaging-service.html | 2 +-
.../api/core.node/-abstract-node/start.html | 2 +-
.../api/core.node/-abstract-node/stop.html | 2 +-
.../api/core.node/-abstract-node/storage.html | 2 +-
.../api/core.node/-abstract-node/wallet.html | 2 +-
.../-configuration-exception/-init-.html | 2 +-
.../-configuration-exception/index.html | 2 +-
.../-node/-d-e-f-a-u-l-t_-p-o-r-t.html | 2 +-
.../html/api/core.node/-node/-init-.html | 2 +-
.../build/html/api/core.node/-node/index.html | 6 +-
docs/build/html/api/core.node/-node/log.html | 2 +-
.../-node/make-messaging-service.html | 2 +-
.../html/api/core.node/-node/p2p-addr.html | 2 +-
.../api/core.node/-node/server-thread.html | 2 +-
.../-node/start-messaging-service.html | 2 +-
.../build/html/api/core.node/-node/start.html | 2 +-
docs/build/html/api/core.node/-node/stop.html | 2 +-
.../html/api/core.node/-node/web-server.html | 2 +-
.../-i-r-s-simulation/-init-.html | 2 +-
.../core.testing/-i-r-s-simulation/index.html | 8 +-
.../-i-r-s-simulation/iterate.html | 2 +-
.../core.testing/-i-r-s-simulation/om.html | 2 +-
.../core.testing/-i-r-s-simulation/start.html | 2 +-
.../-default-factory/create.html | 4 +-
.../-mock-network/-default-factory/index.html | 2 +-
.../-mock-network/-factory/create.html | 4 +-
.../-mock-network/-factory/index.html | 2 +-
.../core.testing/-mock-network/-init-.html | 2 +-
.../-mock-network/-mock-node/-init-.html | 2 +-
.../-mock-node/find-my-location.html | 2 +-
.../-mock-network/-mock-node/id.html | 2 +-
.../-mock-network/-mock-node/index.html | 6 +-
.../-mock-network/-mock-node/log.html | 2 +-
.../-mock-node/make-identity-service.html | 2 +-
.../-mock-node/make-messaging-service.html | 2 +-
.../-mock-network/-mock-node/mock-net.html | 2 +-
.../-mock-network/-mock-node/place.html | 2 +-
.../-mock-node/server-thread.html | 2 +-
.../-mock-node/start-messaging-service.html | 2 +-
.../-mock-network/-mock-node/start.html | 2 +-
.../-mock-network/address-to-node.html | 4 +-
.../-mock-network/create-node.html | 4 +-
.../-mock-network/create-two-nodes.html | 4 +-
.../-mock-network/filesystem.html | 2 +-
.../-mock-network/identities.html | 2 +-
.../api/core.testing/-mock-network/index.html | 12 +-
.../-mock-network/messaging-network.html | 2 +-
.../api/core.testing/-mock-network/nodes.html | 2 +-
.../-mock-network/run-network.html | 6 +-
.../-simulation/-bank-factory/counter.html | 2 +-
.../-simulation/-bank-factory/create-all.html | 2 +-
.../-simulation/-bank-factory/create.html | 4 +-
.../-simulation/-bank-factory/index.html | 2 +-
.../api/core.testing/-simulation/-init-.html | 2 +-
.../-network-map-node-factory/create.html | 4 +-
.../-network-map-node-factory/index.html | 2 +-
.../-rates-oracle-factory/create.html | 4 +-
.../-rates-oracle-factory/index.html | 2 +-
.../-regulator-factory/create.html | 4 +-
.../-simulation/-regulator-factory/index.html | 2 +-
.../-simulation/-simulated-node/-init-.html | 2 +-
.../-simulated-node/find-my-location.html | 2 +-
.../-simulation/-simulated-node/index.html | 2 +-
.../-timestamping-node-factory/create.html | 4 +-
.../-timestamping-node-factory/index.html | 2 +-
.../-simulation/all-protocol-steps.html | 2 +-
.../-simulation/bank-factory.html | 2 +-
.../-simulation/bank-locations.html | 2 +-
.../api/core.testing/-simulation/banks.html | 2 +-
.../core.testing/-simulation/current-day.html | 2 +-
.../-simulation/date-changes.html | 2 +-
.../core.testing/-simulation/done-steps.html | 2 +-
.../-simulation/extra-node-labels.html | 2 +-
.../api/core.testing/-simulation/index.html | 8 +-
.../api/core.testing/-simulation/iterate.html | 2 +-
.../-simulation/latency-injector.html | 2 +-
.../-simulation/link-consensus.html | 4 +-
.../-simulation/link-protocol-progress.html | 4 +-
.../core.testing/-simulation/network-map.html | 2 +-
.../api/core.testing/-simulation/network.html | 2 +-
.../-simulation/rates-oracle.html | 2 +-
.../core.testing/-simulation/regulators.html | 2 +-
.../core.testing/-simulation/run-async.html | 2 +-
.../-simulation/service-providers.html | 2 +-
.../-simulation/start-trading-circle.html | 4 +-
.../api/core.testing/-simulation/start.html | 2 +-
.../api/core.testing/-simulation/stop.html | 2 +-
.../core.testing/-simulation/timestamper.html | 2 +-
.../-trade-simulation/-init-.html | 2 +-
.../core.testing/-trade-simulation/index.html | 8 +-
.../core.testing/-trade-simulation/start.html | 2 +-
.../-auto-offer-protocol/-handler/index.html | 2 +-
.../-handler/register.html | 4 +-
.../-exit-server-protocol/-handler/index.html | 2 +-
.../-handler/register.html | 4 +-
.../-handler/index.html | 2 +-
.../-handler/register.html | 4 +-
docs/build/html/api/index-outline.html | 156 +++++++++---------
.../node/{core => internal}/APIServerImpl.kt | 2 +-
.../node/{core => internal}/AbstractNode.kt | 2 +-
.../kotlin/node/{core => internal}/Node.kt | 2 +-
.../testing/IRSSimulation.kt | 2 +-
.../{core => internal}/testing/MockNode.kt | 4 +-
.../{core => internal}/testing/Simulation.kt | 2 +-
.../{core => internal}/testing/TestUtils.kt | 2 +-
.../testing/TradeSimulation.kt | 2 +-
.../services/clientapi/NodeInterestRates.kt | 2 +-
.../messaging/ArtemisMessagingService.kt | 2 +-
.../kotlin/node/servlets/DataUploadServlet.kt | 2 +-
.../testing/example.rates.txt | 0
.../{core => internal}/testing/trade.json | 0
.../kotlin/node/messaging/AttachmentTests.kt | 2 +-
.../node/messaging/InMemoryMessagingTests.kt | 2 +-
.../messaging/TwoPartyTradeProtocolTests.kt | 2 +-
.../services/InMemoryNetworkMapCacheTest.kt | 2 +-
.../services/InMemoryNetworkMapServiceTest.kt | 2 +-
.../node/services/NodeInterestRatesTest.kt | 2 +-
.../node/services/NotaryServiceTests.kt | 2 +-
src/main/kotlin/demos/IRSDemo.kt | 2 +-
src/main/kotlin/demos/RateFixDemo.kt | 2 +-
src/main/kotlin/demos/TraderDemo.kt | 2 +-
.../demos/protocols/AutoOfferProtocol.kt | 2 +-
.../demos/protocols/ExitServerProtocol.kt | 2 +-
.../protocols/UpdateBusinessDayProtocol.kt | 2 +-
.../kotlin/core/testing/IRSSimulationTest.kt | 2 +-
174 files changed, 315 insertions(+), 315 deletions(-)
rename node/src/main/kotlin/node/{core => internal}/APIServerImpl.kt (99%)
rename node/src/main/kotlin/node/{core => internal}/AbstractNode.kt (99%)
rename node/src/main/kotlin/node/{core => internal}/Node.kt (99%)
rename node/src/main/kotlin/node/{core => internal}/testing/IRSSimulation.kt (99%)
rename node/src/main/kotlin/node/{core => internal}/testing/MockNode.kt (99%)
rename node/src/main/kotlin/node/{core => internal}/testing/Simulation.kt (99%)
rename node/src/main/kotlin/node/{core => internal}/testing/TestUtils.kt (94%)
rename node/src/main/kotlin/node/{core => internal}/testing/TradeSimulation.kt (98%)
rename node/src/main/resources/node/{core => internal}/testing/example.rates.txt (100%)
rename node/src/main/resources/node/{core => internal}/testing/trade.json (100%)
diff --git a/docs/build/html/api/alltypes/index.html b/docs/build/html/api/alltypes/index.html
index 36c31fc70f..c5d370f7c6 100644
--- a/docs/build/html/api/alltypes/index.html
+++ b/docs/build/html/api/alltypes/index.html
@@ -25,13 +25,13 @@ if the terminal supports it. Otherwise it just prints out the name of the step w
-node.core.APIServerImpl |
+node.internal.APIServerImpl
|
-node.core.AbstractNode |
+node.internal.AbstractNode
A base node implementation that can be customised either for production (with real implementations that do real
I/O), or a mock implementation suitable for unit test environments.
@@ -243,7 +243,7 @@ and to organise serializers / deserializers for java.time.* classes as necessary
|
-node.core.ConfigurationException |
+node.internal.ConfigurationException
|
@@ -534,7 +534,7 @@ that would divide into (eg annually = 1, semiannual = 2, monthly = 12 etc).
-node.core.testing.IRSSimulation |
+node.internal.testing.IRSSimulation
A simulation in which banks execute interest rate swaps with each other, including the fixing events.
|
@@ -775,7 +775,7 @@ MockNetwork code.
-node.core.testing.MockNetwork |
+node.internal.testing.MockNetwork
A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing.
Components that do IO are either swapped out for mocks, or pointed to a Jimfs in memory filesystem.
@@ -831,7 +831,7 @@ replace each other based on a serial number present in the change.
|
-node.core.Node |
+node.internal.Node
A Node manages a standalone server that takes part in the P2P network. It creates the services found in ServiceHub,
loads important data off disk and starts listening for connections.
@@ -1187,7 +1187,7 @@ contained within.
|
-node.core.testing.Simulation |
+node.internal.testing.Simulation
Base class for network simulations that are based on the unit test / mock environment.
|
@@ -1335,7 +1335,7 @@ themselves.
-node.core.testing.TradeSimulation |
+node.internal.testing.TradeSimulation
Simulates a never ending series of trades that go pair-wise through the banks (e.g. A and B trade with each other,
then B and C trade with each other, then C and A etc).
diff --git a/docs/build/html/api/api/-a-p-i-server-impl/-init-.html b/docs/build/html/api/api/-a-p-i-server-impl/-init-.html
index f3c40d288c..6690ee2e39 100644
--- a/docs/build/html/api/api/-a-p-i-server-impl/-init-.html
+++ b/docs/build/html/api/api/-a-p-i-server-impl/-init-.html
@@ -7,7 +7,7 @@
api / APIServerImpl / <init>
<init>
-APIServerImpl(node: AbstractNode)
+APIServerImpl(node: AbstractNode)
|
-APIServerImpl(node: AbstractNode)
-fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
-fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
-fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
-fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
-fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
-fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
-fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
+APIServerImpl(node: AbstractNode)
+fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
+fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
+fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
+fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
+fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
+fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
+fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
val node: AbstractNode
-fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
-fun queryStates(query: StatesQuery): List<StateRef>
+fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
+fun queryStates(query: StatesQuery): List<StateRef>
fun serverTime(): LocalDateTime