Commit d64c3bc1 authored by Nathaniel Moraca's avatar Nathaniel Moraca

added license to tests and other files

parent e62cecef
Pipeline #7876246 passed with stage
in 1 minute and 26 seconds
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
const express = require('express');
const bodyParser = require('body-parser');
const cookieParser = require('cookie-parser');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
function Config(){
this.port = 8891;
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
const config = require('./config');
const mongoose = require('mongoose');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
const mongoose = require('mongoose');
var Message = require('../../models/message');
var Queue = require('../../models/queue');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
var Queue = require('../../models/queue');
var Message = require('../../models/message');
var Subscription = require('../../models/subscription');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
const mongoose = require('mongoose');
var Subscription = require('../../models/subscription');
var Queue = require('../../models/queue');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
var messageRoutes = require('../../routes/message-routes');
var messages = require('../../routes/messages');
var Queue = require('../../models/queue');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
var queueRoutes = require('../../routes/queue-routes');
var queues = require('../../routes/queues');
const mongoose = require('mongoose');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
var queueRoutes = require('../../routes/queue-routes');
var queues = require('../../routes/queues');
var Queue = require('../../models/queue');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
const mongoose = require('mongoose');
var subscriptionRoutes = require('../../routes/subscription-routes');
var Subscription = require('../../models/subscription');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
var sinon = require('sinon');
var utils = require('../utils');
var config = require('../config');
......
/*
This document is part of the source code and related artifacts
for Parcel, an open source RESTful messaging project.
Copyright (C) 2017 (TocoDev LLC)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact us at info@tocodev.com.
*/
const config = require('./config');
const request = require('request');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment