+
Skip to content

Webini/metadata-service

Repository files navigation

Systeme

dep : Guessit

Contracts

Dependencies

This microservice bind the FILE_EXCHANGE exchange and retreive all file.create and file.deleted messages

file.created

The message must contains:

{
  "objectId": "UUID <String(36)>",
  "data": {
    "basename": "Full file name without path <String>",
    "length": "File size <unsigned int64>"
  } 
}
file.deleted dependency

The message must contains:

{
  "objectId": "UUID<String(36)>"
}

API

@todo

Env

Variable Default Description
TMDB_API_KEY TheMovieDb api key
TMDB_DEFAULT_RETRY_DELAY 20 When we cannot retreive the retry-after header, this provide the default timeout value
TMDB_KILL_RETRY_AFTER 20 Cancel the request retry after 20 failed requests
SERVER_HOST localhost server host
SERVER_PORT 8080 server port
DATABASE_DIALECT mariadb Database dialect cf sequelize dialect, don't forget to fork & install your connector if you are'nt going to use sqlite
DATABASE metadata Database name
DATABASE_USER Database user
DATABASE_PASSWORD   Database password
DATABASE_HOST Database host
DATABASE_LOGGING 0 Database logging, it will output all queries
DATABASE_PORT Database port
DATABASE_STORAGE Database storage cf sequelize doc
RABBITMQ_URL RabbitMQ url (format like amqp://localhost:5672 )
FILE_EXCHANGE transmission-service Exchange used for retreiving files to process
METADATA_EXCHANGE metadata Exchange name of this service
SENTRY_URL Sentry url (https://<key>@sentry.io/<project>)
ELASTICSEARCH_HOST localhost:9200  Specify the host that this client will connect to. Auto sniffing is activated.
ELASTICSEARCH_AUTH Specifies the default http auth as a String with username and password separated by a colon (eg. user:pass). Applies to any host defined in the original config, and any hosts discovered while sniffing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载