8000 java-docs-samples/datastore at iot-mqtt-tests · Netsoro/java-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"path":"datastore","repo":{"id":114879306,"defaultBranch":"master","name":"java-docs-samples","ownerLogin":"Netsoro","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2017-12-20T11:25:47.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1739996?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"iot-mqtt-tests","listCacheKey":"v0:1615367246.068171","canEdit":false,"refType":"branch","currentOid":"1a4f20a6199e498a0d523f3e369e63c4861c6f63"},"tree":{"items":[{"name":"cloud-client","path":"datastore/cloud-client","contentType":"directory"},{"name":"src","path":"datastore/src","contentType":"directory"},{"name":"README.md","path":"datastore/README.md","contentType":"file"},{"name":"pom.xml","path":"datastore/pom.xml","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eDatastore Samples\u003c/h2\u003e\u003ca id=\"user-content-datastore-samples\" class=\"anchor\" aria-label=\"Permalink: Datastore Samples\" href=\"#datastore-samples\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis directory contains sample code used in Google Cloud Datastore documentation. Included here is a sample command line application, \u003ccode\u003eTaskList\u003c/code\u003e, that interacts with Datastore to manage a to-do list.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRun the \u003ccode\u003eTaskList\u003c/code\u003e sample application.\u003c/h2\u003e\u003ca id=\"user-content-run-the-tasklist-sample-application\" class=\"anchor\" aria-label=\"Permalink: Run the TaskList sample application.\" href=\"#run-the-tasklist-sample-application\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003eEnsure that you have:\u003c/li\u003e\n\u003c/ol\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eCreated a Google Developers Console project with the Datastore API enabled. Follow \u003ca href=\"https://cloud.google.com/docs/authentication#preparation\" rel=\"nofollow\"\u003ethese instructions\u003c/a\u003e to get your project set up.\u003c/li\u003e\n\u003cli\u003eInstalled the Google Cloud SDK and run the following commands in command line: \u003ccode\u003egcloud auth application-default login\u003c/code\u003e and \u003ccode\u003egcloud config set project [YOUR PROJECT ID]\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eInstalled \u003ca href=\"https://maven.apache.org/\" rel=\"nofollow\"\u003eMaven\u003c/a\u003e and Java 7 (or above).\u003c/li\u003e\n\u003c/ul\u003e\n\u003col start=\"2\" dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eCompile the program by typing \u003ccode\u003emvn clean compile\u003c/code\u003e in command line.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eRun the program by typing \u003ccode\u003emvn exec:java\u003c/code\u003e in command line. In addition to listing tasks via this command line interface, you can view tasks you create in the \u003ca href=\"https://console.cloud.google.com/\" rel=\"nofollow\"\u003eGoogle Cloud Developer's Console\u003c/a\u003e.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":2,"text":"Datastore Samples","anchor":"datastore-samples","htmlText":"Datastore Samples"},{"level":2,"text":"Run the TaskList sample application.","anchor":"run-the-tasklist-sample-application","htmlText":"Run the TaskList sample application."}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FNetsoro%2Fjava-docs-samples%2Ftree%2Fiot-mqtt-tests%2Fdatastore"}},"totalCount":4,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":".kokoro","path":".kokoro","contentType":"directory"},{"name":"appengine-java8","path":"appengine-java8","contentType":"directory"},{"name":"appengine","path":"appengine","contentType":"directory"},{"name":"bigquery","path":"bigquery","contentType":"directory"},{"name":"cloud-tasks","path":"cloud-tasks","contentType":"directory"},{"name":"compute","path":"compute","contentType":"directory"},{"name":"dataflow","path":"dataflow","contentType":"directory"},{"name":"datastore","path":"datastore","contentType":"directory"},{"name":"dlp","path":"dlp","contentType":"directory"},{"name":"endpoints","path":"endpoints","contentType":"directory"},{"name":"errorreporting","path":"errorreporting","contentType":"directory"},{"name":"firestore","path":"firestore","contentType":"directory"},{"name":"flexible","path":"flexible","contentType":"directory"},{"name":"iap","path":"iap","contentType":"directory"},{"name":"iot","path":"iot","contentType":"directory"},{"name":"kms","path":"kms","contentType":"directory"},{"name":"language","path":"language","contentType":"directory"},{"name":"logging","path":"logging","contentType":"directory"},{"name":"mlengine","path":"mlengine","contentType":"directory"},{"name":"monitoring","path":"monitoring","contentType":"directory"},{"name":"pubsub","path":"pubsub","contentType":"directory"},{"name":"spanner","path":"spanner","contentType":"directory"},{"name":"speech","path":"speech","contentType":"directory"},{"name":"storage","path":"storage","contentType":"directory"},{"name":"translate","path":"translate","contentType":"directory"},{"name":"unittests","path":"unittests","contentType":"directory"},{"name":"video","path":"video","contentType":"directory"},{"name":"vision","path":"vision","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"ISSUE_TEMPLATE.md","path":"ISSUE_TEMPLATE.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"codecov.yml","path":"codecov.yml","contentType":"file"},{"name":"pom.xml","path":"pom.xml","contentType":"file"}],"totalCount":36}},"fileTreeProcessingTime":3.101921,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/Netsoro/java-docs-samples/branches":{"post":"DwXPry3IYz7MTnk8XgN739AbrDPsSvXiERtCNyhbgMUYyWDmOCT0qkQhcBgjvHbFxBGPaBsXAejqVnTJm4TcAw"},"/Netsoro/java-docs-samples/branches/fetch_and_merge/iot-mqtt-tests":{"post":"jx1iKAsY7OJ4JbHAl4pW-kGqoXQsqMFbpKUmzV8RBS0fCBLZZ1SH0Sbz9QnGiUbH4AbgnERIAcTOdoTnGAZFpw"},"/Netsoro/java-docs-samples/branches/fetch_and_merge/iot-mqtt-tests?discard_changes=true":{"post":"yWbScxVVgGFCV2GkCOWm8H8ob4SBkPja4BmX0rHadhdZc6KCeRnrUhyBJW1Z5rbN3oQubOlwOEWKyjX49s02nQ"}}},"title":"java-docs-samples/datastore at iot-mqtt-tests · Netsoro/java-docs-samples","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0