{ "info": { "author": "Gregor von Laszewski", "author_email": "laszewski@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "Cloudmesh\nRest\n==============\nPrerequistis\n-------------\n*\nmongo\ninstalation\n*\neve\ninstalation\n*\ncloudmesh\ncmd5\n*\ncloudmesh\nrest\nInstall\nMongo\non\nOSX\n^^^^^^^^^^^^^^^^^^^^\n::\nbrew\nupdate\nbrew\ninstall\nmongodb\n#\nbrew\ninstall\nmongodb\n--with-openssl\nInstall\nMongo\non\nOSX\n^^^^^^^^^^^^^^^^^^^^\nASSIGNMET\nTO\nSTUDENTS,\nPROVIDE\nPULL\nREQUEST\nWITH\nINSTRUCTIONS\nIntroduction\n------------\nWith\nthe\ncloudmesh\nREST\nframework\nit\nis\neasy\nto\ncreate\nREST\nservices\nwhile\ndefining\nthe\nresources\nin\nthe\nservice\neasily\nwith\nexamples.\nThe\nservice\nis\nbased\non\neve\nand\nthe\nexamples\nare\ndefined\nin\nyml\nto\nbe\nconverted\nto\njson\nand\nfrom\njson\nwith\nevegenie\ninto\na\nvalid\neve\nsettings\nfile.\nThus\noyou\ncan\neother\nwite\nyour\nexamples\nin\nyaml\nor\nin\njson.\nThe\nresources\nare\nindividually\nspecified\nin\na\ndirectory.\nThe\ndirectory\ncan\ncontain\nmultiple\nresource\nfiles.\nWe\nrecomment\nthat\nfor\neach\nresource\nyou\ndefine\nyour\nown\nfile.\nConversion\nof\nthe\nspecifications\ncan\nbe\nachieved\nwith\nthe\n`schema`\ncommand.\nYaml\nSpecification\n------------------\nLet\nus\nfirst\nintroduce\nyou\nto\na\nyaml\nspecification.\nLet\nus\nassume\nthat\nyour\nyaml\nfile\nis\ncalled\n`profile.yaml`\nand\nlocated\nin\na\ndirectory\ncalled\n`example`::\nprofile:\ndescription:\nThe\nProfile\nof\na\nuser\nemail:\nlaszewski@gmail.com\nfirstname:\nGregor\nlastname:\nvon\nLaszewski\nusername:\ngregor\nAs\neve\ntakes\njson\nobjects\nas\ndefault\nwe\nneed\nto\nconvert\nit\nfirst\nto\njson.\nThis\nis\nachieved\nwih::\ncd\nexample\ncms\nschema\nconvert\nprofile.yml\nprofile.json\nThis\nwill\nprovide\nthe\njson\nfile\n`profile.json`\nas\nListed\nin\nthe\nnext\nsection\nJson\nSpecification\n------------------\nA\nvalid\njson\nresource\nspecification\nlooks\nlike\nthis::\n{\n\"profile\":\n{\n\"description\":\n\"The\nProfile\nof\na\nuser\",\n\"email\":\n\"laszewski@gmail.com\",\n\"firstname\":\n\"Gregor\",\n\"lastname\":\n\"von\nLaszewski\",\n\"username\":\n\"gregor\"\n}\n}\nConversion\nto\nEve\nSettings\n--------------------------\nThe\njson\nfiles\nin\nthe\n~/sample\ndirectory\nneed\nnow\nto\nbe\nconverted\nto\na\nvalid\neve\nschema.\nThis\nis\nachieved\nwith\ntow\ncommands.\nFirst,\nwe\nmust\nconcatenate\nall\njson\nspecified\nresource\nexamples\ninto\na\nsingle\njson\nfile.\nWe\ndo\nthis\nwith::\ncms\nschema\ncat\n.\nall.json\nAs\nwe\nassume\nyou\nare\nin\nthe\nsamples\ndirectory,\nwe\nuse\na\n.\nfor\nthe\ncurrent\nlocation\nof\nthe\ndirectory\nthat\ncontaines\nthe\nsamples.\nNext,\nwe\nneed\nto\nconvert\nit\nto\nthe\nsettings\nfile.\nTHis\ncan\nbe\nachieved\nwith\nthe\nconvert\nprogram\nwhen\nyou\nspecify\na\njson\nfile::\ncms\nschema\nconvert\nall.json\nTHe\nresult\nwill\nbe\na\neve\nconfiguration\nfile\nthat\nyou\ncan\nuse\nto\nstart\nan\neve\nservice.\nThe\nfile\nis\ncalled\nall.settings.py\nManaging\nMongo\n^^^^^^^^^^^^^^\nNext\nyou\nneed\nto\nstart\nthe\nmongo\nservice\nwith\n::\ncms\nadmin\nmongo\nstart\nYou\ncan\nlook\nat\nthe\nstatus\nand\ninformation\nabout\nthe\nservice\nwith\n::\ncms\nadmin\nmongo\ninfo\ncms\nadmin\nmongo\nstatus\nIf\nyou\nneed\nto\nstop\nthe\nservice\nyou\ncan\nuse::\ncms\nadmin\nmongo\nstop\nManageing\nEve\n^^^^^^^^^^^^^\nNow\nit\nis\ntime\nto\nstart\nthe\nREST\nservice.\nTHis\nis\ndone\nin\na\nseparate\nwindow\nwith\nthe\nfollowing\ncommands::\ncms\nadmin\nsettings\nall.settings.json\ncms\nadmin\nrest\nstart\nThe\nfirst\ncommand\ncoppies\nthe\nsettings\nfile\nto\n~/cloudmesh/eve/settings.py\nThis\nfile\nis\nthan\nused\nby\nthe\nstart\naction\nto\nstart\nthe\neve\nservice.\nPlease\nmake\nsure\nthat\nyou\nexecute\nthis\ncommand\nin\na\nseparate\nwindow,\nas\nfor\ndebugging\npurposses\nyou\nwill\nbe\nable\nto\nmonitor\nthis\nway\ninteractions\nwith\nthis\nservice\nTesting\n-\nOLD\n^^^^^^^\n::\nmake\nsetup\n#\ninstall\nmongo\nand\neve\nmake\ninstall\n#\ninstalls\nthe\ncode\nand\nintegrates\nit\ninto\ncmd5\nmake\ndeploy\nmake\ntest", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cloudmesh/rest", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "cloudmesh.rest", "package_url": "https://pypi.org/project/cloudmesh.rest/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cloudmesh.rest/", "project_urls": { "Homepage": "https://github.com/cloudmesh/rest" }, "release_url": "https://pypi.org/project/cloudmesh.rest/1.0.7/", "requires_dist": [ "coverage", "detox", "flake8", "psutil", "pygments", "ruamel.yaml", "tox" ], "requires_python": "", "summary": "A command to manage eve and mongo locally", "version": "1.0.7" }, "last_serial": 2799571, "releases": { "1.0.4": [], "1.0.6": [ { "comment_text": "", "digests": { "md5": "c4d088e2078948e619be09db4f3fffd6", "sha256": "a665229d6f4898126803471302e3e96381cb45bb1e8987e5bb2e7ee31a667961" }, "downloads": -1, "filename": "cloudmesh.rest-1.0.6.macosx-10.12-x86_64.tar.gz", "has_sig": false, "md5_digest": "c4d088e2078948e619be09db4f3fffd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15868, "upload_time": "2017-04-12T17:02:59", "url": "https://files.pythonhosted.org/packages/d0/f6/e055b42ea152ca5934745567699ba749eb1503aa938c7422db70c049cdf1/cloudmesh.rest-1.0.6.macosx-10.12-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "278d6303658bd9714897bb88e0465ff9", "sha256": "4592d656285ca5fc86bd70b8a2fd181385012037a368c1c0601e496e74bd8eff" }, "downloads": -1, "filename": "cloudmesh.rest-1.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "278d6303658bd9714897bb88e0465ff9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14296, "upload_time": "2017-04-12T17:02:57", "url": "https://files.pythonhosted.org/packages/33/52/e6046dd61229a8c5b6d984612c949c8a871a096d1007a5cbed38cddf2241/cloudmesh.rest-1.0.6-py2.py3-none-any.whl" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "f90dca4bed89171869a06e781fcfe07b", "sha256": "25b642d74297d4d256867c7415b7907cc49f5fa10a05e83cd62c0e73a89c2d60" }, "downloads": -1, "filename": "cloudmesh.rest-1.0.7.macosx-10.12-x86_64.tar.gz", "has_sig": false, "md5_digest": "f90dca4bed89171869a06e781fcfe07b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15873, "upload_time": "2017-04-12T17:08:42", "url": "https://files.pythonhosted.org/packages/ab/68/8341f4807928f10d518ef7b01b70058fa9ca9344c7543494d91b2be3be63/cloudmesh.rest-1.0.7.macosx-10.12-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "0198c47d011d4fa433a5c1eeecb22ad3", "sha256": "63f73bb05fb419eb293e17d24b75ca27843f6356be0ba021c2cee18fd289d664" }, "downloads": -1, "filename": "cloudmesh.rest-1.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0198c47d011d4fa433a5c1eeecb22ad3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14293, "upload_time": "2017-04-12T17:08:40", "url": "https://files.pythonhosted.org/packages/25/d3/237c229679ffc2584b8c673c4262ec0709d2c9e0bb96ea5519c7107d42c0/cloudmesh.rest-1.0.7-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f90dca4bed89171869a06e781fcfe07b", "sha256": "25b642d74297d4d256867c7415b7907cc49f5fa10a05e83cd62c0e73a89c2d60" }, "downloads": -1, "filename": "cloudmesh.rest-1.0.7.macosx-10.12-x86_64.tar.gz", "has_sig": false, "md5_digest": "f90dca4bed89171869a06e781fcfe07b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15873, "upload_time": "2017-04-12T17:08:42", "url": "https://files.pythonhosted.org/packages/ab/68/8341f4807928f10d518ef7b01b70058fa9ca9344c7543494d91b2be3be63/cloudmesh.rest-1.0.7.macosx-10.12-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "0198c47d011d4fa433a5c1eeecb22ad3", "sha256": "63f73bb05fb419eb293e17d24b75ca27843f6356be0ba021c2cee18fd289d664" }, "downloads": -1, "filename": "cloudmesh.rest-1.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0198c47d011d4fa433a5c1eeecb22ad3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14293, "upload_time": "2017-04-12T17:08:40", "url": "https://files.pythonhosted.org/packages/25/d3/237c229679ffc2584b8c673c4262ec0709d2c9e0bb96ea5519c7107d42c0/cloudmesh.rest-1.0.7-py2.py3-none-any.whl" } ] }