Skip to content

Commit

Permalink
renaming to shovel
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Gray committed May 6, 2018
1 parent 45b5df6 commit 6e9f06c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Snowplow serverless
# Shovel

[![Build Status](https://travis-ci.org/acgray/snowplow-serverless.svg?branch=master)](https://travis-ci.org/acgray/snowplow-serverless)
![Shovel](https://cdn.pbrd.co/images/HjY2A1V.png)

Experimental Serverless version of the [Snowplow](https://www.snowplowanalytics.com)
[![Build Status](https://travis-ci.org/acgray/shovel.svg?branch=master)](https://travis-ci.org/acgray/shovel)

Like a little [Snowplow](https://www.snowplowanalytics.com) without the mechanics :)

Experimental Serverless port of the [Snowplow](https://www.snowplowanalytics.com)
stack, powered by AWS Lambda, Kinesis and API Gateway.

**THIS IS EXPERIMENTAL SOFTWARE AND ALMOST CERTAINLY NOT USABLE IN PRODUCTION.
Expand All @@ -16,7 +20,7 @@ with Snowplow Analytics Ltd or the official Snowplow project.*
Clone the repository:

```
git clone [email protected]:acgray/snowplow-serverless.git
git clone [email protected]:acgray/shovel.git
```

Deploy the application:
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sbt.Keys._
import sbt._
import sbtrelease.Version

name := "snowplow-serverless"
name := "shovel"

resolvers ++= Seq(
Resolver.sonatypeRepo("public"),
Expand Down
10 changes: 4 additions & 6 deletions serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Serverless framework configuration for Snowplow Serverless Collector

service: snowplow-serverless
service: shovel

provider:
name: aws
Expand Down Expand Up @@ -49,7 +47,7 @@ package:

functions:
options:
handler: io.github.acgray.snowplow.serverless.collector.OptionsHandler
handler: io.github.acgray.shovel.collector.OptionsHandler
events:
- http:
path: /{proxy+}
Expand All @@ -59,7 +57,7 @@ functions:
- Access-Control-Allow-Credentials
- Access-Control-Allow-Headers
collector:
handler: io.github.acgray.snowplow.serverless.collector.CollectorHandler
handler: io.github.acgray.shovel.collector.CollectorHandler
environment:
KINESIS_STREAM_NAME:
Ref: RawEventsStream
Expand All @@ -77,7 +75,7 @@ functions:
- Access-Control-Allow-Origin
- Access-Control-Allow-Credentials
enrich:
handler: io.github.acgray.snowplow.serverless.enrich.Handler
handler: io.github.acgray.shovel.enrich.Handler
environment:
KINESIS_GOOD_STREAM_NAME:
Ref: EnrichedEventsStream
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.github.acgray.snowplow.serverless.collector
package io.github.acgray.shovel.collector

import java.nio.ByteBuffer
import java.util.Base64

import com.amazonaws.services.kinesis.AmazonKinesisClient
import com.amazonaws.services.lambda.runtime.{Context, RequestHandler}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.acgray.snowplow.serverless.collector;
package io.github.acgray.shovel.collector;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.acgray.snowplow.serverless.collector
package io.github.acgray.shovel.collector

import scala.beans.BeanProperty

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.acgray.snowplow.serverless.enrich
package io.github.acgray.shovel.enrich

import java.nio.ByteBuffer
import java.nio.charset.StandardCharsets
Expand Down

0 comments on commit 6e9f06c

Please sign in to comment.