Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove some deprecated code.

Change-Id: I8327095c0a3a69ae79ac0af408891e5b4c5aceb4
  • Loading branch information...
commit aa3587f89889b0528e43aacdefd6a1160750525a 1 parent bc07971
Felix Hu felixhoo authored
BIN  atmos/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
1  base/lib/base/gateway.rb
View
@@ -90,7 +90,6 @@ def start
:mbus => @config[:mbus],
:node_timeout => node_timeout,
:z_interval => @config[:z_interval],
- :allow_over_provisioning => @config[:allow_over_provisioning],
:max_nats_payload => @config[:max_nats_payload],
:additional_options => additional_options,
:status => @config[:status],
BIN  filesystem/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
1  mongodb/bin/mongodb_node
View
@@ -25,7 +25,6 @@ class VCAP::Services::MongoDB::NodeBin < VCAP::Services::Base::NodeBin
options[:port_range] = parse_property(config, "port_range", Range)
options[:mongod_path] = parse_property(config, "mongod_path", String)
options[:mongorestore_path] = parse_property(config, "mongorestore_path", String)
- options[:max_memory] = parse_property(config, "max_memory", Integer)
options[:mongod_log_dir] = parse_property(config, "mongod_log_dir", String)
options[:max_clients] = parse_property(config, "max_clients", Integer, :optional => true)
options[:quota_files] = parse_property(config, "quota_files", Integer, :optional => true)
1  mongodb/config/mongodb_node.yml
View
@@ -10,7 +10,6 @@ logging:
level: debug
mongod_log_dir: /var/vcap/sys/log/mongodb
pid: /var/vcap/sys/run/mongodb_node.pid
-max_memory: 128
node_id: mongodb_node_free_1
mongod_path: mongod
mongorestore_path: mongorestore
4 mongodb/lib/mongodb_service/mongodb_node.rb
View
@@ -94,7 +94,6 @@ def initialize(options)
@mongorestore_path = options[:mongorestore_path]
@mongod_log_dir = options[:mongod_log_dir]
- @max_memory = options[:max_memory]
@max_clients = options[:max_clients] || MAX_CLIENTS
@quota_files = options[:quota_files] || QUOTA_FILES
@@ -220,7 +219,6 @@ def provision(plan, credential = nil)
provisioned_service.port = port
provisioned_service.plan = 1
provisioned_service.password = UUIDTools::UUID.random_create.to_s
- provisioned_service.memory = @max_memory
provisioned_service.pid = start_instance(provisioned_service)
provisioned_service.admin = 'admin'
provisioned_service.adminpass = UUIDTools::UUID.random_create.to_s
@@ -554,8 +552,6 @@ def get_status(instance)
def start_instance(provisioned_service)
@logger.info("Starting: #{provisioned_service.inspect}")
- memory = @max_memory
-
pid = fork
if pid
@logger.debug("Service #{provisioned_service.name} started with pid #{pid}")
1  mongodb/spec/spec_helper.rb
View
@@ -130,7 +130,6 @@ def get_node_config()
:mbus => parse_property(config, "mbus", String),
:config_template => mongodb_conf_template,
:port_range => parse_property(config, "port_range", Range),
- :max_memory => parse_property(config, "max_memory", Integer),
:max_clients => parse_property(config, "max_clients", Integer, :optional => true),
:base_dir => '/tmp/mongo/instances',
:mongod_log_dir => '/tmp/mongo/mongod_log',
BIN  mongodb/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
BIN  mysql/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
BIN  neo4j/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
BIN  postgresql/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
BIN  rabbit/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
BIN  redis/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
BIN  service_broker/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
BIN  vblob/vendor/cache/vcap_services_base-0.1.8.gem
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.