-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
584 additions
and
500 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
|
||
application { | ||
|
||
|
||
env = dev | ||
|
||
version = "1.0" | ||
name="Wurrly API" | ||
|
||
|
||
|
||
|
||
name="Wurrly API" | ||
# tmpdir | ||
tmpdir = ${java.io.tmpdir}/${application.name} | ||
|
||
|
@@ -31,7 +27,9 @@ application { | |
# date format | ||
dateFormat = dd-MMM-yyyy | ||
|
||
defaultResponseListener = "com.wurrly.server.handlers.ServerDefaultResponseListener" | ||
fallbackHandler = "io.proteus.server.handlers.ServerFallbackHandler" | ||
|
||
defaultResponseListener = "io.proteus.server.handlers.ServerDefaultResponseListener" | ||
# number format, system default. set it at runtime | ||
# numberFormat = DecimalFormat.getInstance(${application.lang})).toPattern() | ||
|
||
|
@@ -44,13 +42,20 @@ application { | |
# redirect to/force https | ||
# example: https://my.domain.com/{0} | ||
redirect_https = "" | ||
|
||
|
||
|
||
|
||
} | ||
|
||
api.version="v1" | ||
|
||
globalHeaders | ||
{ | ||
# Access-Control-Allow-Origin: "*" | ||
# Access-Control-Allow-Methods: "*" | ||
# Access-Control-Allow-Headers: "*" | ||
Server: ${application.name} | ||
} | ||
|
||
|
||
assets { | ||
path = "/public" | ||
|
@@ -60,193 +65,6 @@ assets { | |
} | ||
} | ||
|
||
# images | ||
image.size.min=120 | ||
image.size.max=3200 | ||
image.quality.max=80 | ||
|
||
# cassandra | ||
|
||
|
||
cassandra.keyspace="wurrly" | ||
cassandra.queryLimit=100 | ||
cassandra.connections.max=100 | ||
cassandra.connections.min=5 | ||
|
||
#redis | ||
|
||
redis.port=6379 | ||
redis.password=null | ||
redis.maxTotal=1024 | ||
redis.maxIdle=10 | ||
redis.minIdle=5 | ||
|
||
#elasticsearch | ||
|
||
es.index.name="wurrly" | ||
|
||
|
||
|
||
#graph | ||
|
||
graph.enabled = true | ||
|
||
# analytics | ||
|
||
events.batch.size=10 | ||
|
||
# okhttp | ||
|
||
okhttp.timeout=10 | ||
|
||
# azure | ||
|
||
azure.accountName="wurrly" | ||
azure.accessKey.primary="lQyT2OeOYeNoYh/NX58LKCMFue6YYp7gjWLvH+2c5oq1s/jE0ur6kkN25oWn5vGDYdQgREmaZZHI6qpjs/FlnA==" | ||
azure.accessKey.secondary="qYB2MkSrgsEAiXfFCVfG0xK7DDkmRCI8Y1KH0iWaQz+k+OdbLyOO8jax+ZqStWg0XIQL1SA099eUEcWGtCjRIA==" | ||
|
||
#ebean models | ||
|
||
ebean.default=[ "models.MediaContent", "models.VideoOverlay", "models.Mask", "models.ContentResource", "models.Content", "models.Hero", "models.Battle", "models.Tip", "models.PlaylistCategory", "models.Collaboration", "models.Review", "models.Collaborator", "models.CollaboratorComment", "models.MediaPurchase","models.AdminActivity","models.Playlist","models.SongTrack","models.Feature","models.Publisher","models.Label","models.Credentials","models.WurrlyModel","models.ArtistFact","models.ArtistQuestion","models.Property","models.Artist","models.Wurrly","models.Song","models.Report","models.Competition","models.Event","models.Comment", "models.User","models.adapter.UserEntityListener","models.adapter.SongEntityListener","models.adapter.WurrlyEntityListener"] | ||
|
||
# akka | ||
|
||
subsystem.worker.count=12 | ||
subsystem.worker.timeout=60000 | ||
|
||
# netty | ||
|
||
play.http.parser.maxMemoryBuffer=256000K | ||
play.http.parser.maxDiskBuffer=256000K | ||
|
||
# location | ||
|
||
location.country.db.path="support/geo/Country.mmdb" | ||
location.city.db.path="support/geo/City.mmdb" | ||
location.iso.codes.path="support/geo/territories.json" | ||
location.default.region="GB" | ||
|
||
# hashids | ||
|
||
hashids.salt="3C0B0AEF-794F-4D89-9EEE-476CE9A89DFB" | ||
|
||
# newrelic | ||
|
||
newrelic.license.key="a9bfbe086c5964de4617fa0280077dd2273d3a6b" | ||
|
||
# users | ||
|
||
user.feed.item.limit=1500 | ||
user.default.avatarPath="4c/50/b8/36/e7e2bf69ca.png" | ||
user.default.bannerPath="57/60/9b/8f/61341a91f0.png" | ||
user.password.backdoor="happyasaclamindecember" | ||
|
||
|
||
# google cloud messaging | ||
|
||
gcm.senderId=1095155988888 | ||
gcm.apiKey="AIzaSyDbHS8u7LEZQcr3_WooM5Ib-DUEU8HTCfU" | ||
|
||
|
||
# twilio | ||
|
||
twilio.number="+16467987759" | ||
twilio.sid="AC8a33a9fc51927ccd980ac919cdadcba5" | ||
twilio.token="de44558f9a980b337512eb60b812f31a" | ||
|
||
|
||
|
||
#api | ||
|
||
api.authentication.header="X-Wurrly-Auth" | ||
api.authentication.key="213fe69502445ed67ae8b99d22838802" | ||
|
||
# hfa | ||
hfa.royaltyId.length=10 | ||
|
||
# shopify | ||
shopify.api.key=769375b638f4a6132df62f3c10fdab21 | ||
shopify.api.password=7f950bbb21cf43c0afe8c050907993b3 | ||
shopify.api.secret=a9c0ebee8d529e05ded128c1738afbcb | ||
shopify.login="[email protected]" | ||
shopify.password="wuRR1y" | ||
shopify.authorization="Basic NzY5Mzc1YjYzOGY0YTYxMzJkZjYyZjNjMTBmZGFiMjE6N2Y5NTBiYmIyMWNmNDNjMGFmZThjMDUwOTA3OTkzYjM=" | ||
shopify.shop.url="https://wurrly.myshopify.com/admin" | ||
shopify.expiration.days=6 | ||
shopify.product.image.prefix="http://cdn1.wurrly.co/images/w550/" | ||
shopify.domain="wurrly.myshopify.com" | ||
shopify.channel.mobile="23087876" | ||
shopify.product.price="1.99" | ||
|
||
#migration | ||
migration.baseUrl="http://imaging.wurrly.co:4444/wurrlies?" | ||
|
||
#itms | ||
itms.secret="a1f89c67d6e34599b1056b3f42f1c735" | ||
itms.verification.production.url="https://buy.itunes.apple.com/verifyReceipt" | ||
itms.verification.sandbox.url="https://sandbox.itunes.apple.com/verifyReceipt" | ||
|
||
#subscriptions | ||
|
||
user.max.wurrlies=20 | ||
|
||
#notifications | ||
|
||
notifications.enabled=1 | ||
|
||
#collaborations | ||
|
||
collaborations.maxUsers=4 | ||
|
||
#mailchimp | ||
|
||
|
||
mailchimp.base.url="https://us9.api.mailchimp.com/3.0/" | ||
|
||
#password | ||
|
||
user.default.password="$2a$10$6T5QVxo16r7qoSdwm9Hx/.rJzWuMQEFoJ6X/VL0DKY0uxaO.XSjBa" | ||
|
||
#battles | ||
|
||
battle.voting.duration=48 | ||
|
||
#sift | ||
|
||
sift.api.key="GT4cFVEZegH4N5jxq5rj" | ||
sift.api.url="https://wur28vu8.pottymouthfilter.com/v1/" | ||
|
||
include "swagger.conf" | ||
|
||
# The application languages | ||
# ~~~~~ | ||
|
||
|
||
# Router | ||
# ~~~~~ | ||
# Define the Router object to use for this application. | ||
# This router will be looked up first when the application is starting up, | ||
# so make sure this is the entry point. | ||
# Furthermore, it's assumed your route file is named properly. | ||
# So for an application router like `my.application.Router`, | ||
# you may need to define a router file `conf/my.application.routes`. | ||
# Default to Routes in the root package (and conf/routes) | ||
# play.http.router = my.application.Routes | ||
|
||
# Database configuration | ||
# ~~~~~ | ||
# You can declare as many datasources as you want. | ||
# By convention, the default datasource is named `default` | ||
# | ||
# db.default.driver=org.h2.Driver | ||
# db.default.url="jdbc:h2:mem:play" | ||
# db.default.username=sa | ||
# db.default.password="" | ||
|
||
# Evolutions | ||
# ~~~~~ | ||
# You can disable evolutions if needed | ||
# play.evolutions.enabled=false | ||
|
||
# You can disable evolutions for a specific datasource if necessary | ||
# play.evolutions.db.default.enabled=false | ||
|
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
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
File renamed without changes.
Oops, something went wrong.