Add LogsModule settings.

This commit is contained in:
apronotti committed 2019-03-01 17:58:29 -03:00
1 parent d86bd63b4e
commit 1f70b2a41b
2 files changed
+13 -1

No files matched your search

+5
View File
@@ -20,6 +20,7 @@ import Events from '@superalgos/events-client'
import KeyVault from '@superalgos/key-vault-client'
import FinancialBeings from '@advancedalgos/financial-beings-client'
import Operations from '@superalgos/operations-client'
import Logs from '@superalgos/logs-client'
export const auth = new Auth(
result => console.log('Authentication successful.'),
@@ -81,6 +82,10 @@ export const MasterApp = props => (
path='/clones'
render={props => <Operations {...props} auth={auth} />}
/>
<Route
path='/logs'
render={props => <Logs {...props} auth={auth} />}
/>
</Switch>
</Layout>
</MuiThemeProvider>
+8 -1
View File
@@ -70,6 +70,10 @@ async function run () {
'notifications_',
process.env.NOTIFICATIONS_API_URL,
process.env.NOTIFICATIONS_API_PRESHARED)
const transformedLogsSchema = await createTransformedRemoteSchema(
'logs_',
process.env.LOGS_API_URL,
process.env.LOGS_API_PRESHARED)
var schemas = []
var resolvers = {}
@@ -107,7 +111,10 @@ async function run () {
if (transformedNotificationsSchema) {
schemas.push(transformedNotificationsSchema)
}
if (transformedLogsSchema) {
schemas.push(transformedLogsSchema)
}
const schema = mergeSchemas({
schemas,
resolvers