Merge pull request #767

This commit is contained in:
symfony-flex-server[bot]
2019-10-18 13:07:29 +00:00
committed by GitHub
6 changed files with 45 additions and 0 deletions
@@ -0,0 +1,9 @@
# Read the documentation: https://github.com/timiki/rpc-client-bundle
rpc_client:
# connection:
# name_1: RPC_SERVER_URL_1
# name_2: RPC_SERVER_URL_2
connection: null
@@ -0,0 +1,8 @@
{
"bundles": {
"Timiki\\Bundle\\RpcClientBundle\\RpcClientBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -0,0 +1,15 @@
# Read the documentation: https://github.com/timiki/rpc-server-bundle
rpc_server:
mapping: '%kernel.root_dir%/Method'
# id cache service, must be instance of Doctrine\Common\Cache\CacheProvider
# by default use file cache
cache: null
# id serializer service, must be instance of Timiki\Bundle\RpcServerBundle\Serializer\SerializerInterface
# by default use 'rpc.server.serializer.base' service
serializer: 'rpc.server.serializer.base'
@@ -0,0 +1,4 @@
rpc:
path: /rpc
defaults: { _controller: RpcServerBundle:Rpc:handler }
methods: [POST]
@@ -0,0 +1,9 @@
{
"bundles": {
"Timiki\\Bundle\\RpcServerBundle\\RpcServerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}