This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
sudo yum update | |
sudo yum install java-1.7.0-openjdk.x86_64 -y | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.9.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
mv elasticsearch-* elasticsearch | |
sudo mv elasticsearch /usr/local/share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package design // The convention consists of naming the design | |
// package "design" | |
import ( | |
. "github.com/goadesign/goa/design" // Use . imports to enable the DSL | |
. "github.com/goadesign/goa/design/apidsl" | |
) | |
var _ = API("cellar", func() { // API defines the microservice endpoint and | |
Title("The virtual wine cellar") // other global properties. There should be one | |
Description("A simple goa service") // and exactly one API definition appearing in |