├── .gitignore ├── .gitmodules ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── TODO ├── af.gemspec ├── bin └── af ├── caldecott_helper ├── Gemfile ├── Gemfile.lock └── server.rb ├── config ├── clients.yml └── micro │ ├── offline.conf │ ├── paths.yml │ └── refresh_ip.rb ├── lib ├── cli.rb ├── cli │ ├── commands │ │ ├── admin.rb │ │ ├── apps.rb │ │ ├── base.rb │ │ ├── manifest.rb │ │ ├── micro.rb │ │ ├── misc.rb │ │ ├── services.rb │ │ └── user.rb │ ├── config.rb │ ├── console_helper.rb │ ├── core_ext.rb │ ├── errors.rb │ ├── file_helper.rb │ ├── frameworks.rb │ ├── manifest_helper.rb │ ├── runner.rb │ ├── services_helper.rb │ ├── tunnel_helper.rb │ ├── usage.rb │ ├── version.rb │ └── zip_util.rb ├── vmc.rb └── vmc │ ├── client.rb │ ├── const.rb │ ├── micro.rb │ └── micro │ ├── switcher │ ├── base.rb │ ├── darwin.rb │ ├── dummy.rb │ ├── linux.rb │ └── windows.rb │ └── vmrun.rb └── spec ├── assets ├── app_info.txt ├── app_listings.txt ├── app_not_found.txt ├── bad_create_app.txt ├── console_access.txt ├── delete_app.txt ├── global_service_listings.txt ├── good_create_app.txt ├── good_create_service.txt ├── info_authenticated.txt ├── info_nil_usage.txt ├── info_return.txt ├── info_return_bad.txt ├── invalid_console_access.txt ├── list_users.txt ├── login_fail.txt ├── login_success.txt ├── manifests │ ├── bad-manifest.yml │ ├── my-manifest.yml │ ├── someapp │ │ ├── manifest.yml │ │ └── somedir │ │ │ └── somesubdir │ │ │ └── .gitignore │ ├── somenomanifestapp │ │ └── .gitignore │ ├── sub-manifest.yml │ └── sym-manifest.yml ├── resources_return.txt ├── sample_token.txt ├── service_already_exists.txt ├── service_gateway_fail.txt ├── service_listings.txt ├── service_not_found.txt ├── standalone_app_info.txt └── user_info.txt ├── spec_helper.rb └── unit ├── cli_opts_spec.rb ├── client_spec.rb ├── command_admin_spec.rb ├── command_apps_spec.rb ├── command_info_spec.rb ├── command_services_spec.rb ├── command_user_spec.rb ├── console_helper_spec.rb ├── file_helper_spec.rb ├── frameworks_spec.rb ├── manifests_spec.rb ├── micro_cmd_spec.rb ├── services_helper_spec.rb ├── switcher_spec.rb └── vmrun_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/.gitmodules -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/Rakefile -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/TODO -------------------------------------------------------------------------------- /af.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/af.gemspec -------------------------------------------------------------------------------- /bin/af: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/bin/af -------------------------------------------------------------------------------- /caldecott_helper/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/caldecott_helper/Gemfile -------------------------------------------------------------------------------- /caldecott_helper/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/caldecott_helper/Gemfile.lock -------------------------------------------------------------------------------- /caldecott_helper/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/caldecott_helper/server.rb -------------------------------------------------------------------------------- /config/clients.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/config/clients.yml -------------------------------------------------------------------------------- /config/micro/offline.conf: -------------------------------------------------------------------------------- 1 | no-resolv 2 | log-queries 3 | -------------------------------------------------------------------------------- /config/micro/paths.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/config/micro/paths.yml -------------------------------------------------------------------------------- /config/micro/refresh_ip.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/config/micro/refresh_ip.rb -------------------------------------------------------------------------------- /lib/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli.rb -------------------------------------------------------------------------------- /lib/cli/commands/admin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/admin.rb -------------------------------------------------------------------------------- /lib/cli/commands/apps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/apps.rb -------------------------------------------------------------------------------- /lib/cli/commands/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/base.rb -------------------------------------------------------------------------------- /lib/cli/commands/manifest.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/manifest.rb -------------------------------------------------------------------------------- /lib/cli/commands/micro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/micro.rb -------------------------------------------------------------------------------- /lib/cli/commands/misc.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/misc.rb -------------------------------------------------------------------------------- /lib/cli/commands/services.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/services.rb -------------------------------------------------------------------------------- /lib/cli/commands/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/commands/user.rb -------------------------------------------------------------------------------- /lib/cli/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/config.rb -------------------------------------------------------------------------------- /lib/cli/console_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/console_helper.rb -------------------------------------------------------------------------------- /lib/cli/core_ext.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/core_ext.rb -------------------------------------------------------------------------------- /lib/cli/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/errors.rb -------------------------------------------------------------------------------- /lib/cli/file_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/file_helper.rb -------------------------------------------------------------------------------- /lib/cli/frameworks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/frameworks.rb -------------------------------------------------------------------------------- /lib/cli/manifest_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/manifest_helper.rb -------------------------------------------------------------------------------- /lib/cli/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/runner.rb -------------------------------------------------------------------------------- /lib/cli/services_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/services_helper.rb -------------------------------------------------------------------------------- /lib/cli/tunnel_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/tunnel_helper.rb -------------------------------------------------------------------------------- /lib/cli/usage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/usage.rb -------------------------------------------------------------------------------- /lib/cli/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/version.rb -------------------------------------------------------------------------------- /lib/cli/zip_util.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/cli/zip_util.rb -------------------------------------------------------------------------------- /lib/vmc.rb: -------------------------------------------------------------------------------- 1 | module VMC; end 2 | 3 | require 'vmc/client' 4 | -------------------------------------------------------------------------------- /lib/vmc/client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/client.rb -------------------------------------------------------------------------------- /lib/vmc/const.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/const.rb -------------------------------------------------------------------------------- /lib/vmc/micro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/micro.rb -------------------------------------------------------------------------------- /lib/vmc/micro/switcher/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/micro/switcher/base.rb -------------------------------------------------------------------------------- /lib/vmc/micro/switcher/darwin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/micro/switcher/darwin.rb -------------------------------------------------------------------------------- /lib/vmc/micro/switcher/dummy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/micro/switcher/dummy.rb -------------------------------------------------------------------------------- /lib/vmc/micro/switcher/linux.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/micro/switcher/linux.rb -------------------------------------------------------------------------------- /lib/vmc/micro/switcher/windows.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/micro/switcher/windows.rb -------------------------------------------------------------------------------- /lib/vmc/micro/vmrun.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/lib/vmc/micro/vmrun.rb -------------------------------------------------------------------------------- /spec/assets/app_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/app_info.txt -------------------------------------------------------------------------------- /spec/assets/app_listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/app_listings.txt -------------------------------------------------------------------------------- /spec/assets/app_not_found.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/app_not_found.txt -------------------------------------------------------------------------------- /spec/assets/bad_create_app.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/bad_create_app.txt -------------------------------------------------------------------------------- /spec/assets/console_access.txt: -------------------------------------------------------------------------------- 1 | username: cfuser 2 | password: testpw -------------------------------------------------------------------------------- /spec/assets/delete_app.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/delete_app.txt -------------------------------------------------------------------------------- /spec/assets/global_service_listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/global_service_listings.txt -------------------------------------------------------------------------------- /spec/assets/good_create_app.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/good_create_app.txt -------------------------------------------------------------------------------- /spec/assets/good_create_service.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/good_create_service.txt -------------------------------------------------------------------------------- /spec/assets/info_authenticated.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/info_authenticated.txt -------------------------------------------------------------------------------- /spec/assets/info_nil_usage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/info_nil_usage.txt -------------------------------------------------------------------------------- /spec/assets/info_return.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/info_return.txt -------------------------------------------------------------------------------- /spec/assets/info_return_bad.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/info_return_bad.txt -------------------------------------------------------------------------------- /spec/assets/invalid_console_access.txt: -------------------------------------------------------------------------------- 1 | username: cfuser -------------------------------------------------------------------------------- /spec/assets/list_users.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/list_users.txt -------------------------------------------------------------------------------- /spec/assets/login_fail.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/login_fail.txt -------------------------------------------------------------------------------- /spec/assets/login_success.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/login_success.txt -------------------------------------------------------------------------------- /spec/assets/manifests/bad-manifest.yml: -------------------------------------------------------------------------------- 1 | foo: ${bad-symbol} 2 | -------------------------------------------------------------------------------- /spec/assets/manifests/my-manifest.yml: -------------------------------------------------------------------------------- 1 | foo: 1 2 | bar: 2 3 | -------------------------------------------------------------------------------- /spec/assets/manifests/someapp/manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/manifests/someapp/manifest.yml -------------------------------------------------------------------------------- /spec/assets/manifests/someapp/somedir/somesubdir/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/assets/manifests/somenomanifestapp/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/assets/manifests/sub-manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/manifests/sub-manifest.yml -------------------------------------------------------------------------------- /spec/assets/manifests/sym-manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/manifests/sym-manifest.yml -------------------------------------------------------------------------------- /spec/assets/resources_return.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/resources_return.txt -------------------------------------------------------------------------------- /spec/assets/sample_token.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/sample_token.txt -------------------------------------------------------------------------------- /spec/assets/service_already_exists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/service_already_exists.txt -------------------------------------------------------------------------------- /spec/assets/service_gateway_fail.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/service_gateway_fail.txt -------------------------------------------------------------------------------- /spec/assets/service_listings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/service_listings.txt -------------------------------------------------------------------------------- /spec/assets/service_not_found.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/service_not_found.txt -------------------------------------------------------------------------------- /spec/assets/standalone_app_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/standalone_app_info.txt -------------------------------------------------------------------------------- /spec/assets/user_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/assets/user_info.txt -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/unit/cli_opts_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/cli_opts_spec.rb -------------------------------------------------------------------------------- /spec/unit/client_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/client_spec.rb -------------------------------------------------------------------------------- /spec/unit/command_admin_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/command_admin_spec.rb -------------------------------------------------------------------------------- /spec/unit/command_apps_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/command_apps_spec.rb -------------------------------------------------------------------------------- /spec/unit/command_info_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/command_info_spec.rb -------------------------------------------------------------------------------- /spec/unit/command_services_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/command_services_spec.rb -------------------------------------------------------------------------------- /spec/unit/command_user_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/command_user_spec.rb -------------------------------------------------------------------------------- /spec/unit/console_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/console_helper_spec.rb -------------------------------------------------------------------------------- /spec/unit/file_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/file_helper_spec.rb -------------------------------------------------------------------------------- /spec/unit/frameworks_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/frameworks_spec.rb -------------------------------------------------------------------------------- /spec/unit/manifests_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/manifests_spec.rb -------------------------------------------------------------------------------- /spec/unit/micro_cmd_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/micro_cmd_spec.rb -------------------------------------------------------------------------------- /spec/unit/services_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/services_helper_spec.rb -------------------------------------------------------------------------------- /spec/unit/switcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/switcher_spec.rb -------------------------------------------------------------------------------- /spec/unit/vmrun_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appfog/af/HEAD/spec/unit/vmrun_spec.rb --------------------------------------------------------------------------------