tc.microservices.transformationapi
1.2K
This repository contains images for the TrueCommerce Transformation Service
The prefered way to deploy/run is through the usage of a compose file. Using environment variables is the recommended way of overriding parameters.
version: '3.4' services: tc.microservices.transformationapi: image: truecommerce/tc.microservices.transformationapi #container_name: transformationapi restart: always ports: - "30200:80" environment: # GitHub repository information to be used for Foundry Map Repository / Translation Repository # required if PreferredRepository is set to TMO # GitHub map repository URL for Foundry transformations # default in container is https://github.com/TrueCommerce/TC-MapRepo.git # uncomment the following line if you want to override #- TransformationApi__MapRepositoryGitHub__Url=https://github.com/TrueCommerce/TC-MapRepo.git # GiHub map repository user name & password for Foundry transformations # defaults to an empty string because GitHub repository will allow # for non-authenticated Clones/Pulls # uncomment the following lines if you want to override #- TransformationApi__MapRepositoryGitHub__User= #- TransformationApi__MapRepositoryGitHub__Password= # GitHub map repository branch and local repository folder for Foundry transformations # # format string parameters for GitHub branch & local repository folder. # # {0} can be used for tenant id, # {1} can be used for tenant name (cleaned) # {2} can be used for first char of tenant name # # these parameters can be used to build out the format sctrings for the # remote GitHub branch and local repository folder. you can use any combination # of parameters and static text as long as it is valid within the context of # the setting. # # for example: # "Branch": "DEV/{1}", # "Folder": "map_repo/{0}" # # valid remote branches can be based off of the folowing values # DEV|Q1|Q2|Q3|R1|S1|PROD # - TransformationApi__MapRepositoryGitHub__Branch=DEV/{1} - TransformationApi__MapRepositoryGitHub__Folder=map_repo/{0} # Elastic Search URL used for logging # default setting in container is http://localhost:9200 # uncomment the following line if you want to override #- Logging__Elasticsearch__nodeUris=http://localhost:9200 # Foundry Security Microservice URL used for authentication # default setting in container is http://localhost:30100 # uncomment the following line if you want to override #- Foundry__Security__RootUrl=http://localhost:30100 # Translation Middle Tier Microservice URL used for translation # lookuups. # default setting in container is http://localhost:12850/odata # uncomment the following line if you want to override #- Translation__MiddleTier__RootUrl=http://localhost:12850/odata # Translation specific logging parameters - Logging__LogLevel__TransformationApi.Controllers.TransformationControler=Warning - Logging__LogLevel__Tc.Microservices.Transformation.Transformation=Warning
{ "TransformationApi": { "PreferredRepository": "Foundry", // SQL connection to Integrator_Shared to be used for TMO Map Repository / Translation Repository "MapRepositoryTMO": { "SqlConnection": "Server=(local); Database=Integrator_Shared; User Id=sa; Password=Password1" }, "MapRepositoryGitHub": { "Url": "https://github.com/TrueCommerce/TC-MapRepo.git", "User": "", "Password": "", // format string for GitHub branch. // {0} can be used for tenant id, // {1} can be used for tenant name (cleaned) // {2} can be used for first char of tenant name "Branch": "", // "DEV/{1}" "Folder": "map_repo/{0}" }, "CorsOriginAllowed": "", //"; allowed separated CORS origins", "License": { "LicenseName": "Transformation", "LicenseVersion": "1.0", "ConnectionType": "Integration", "TransformationModule": "Main", "TranslationModule": "Main", "ValidationModule": "Main" } }, "Foundry": { "Security": { "RootUrl": "http://localhost:30100" } }, "Translation": { "MiddleTier": { "RootUrl": "http://localhost:12850/odata" } }, "Logging": { "IncludeScopes": true, "LogLevel": { "Default": "Warning", "System": "Warning", "Microsoft": "None", "Audit": "Information", "TransformationApi.Controllers.TransformationControler": "Warning", "Tc.Microservices.Transformation.Transformation": "Warning" }, "Elasticsearch": { "nodeUris": "http://localhost:9200", "indexFormats": [ { "contextPrefix": "", "indexFormat": "transformation-api-core-global-{0:yyyy.MM.dd}" }, { "contextPrefix": "Microsoft.AspNetCore", "indexFormat": "transformation-api-aspnet-global-{0:yyyy.MM.dd}" }, { "contextPrefix": "Microsoft.EntityFramework", "indexFormat": "transformation-api-ef-global-{0:yyyy.MM.dd}" }, { "contextPrefix": "Audit", "indexFormat": "transformation-api-audit-{0:yyyy.MM.dd}" } ] } }, "AllowedHosts": "" }
Content type
Image
Digest
Size
101.3 MB
Last updated
about 5 years ago
docker pull truecommerce/tc.microservices.transformationapi