[REM] netrpc: KILL EVERYBODY
authorSkrillex <>
Thu, 21 Feb 2013 12:18:25 +0000 (13:18 +0100)
committerVo Minh Thu <vmt@openerp.com>
Thu, 21 Feb 2013 12:18:25 +0000 (13:18 +0100)
bzr revid: vmt@openerp.com-20130221121825-dvpacxajwztslukj

debian/control
doc/01_getting_started.rst
doc/changelog.rst
install/openerp-server.1
openerp/PKG-INFO
openerp/netsvc.py
openerp/tools/config.py
scripts/run_all_with_tests.sh

index d598023..d4cf0c3 100644 (file)
@@ -52,6 +52,6 @@ Description: OpenERP Enterprise Resource Management
  features are accounting (analytic and financial), stock management, sales and
  purchases management, tasks automation, marketing campaigns, help desk, POS,
  etc. Technical features include a distributed server, flexible workflows, an
- object database, a dynamic GUI, customizable reports, and NET-RPC and XML-RPC
- interfaces.
+ object database, a dynamic GUI, customizable reports, and an XML-RPC
+ interface.
 
index 175c78c..341d96d 100644 (file)
@@ -103,9 +103,6 @@ General Options
   --logfile=LOGFILE                   file where the server log will be stored
   -n INTERFACE, --interface=INTERFACE specify the TCP IP address
   -p PORT, --port=PORT                specify the TCP port
-  --net_interface=NETINTERFACE        specify the TCP IP address for netrpc
-  --net_port=NETPORT                  specify the TCP port for netrpc
-  --no-netrpc                         disable netrpc
   --no-xmlrpc                         disable xmlrpc
   -i INIT, --init=INIT                init a module (use "all" for all modules)
   --without-demo=WITHOUT_DEMO         load demo data for a module (use "all" for all modules)
index a80e8dc..c85bf64 100644 (file)
@@ -6,6 +6,7 @@ Changelog
 `trunk`
 -------
 
+- Removed support for the ``NET-RPC`` protocol.
 - Added the :ref:`Long polling <longpolling-worker>` worker type.
 - Added :ref:`orm-workflows` to the ORM.
 - Added :ref:`routing-decorators` to the RPC and WSGI stack.
index 58ac6f3..6529e73 100644 (file)
@@ -80,17 +80,6 @@ specify the certificate file for the SSL connection
 \fB\-\-pkey\-file\fR=\fISECURE_PKEY_FILE\fR
 specify the private key file for the SSL connection
 .IP
-NET\-RPC Configuration:
-.TP
-\fB\-\-netrpc\-interface\fR=\fINETRPC_INTERFACE\fR
-specify the TCP IP address for the NETRPC protocol
-.TP
-\fB\-\-netrpc\-port\fR=\fINETRPC_PORT\fR
-specify the TCP port for the NETRPC protocol
-.TP
-\fB\-\-no\-netrpc\fR
-disable the NETRPC protocol
-.IP
 Static HTTP service:
 .TP
 \fB\-\-static\-http\-enable\fR
index 1d94869..fba4a85 100644 (file)
@@ -13,6 +13,6 @@ Description: OpenERP is a complete ERP and CRM. The main features are accounting
         and financial), stock management, sales and purchases management, tasks
         automation, marketing campaigns, help desk, POS, etc. Technical features include
         a distributed server, flexible workflows, an object database, a dynamic GUI,
-        customizable reports, and NET-RPC and XML-RPC interfaces.
+        customizable reports, and an XML-RPC interface.
 Keywords: ERP, Accounting, Stock, CRM, Enterprise, Logistics, Management, Sales, Purchases
 Platform: Linux, Win32
index a5e33ff..a533fa9 100644 (file)
@@ -205,8 +205,8 @@ def log(logger, level, prefix, msg, depth=None):
 def dispatch_rpc(service_name, method, params):
     """ Handle a RPC call.
 
-    This is pure Python code, the actual marshalling (from/to XML-RPC or
-    NET-RPC) is done in a upper layer.
+    This is pure Python code, the actual marshalling (from/to XML-RPC) is done
+    in a upper layer.
     """
     try:
         rpc_request = logging.getLogger(__name__ + '.rpc.request')
index 8fa65f9..7a7190c 100644 (file)
@@ -142,17 +142,6 @@ class configmanager(object):
                          help="specify the private key file for the SSL connection")
         parser.add_option_group(group)
 
-        # NET-RPC
-        group = optparse.OptionGroup(parser, "NET-RPC Configuration")
-        group.add_option("--netrpc-interface", dest="netrpc_interface", my_default='',
-                         help="specify the TCP IP address for the NETRPC protocol")
-        group.add_option("--netrpc-port", dest="netrpc_port", my_default=8070,
-                         help="specify the TCP port for the NETRPC protocol", type="int")
-        # Needed a few day for runbot and saas
-        group.add_option("--no-netrpc", dest="netrpc", action="store_false", my_default=False, help="disable the NETRPC protocol")
-        group.add_option("--netrpc", dest="netrpc", action="store_true", my_default=False, help="enable the NETRPC protocol")
-        parser.add_option_group(group)
-
         # WEB
         # TODO move to web addons after MetaOption merge
         group = optparse.OptionGroup(parser, "Web interface Configuration")
@@ -383,8 +372,8 @@ class configmanager(object):
                 'db_name', 'db_user', 'db_password', 'db_host',
                 'db_port', 'db_template', 'logfile', 'pidfile', 'smtp_port',
                 'email_from', 'smtp_server', 'smtp_user', 'smtp_password',
-                'netrpc_interface', 'netrpc_port', 'db_maxconn', 'import_partial', 'addons_path',
-                'netrpc', 'xmlrpc', 'syslog', 'without_demo', 'timezone',
+                'db_maxconn', 'import_partial', 'addons_path',
+                'xmlrpc', 'syslog', 'without_demo', 'timezone',
                 'xmlrpcs_interface', 'xmlrpcs_port', 'xmlrpcs',
                 'static_http_enable', 'static_http_document_root', 'static_http_url_prefix',
                 'secure_cert_file', 'secure_pkey_file', 'dbfilter', 'log_handler', 'log_level'
@@ -407,7 +396,7 @@ class configmanager(object):
         keys = [
             'language', 'translate_out', 'translate_in', 'overwrite_existing_translations',
             'debug_mode', 'smtp_ssl', 'load_language',
-            'stop_after_init', 'logrotate', 'without_demo', 'netrpc', 'xmlrpc', 'syslog',
+            'stop_after_init', 'logrotate', 'without_demo', 'xmlrpc', 'syslog',
             'list_db', 'xmlrpcs', 'proxy_mode',
             'test_file', 'test_enable', 'test_commit', 'test_report_directory',
             'osv_memory_count_limit', 'osv_memory_age_limit', 'max_cron_threads', 'unaccent',
index 877a590..0248f28 100755 (executable)
@@ -12,6 +12,5 @@ rm openerp-server.log
     --stop-after-init \
     --no-xmlrpc \
     --no-xmlrpcs \
-    --no-netrpc \
     --test-enable \
     --logfile=openerp-server.log