Merge pull request #62 from AAVikings/master

Updating module description and adding minio config
This commit is contained in:
benme authored and GitHub committed 2019-04-09 21:31:23 +02:00
commit 9943a18019
5 files changed
+59 -26

No files matched your search

+2 -2
View File
@@ -72,7 +72,7 @@ class AddClone extends Component {
size='big'
title='Create a bot clone'
text="Please login to create a bot clone."
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else return (
@@ -81,7 +81,7 @@ class AddClone extends Component {
size='medium'
title='Create a bot clone'
text='Create a bot clone here.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
<div className='container'>
+8 -8
View File
@@ -23,7 +23,7 @@ class HistoryClones extends Component {
size='big'
title='Bot Clone History'
text='Loading your Bot Clones...'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else if (data.operations_HistoryClones && data.operations_HistoryClones.length > 0) {
@@ -33,7 +33,7 @@ class HistoryClones extends Component {
size='medium'
title='Bot Clone History'
text='All your Bot Clones are here.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
<div className='container'>
@@ -53,7 +53,7 @@ class HistoryClones extends Component {
size='big'
title='Bot Clone History'
text='Please login to gain access to your Bot Clones.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else {
@@ -62,7 +62,7 @@ class HistoryClones extends Component {
size='big'
title='Bot Clone History'
text="You don't have any Clone yet. Once you create one you will find it here."
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
}
@@ -75,7 +75,7 @@ class HistoryClones extends Component {
size='big'
title='Manage your Bot Clones'
text='Loading Bot Clones...'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else if (data.operations_HistoryClones && data.operations_HistoryClones.length > 0) {
@@ -85,7 +85,7 @@ class HistoryClones extends Component {
size='big'
title='Manage your Bot Clones'
text='Loading Bot Clones...'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
<div className='container'>
@@ -105,7 +105,7 @@ class HistoryClones extends Component {
size='big'
title='No Bot Clones to display'
text='Please Login to access your Bot Clones.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else {
@@ -115,7 +115,7 @@ class HistoryClones extends Component {
size='big'
title='No Bot Clones to display'
text="You don't have any Bot Clone yet. After you create a new Clone, it will be listed here."
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
}
+8 -8
View File
@@ -23,7 +23,7 @@ class BrowseClones extends Component {
size='big'
title='Your Bot Clones'
text='Loading your Bot Clones...'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else if (data.operations_Clones && data.operations_Clones.length > 0) {
@@ -33,7 +33,7 @@ class BrowseClones extends Component {
size='medium'
title='Your Bot Clones'
text='All your Bot Clones are here.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
<div className='container'>
@@ -53,7 +53,7 @@ class BrowseClones extends Component {
size='big'
title='Your Bot Clones'
text='Please login to gain access to your Bot Clones.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else {
@@ -62,7 +62,7 @@ class BrowseClones extends Component {
size='big'
title='Your Bot Clones'
text="You don't have any Bot Clone yet. Once you create one you will find it here."
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
}
@@ -75,7 +75,7 @@ class BrowseClones extends Component {
size='big'
title='Manage your Bot Clones'
text='Loading Bot Clones...'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else if (data.operations_Clones && data.operations_Clones.length > 0) {
@@ -85,7 +85,7 @@ class BrowseClones extends Component {
size='big'
title='Manage your Bot Clones'
text='Loading Bot Clones...'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
<div className='container'>
@@ -105,7 +105,7 @@ class BrowseClones extends Component {
size='big'
title='No Bot Clones to display'
text='Please Login to access your Bot Clones.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
} else {
@@ -115,7 +115,7 @@ class BrowseClones extends Component {
size='big'
title='No Bot Clones to display'
text="You don't have any Bot Clone yet. After you create a new Clone, it will be listed here."
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
)
}
+19 -8
View File
@@ -4,31 +4,42 @@ import TopBar from './BannerTopBar'
class Home extends Component {
render () {
render() {
return (
<React.Fragment>
<TopBar
size='big'
title='Clones Module'
text='Responsible for manage bot clones.'
backgroundUrl='https://superalgos.org/img/photos/ecosystem.jpg'
text='Creating and managing bot clones'
backgroundUrl='https://superalgos.org/img/photos/clones-original.jpg'
/>
<div className='homePage container'>
<Typography variant='h1' align='center' className='title'>
Welcome to the Clones Module!
Clones Module
</Typography>
<Typography variant='h2' align='center' className='subtitle'>
Responsible for manage bot clones.
Creating and managing bot clones
</Typography>
<div className='column'>
<Typography align='justify'>
The Clones module allows you to create instances of your bots
that will be executed on a virtual machine.
The clones module allows creating and managing the execution of bot’s code.
It also stores the metadata information of the clones and handles the interaction
with the orchestration software.
</Typography>
<Typography align='justify'>
It integrates with other system modules to enable secure and encapsulated execution of the
bots. On the clone creation process the encapsulation is achieved by deploying a Clone Executor
Image on a Kubernetes container.
</Typography>
</div>
<div className='column'>
<Typography align='justify' />
<Typography align='justify'>
Bots are executed using the common framework called Clone Executor which provides support for commonly used resources.
</Typography>
<Typography align='justify'>
When creating a new clone, specific execution parameters are selected, for example the exchange and the time period that the bot will operate in.
</Typography>
</div>
</div>
+22
View File
@@ -47,6 +47,28 @@ const createClone = async (clone) => {
'value': process.env.AUTH_AUDIENCE
})
// MINIO
env.push({
'name': 'MINIO_END_POINT',
'value': process.env.MINIO_END_POINT
})
env.push({
'name': 'MINIO_PORT',
'value': process.env.MINIO_PORT
})
env.push({
'name': 'MINIO_USE_SSL',
'value': process.env.MINIO_USE_SSL
})
env.push({
'name': 'MINIO_ACCESS_KEY',
'value': process.env.MINIO_ACCESS_KEY
})
env.push({
'name': 'MINIO_SECRET_KEY',
'value': process.env.MINIO_SECRET_KEY
})
logger.debug('createClone General Financial Being Configuration.')
env.push({
'name': 'DEV_TEAM',