Permalink
Browse files

Merge pull request #3 from frodenas/http-endpoints

Fix HTTP API Authenticantion links and add /varz endpoints
  • Loading branch information...
2 parents aac0d54 + 792543a commit af728d37e425166e73c1226d57baac50dd893f04 @krobertson krobertson committed Apr 3, 2012
Showing with 1,109 additions and 18 deletions.
  1. +1 −1 AUTHORS
  2. +1 −0 _config.yml
  3. +134 −0 _includes/snippets/http-varz-cloud-controller.json
  4. +68 −0 _includes/snippets/http-varz-health-manager.json
  5. +43 −0 _includes/snippets/http-varz-mongoaas-node.json
  6. +50 −0 _includes/snippets/http-varz-mongoaas-provisioner.json
  7. +46 −0 _includes/snippets/http-varz-myaas-node.json
  8. +50 −0 _includes/snippets/http-varz-myaas-provisioner.json
  9. +35 −0 _includes/snippets/http-varz-neo4jaas-node.json
  10. +49 −0 _includes/snippets/http-varz-neo4jaas-provisioner.json
  11. +41 −0 _includes/snippets/http-varz-raas-node.json
  12. +50 −0 _includes/snippets/http-varz-raas-provisioner.json
  13. +61 −0 _includes/snippets/http-varz-router.json
  14. +82 −0 _includes/snippets/http-varz-uaa.json
  15. +1 −1 _posts/http-apps/0001-01-01-delete-apps-name.md
  16. +1 −1 _posts/http-apps/0001-01-01-get-apps-name-crashes.md
  17. +1 −1 _posts/http-apps/0001-01-01-get-apps-name-instances.md
  18. +1 −1 _posts/http-apps/0001-01-01-get-apps-name-stats.md
  19. +1 −1 _posts/http-apps/0001-01-01-get-apps-name.md
  20. +1 −1 _posts/http-apps/0001-01-01-get-apps.md
  21. +1 −1 _posts/http-apps/0001-01-01-put-apps-name.md
  22. +1 −1 _posts/http-info/0001-01-01-get-info-services.md
  23. +1 −1 _posts/http-info/0001-01-01-get-info.md
  24. +1 −1 _posts/http-services/0001-01-01-delete-services-alias.md
  25. +1 −1 _posts/http-services/0001-01-01-get-services-alias.md
  26. +1 −1 _posts/http-services/0001-01-01-get-services.md
  27. +1 −1 _posts/http-services/0001-01-01-post-services.md
  28. +1 −1 _posts/http-users/0001-01-01-delete-users-email.md
  29. +1 −1 _posts/http-users/0001-01-01-get-users-email.md
  30. +1 −1 _posts/http-users/0001-01-01-get-users.md
  31. +1 −1 _posts/http-users/0001-01-01-put-users-email.md
  32. +25 −0 _posts/http-varz/0001-01-01-authentication.md
  33. +29 −0 _posts/http-varz/0001-01-01-cloud-controller.md
  34. +29 −0 _posts/http-varz/0001-01-01-health-manager.md
  35. +29 −0 _posts/http-varz/0001-01-01-mongoaas-node.md
  36. +29 −0 _posts/http-varz/0001-01-01-mongoaas-provisioner.md
  37. +29 −0 _posts/http-varz/0001-01-01-myaas-node.md
  38. +29 −0 _posts/http-varz/0001-01-01-myaas-provisioner.md
  39. +29 −0 _posts/http-varz/0001-01-01-neo4jaas-node.md
  40. +29 −0 _posts/http-varz/0001-01-01-neo4jaas-provisioner.md
  41. +29 −0 _posts/http-varz/0001-01-01-raas-node.md
  42. +29 −0 _posts/http-varz/0001-01-01-raas-provisioner.md
  43. +29 −0 _posts/http-varz/0001-01-01-router.md
  44. +29 −0 _posts/http-varz/0001-01-01-uaa.md
  45. +8 −0 http-varz.md
View
@@ -1,2 +1,2 @@
Ken Robertson <ken@paas.io>
-Ferran Rodenas https://github.com/frodenas
+Ferran Rodenas <frodenas@gmail.com>
View
@@ -23,6 +23,7 @@ endpoint_categories:
- http-apps
- http-services
- http-users
+ - http-varz
nats_categories:
- cloud-controller
- dea
@@ -0,0 +1,134 @@
+{
+ "type": "CloudController",
+ "index": null,
+ "uuid": "daffe9692ed6cd447f28b4ba874d202b",
+ "host": "192.168.1.15:41111",
+ "credentials": [
+ "37637511ab0e387f764646dea0a692f9",
+ "9d00ec8ab3ea7f5b35abcd341db578bf"
+ ],
+ "start": "2012-04-02 21:02:19 +0200",
+ "num_cores": 4,
+ "config": {
+ "external_uri": "api.vcap.me",
+ "description": "VMware's Cloud Application Platform",
+ "support_address": "http://support.cloudfoundry.com",
+ "local_route": null,
+ "allow_registration": true,
+ "allow_external_app_uris": false,
+ "app_uris": {
+ "allow_external": false,
+ "reserved_list": [
+
+ ]
+ },
+ "external_port": 9022,
+ "nginx": {
+ "use_nginx": false,
+ "insecure_instance_port": 9025
+ },
+ "logging": {
+ "level": "debug"
+ },
+ "rails_logging": {
+ "level": "debug"
+ },
+ "directories": {
+ "droplets": "/var/vcap/shared/droplets",
+ "resources": "/var/vcap/shared/resources",
+ "staging_manifests": "/home/frodenas/cloudfoundry/.deployments/devbox/config/staging",
+ "staging_cache": "/var/vcap/data/cloud_controller/staging",
+ "tmpdir": "/var/vcap/data/cloud_controller/tmp"
+ },
+ "pid": "/var/vcap/sys/run/cloudcontroller.pid",
+ "rails_environment": "production",
+ "uaa": {
+ "enabled": true,
+ "url": "http://uaa.vcap.me",
+ "resource_id": "cloud_controller",
+ "token_secret": "uaa_jwt_secret",
+ "client_secret": "cloudcontrollersecret"
+ },
+ "staging": {
+ "max_concurrent_stagers": 10,
+ "max_staging_runtime": 120,
+ "secure": false
+ },
+ "admins": [
+ "dev@cloudfoundry.org"
+ ],
+ "https_required": false,
+ "https_required_for_admins": false,
+ "default_account_capacity": {
+ "memory": 2048,
+ "app_uris": 4,
+ "services": 16,
+ "apps": 20
+ },
+ "builtin_services": {
+ "redis": {
+ "token": "changeredistoken"
+ },
+ "mongodb": {
+ "token": "changemongodbtoken"
+ },
+ "neo4j": {
+ "token": "changeneo4jtoken"
+ }
+ },
+ "allow_debug": true,
+ "runtimes": {
+ "ruby18": {
+ "version": "1.8.7"
+ },
+ "ruby19": {
+ "version": "1.9.2"
+ },
+ "node": {
+ "version": "0.4.12",
+ "debug_modes": [
+ "run",
+ "suspend"
+ ]
+ },
+ "node06": {
+ "version": "0.6.8",
+ "debug_modes": [
+ "run",
+ "suspend"
+ ]
+ },
+ "java": {
+ "version": "1.6.0",
+ "debug_modes": [
+ "run",
+ "suspend"
+ ]
+ },
+ "php": {
+ "version": "5.3.[2-6]"
+ },
+ "erlangR14B02": {
+ "version": ".* 5.8.3"
+ },
+ "python2": {
+ "version": "2.[67]"
+ }
+ },
+ "new_initial_placement": false,
+ "bulk_api": {
+ "auth": {
+ "user": "bulk_api"
+ }
+ },
+ "max_droplet_size": 536870912
+ },
+ "requests": 536,
+ "pending_requests": 0,
+ "requests_per_sec": 0,
+ "running_stage_cmds": 0,
+ "pending_stage_cmds": 0,
+ "uptime": "0d:2h:13m:50s",
+ "mem": 77584,
+ "cpu": 0.2
+}
@@ -0,0 +1,68 @@
+{
+ "type": "HealthManager",
+ "index": null,
+ "uuid": "029122ba9a03b337c4ec36425d88ea34",
+ "host": "192.168.1.15:42577",
+ "credentials": [
+ "3acdf6219db11193541da8afe6f2e641",
+ "2337c5a6bae03b4451a0c6ad12a815ce"
+ ],
+ "start": "2012-04-02 21:02:38 +0200",
+ "num_cores": 4,
+ "config": {
+ "local_route": null,
+ "logging": {
+ "level": "info"
+ },
+ "pid": "/var/vcap/sys/run/healthmanager.pid",
+ "rails_environment": "production",
+ "intervals": {
+ "database_scan": 60,
+ "droplet_lost": 30,
+ "droplets_analysis": 10,
+ "flapping_death": 3,
+ "flapping_timeout": 180,
+ "restart_timeout": 20,
+ "stable_state": 60
+ }
+ },
+ "total_apps": 0,
+ "total_users": 1,
+ "total_instances": 0,
+ "running_instances": 0,
+ "crashed_instances": 0,
+ "down_instances": 0,
+ "queue_length": 0,
+ "total": {
+ "frameworks": {
+
+ },
+ "runtimes": {
+
+ }
+ },
+ "running": {
+ "frameworks": {
+
+ },
+ "runtimes": {
+
+ }
+ },
+ "heartbeat_msgs_received": 0,
+ "droplet_exited_msgs_received": 0,
+ "droplet_updated_msgs_received": 0,
+ "healthmanager_status_msgs_received": 0,
+ "healthmanager_health_request_msgs_received": 0,
+ "users": [
+ {
+ "email": "admin@vcap.me"
+ }
+ ],
+ "apps": [
+
+ ],
+ "uptime": "0d:2h:17m:58s",
+ "mem": 56288,
+ "cpu": 0.1
+}
@@ -0,0 +1,43 @@
+{
+ "type": "MongoaaS-Node",
+ "index": 0,
+ "uuid": "0-49828865b0c5a5b706a2ed65e777c945",
+ "host": "192.168.1.15:52137",
+ "credentials": [
+ "e86c714dfe4efbfd09aed690c71a867f",
+ "a31b74bf5efc1d12c624f7f0f13b3543"
+ ],
+ "start": "2012-04-02 21:02:25 +0200",
+ "num_cores": 4,
+ "config": {
+ "index": 0,
+ "plan": "free",
+ "capacity": 50,
+ "base_dir": "/var/vcap/services/mongodb/instances",
+ "ip_route": null,
+ "node_id": "mongodb_node_0",
+ "z_interval": null,
+ "local_db": "sqlite3:/var/vcap/services/mongodb/mongodb_node.db",
+ "migration_nfs": "/mnt/migration",
+ "max_nats_payload": null,
+ "config_template": "/home/frodenas/cloudfoundry/vcap/services/mongodb/resources/mongodb.conf.erb",
+ "port_range": "25001..45000",
+ "mongod_path": "/home/frodenas/cloudfoundry/.deployments/devbox/deploy/mongodb/bin/mongod",
+ "mongorestore_path": "mongorestore",
+ "max_memory": 128,
+ "mongod_log_dir": "/var/vcap/services/mongodb/logs",
+ "max_clients": null,
+ "quota_files": null
+ },
+ "running_services": [
+
+ ],
+ "disk": {
+
+ },
+ "max_capacity": 50,
+ "available_capacity": 50,
+ "uptime": "0d:2h:32m:39s",
+ "mem": 50516,
+ "cpu": 0.1
+}
@@ -0,0 +1,50 @@
+{
+ "type": "MongoaaS-Provisioner",
+ "index": 0,
+ "uuid": "0-8adeee92fd347caabcdf590e71cfcba6",
+ "host": "192.168.1.15:41786",
+ "credentials": [
+ "27e40800fb7c50741d003e663dc52ceb",
+ "82e724ac255aeba716f89ffb76514d22"
+ ],
+ "start": "2012-04-02 21:02:20 +0200",
+ "num_cores": 4,
+ "config": {
+ "index": 0,
+ "version": "1.8",
+ "ip_route": null,
+ "node_timeout": 5,
+ "z_interval": null,
+ "allow_over_provisioning": null,
+ "max_nats_payload": null,
+ "additional_options": {
+ "resque": null,
+ "upload_temp_dir": null
+ },
+ "status": null,
+ "plan_management": null
+ },
+ "nodes": {
+ "mongodb_node_0": {
+ "available_capacity": 50,
+ "id": "mongodb_node_0",
+ "plan": "free",
+ "time": 1333402685
+ }
+ },
+ "prov_svcs": {
+
+ },
+ "orphan_instances": {
+
+ },
+ "orphan_bindings": {
+
+ },
+ "plans": [
+
+ ],
+ "uptime": "0d:2h:35m:47s",
+ "mem": 48340,
+ "cpu": 0.1
+}
@@ -0,0 +1,46 @@
+{
+ "type": "MyaaS-Node",
+ "index": 0,
+ "uuid": "0-1a86909fd0dc58115f7d3ba819009aa3",
+ "host": "192.168.1.15:51388",
+ "credentials": [
+ "b67983fa2ae556b843fc49b04c80e030",
+ "e00bca1bc40f2e9d2da5f13703935f64"
+ ],
+ "start": "2012-04-02 21:02:43 +0200",
+ "num_cores": 4,
+ "config": {
+ "index": 0,
+ "plan": "free",
+ "capacity": 50,
+ "base_dir": "/var/vcap/services/mysql/",
+ "ip_route": null,
+ "node_id": "mysql_node_0",
+ "z_interval": null,
+ "local_db": "sqlite3:/var/vcap/services/mysql/mysql_node.db",
+ "migration_nfs": "/mnt/migration",
+ "max_nats_payload": null,
+ "mysqldump_bin": "mysqldump",
+ "gzip_bin": "gzip",
+ "mysql_bin": "mysql",
+ "max_db_size": 20,
+ "max_long_query": 3,
+ "max_long_tx": 30,
+ "max_user_conns": null,
+ "socket": null
+ },
+ "queries_since_startup": 32197,
+ "queries_per_second": 3.6333333333333333,
+ "database_status": [
+
+ ],
+ "max_capacity": 50,
+ "available_capacity": 50,
+ "long_queries_killed": 0,
+ "long_transactions_killed": 0,
+ "provision_served": 0,
+ "binding_served": 0,
+ "uptime": "0d:2h:29m:49s",
+ "mem": 48884,
+ "cpu": 0.2
+}
Oops, something went wrong.

0 comments on commit af728d3

Please sign in to comment.