Skip to content

Commit

Permalink
feat:: add CoCreate/cron-jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Sep 12, 2024
1 parent c2d1c6b commit 065202d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 12 additions & 2 deletions CoCreate.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ module.exports = {
path: "postmark",
initialize: "ServerClient",
unload: "10000"
}
},
// googleapis: {
// event: "googleapis",
// path: "googleapis",
// initialize: "auth.OAuth2",
// unload: "10000"
// }
},

// Horizontal scaling configuration
Expand Down Expand Up @@ -73,6 +79,10 @@ module.exports = {
'path': '../CoCreate-components/CoCreate-cli',
'repo': 'github.com/CoCreate-app/CoCreate-cli.git'
},
{
'path': '../CoCreate-components/CoCreate-cron-jobs',
'repo': 'github.com/CoCreate-app/CoCreate-cron-jobs.git'
},
{
'path': '../CoCreate-components/CoCreate-crud-server',
'repo': 'github.com/CoCreate-app/CoCreate-crud-server.git'
Expand All @@ -94,7 +104,7 @@ module.exports = {
'repo': 'github.com/CoCreate-app/CoCreate-metrics.git'
},
{
'path': '../CoCreate-components/CoCreate-mongodb',
'path': '../CoCreate-plugins/CoCreate-mongodb',
'repo': 'github.com/CoCreate-app/CoCreate-mongodb.git'
},
{
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"@cocreate/authenticate": "^1.9.2",
"@cocreate/authorize": "^1.14.1",
"@cocreate/config": "^1.12.5",
"@cocreate/cron-jobs": "^1.0.0",
"@cocreate/crud-server": "^1.34.8",
"@cocreate/file-server": "^1.16.7",
"@cocreate/industry": "^1.21.4",
Expand All @@ -65,6 +66,7 @@
"@cocreate/usage": "^1.1.2",
"@cocreate/users": "^1.37.1",
"@cocreate/uuid": "^1.11.4",
"googleapis": "^143.0.0",
"openai": "^4.43.0",
"postmark": "^4.0.2",
"stripe": "^15.5.0"
Expand Down
2 changes: 2 additions & 0 deletions src/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const createDb = require('../installation/createDB');
const lazyLoader = require('@cocreate/lazy-loader');
const masterMap = require('./masterMap');
const nginx = require('@cocreate/nginx');
const cronJobs = require('@cocreate/cron-jobs');
const urlUploader = require('@cocreate/url-uploader');

module.exports.init = async function (cluster, server) {
Expand Down Expand Up @@ -59,6 +60,7 @@ module.exports.init = async function (cluster, server) {
new unique(crud);
new organizations(crud);
new users(crud);
new cronJobs(crud);
new urlUploader(crud);
} else {
console.log('organization_id could not be found')
Expand Down

0 comments on commit 065202d

Please sign in to comment.