I hereby claim:
- I am jpbetz on github.
- I am jpbetz (https://keybase.io/jpbetz) on keybase.
- I have a public key whose fingerprint is 8285 6E1F E419 2970 3CE3 005B 3A28 5CC9 2E7A 6394
To claim this, I am signing this object:
| The quick brown fox jumped over the lazy dog. |
| { | |
| "name" : "Greeting", "namespace" : "com.example.greetings", "type" : "record", | |
| "fields" : [ | |
| { "name" : "message", "type" : "string" } | |
| ] | |
| } |
| @RestLiCollection(name = "greetings") | |
| class GreetingsResource extends CollectionResourceTemplate<Long, Message> { | |
| public Greeting get(Long key) { | |
| return new Greeting().setMessage("Good morning!"); | |
| } | |
| } |
| Response<Greeting> response = restClient.sendRequest(new GreetingsBuilders.get().id(1L).build()).get(); | |
| System.out.println(response.getEntity().getMessage()); |
| { | |
| "name" : "Greeting", "namespace" : "com.example.greetings", "type" : "record", | |
| "fields" : [ | |
| { "name" : "message", "type" : "string" } | |
| ] | |
| } |
| This is a test |
| package com.example.fortune.impl; | |
| import com.linkedin.restli.internal.server.model.ResourceModel; | |
| import com.linkedin.restli.server.resources.ResourceFactory; | |
| import java.lang.reflect.Method; | |
| import java.util.Arrays; | |
| import java.util.Collections; | |
| import java.util.HashMap; | |
| import java.util.Map; |
I hereby claim:
To claim this, I am signing this object:
| Suggested configurations (these are executable commands): | |
| # Sets your master branch to rebase instead of merge when you "git pull" | |
| git config branch.master.rebase true | |
| # When you create/checkout a new remote branch, automatically | |
| # sets it as described above. This could also be set to "always" to include | |
| # local branches as well | |
| git config branch.autosetuprebase remote | |
| # When merging TO your master branch, allow only fast-forward merges. | |
| git config branch.master.mergeoptions --ff-only |
| export GOPATH=$(mktemp -d) | |
| export PATH=$GOPATH/bin:$PATH | |
| echo "Running in temp dir: ${GOPATH}" | |
| go get github.com/tools/godep | |
| export REPO=$GOPATH/src/github.com/jpbetz | |
| mkdir -p $REPO/p3/a/b | |
| cat > $REPO/p3/a/a.go <<EOT | |
| package a |