Skip to content

Commit

Permalink
Remove All of trademarks
Browse files Browse the repository at this point in the history
  • Loading branch information
emotionbug committed Feb 7, 2022
1 parent 2b7fe60 commit 63ed188
Show file tree
Hide file tree
Showing 37 changed files with 83 additions and 1,791 deletions.
1 change: 0 additions & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ github:
- postgresql-extension
- graphdb
- multi-model-dbms
- agensgraph
- age-database
features:
wiki: true
Expand Down
6 changes: 0 additions & 6 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,13 @@
],
"scripts": {
"test": "mocha -r @babel/register --exit --timeout 100000",
"test:connector": "mocha -r @babel/register --exit --timeout 10000 ./test/connector.api.test.js",
"test:metachart": "mocha -r @babel/register --exit --timeout 10000 ./test/meta.api.test.js",
"test:cypher": "mocha -r @babel/register --exit --timeout 10000 ./test/cypher.api.test.js",
"test:session": "mocha -r @babel/register --exit --timeout 10000 ./test/session.api.test.js",
"test:query": "mocha -r @babel/register --exit --timeout 10000 ./test/cypher.service.test.js",
"test:ageParsing": "mocha -r @babel/register --exit --timeout 10000 ./test/ageParsing.test.js",
"start": "babel-node src/bin/www",
"start:dev": "nodemon --watch src/app.js --watch src/ --exec 'babel-node' src/bin/www",
"build": "babel -d ./build ./src -s",
"start:production": "node ./build/bin/www.js"
},
"dependencies": {
"@bitnine-oss/ag-driver": "^0.1.0",
"antlr4": "^4.9.2",
"cookie-parser": "~1.4.5",
"cors": "^2.8.5",
Expand Down
24 changes: 0 additions & 24 deletions backend/sql/graph_labels/AGENS.sql

This file was deleted.

22 changes: 0 additions & 22 deletions backend/sql/label_count_edge/AGENS.sql

This file was deleted.

21 changes: 0 additions & 21 deletions backend/sql/label_count_vertex/AGENS.sql

This file was deleted.

23 changes: 0 additions & 23 deletions backend/sql/meta_edges/AGENS.sql

This file was deleted.

22 changes: 0 additions & 22 deletions backend/sql/meta_nodes/AGENS.sql

This file was deleted.

24 changes: 0 additions & 24 deletions backend/sql/property_keys/AGENS.sql

This file was deleted.

6 changes: 0 additions & 6 deletions backend/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/

import FeatureRouter from "./routes/FeatureRouter";

const express = require('express');
const cors = require('cors');
const session = require('express-session');
Expand All @@ -29,7 +26,6 @@ const logger = require('morgan');
const {stream} = require('./config/winston');
const cypherRouter = require('./routes/cypherRouter');
const databaseRouter = require('./routes/databaseRouter');
const remoteLoginRouter = require('./routes/remoteLoginRouter');
const sessionRouter = require('./routes/sessionRouter');
const app = express();

Expand Down Expand Up @@ -59,11 +55,9 @@ app.use(express.json());
app.use(express.urlencoded({extended: false}));
app.use(cookieParser());

app.use('/agensviewer', sessionRouter, remoteLoginRouter);
app.use('/api/v1/*', sessionRouter);
app.use('/api/v1/cypher', cypherRouter);
app.use('/api/v1/db', databaseRouter);
app.use('/api/v1/feature', FeatureRouter);

// Error Handler
app.use(function (err, req, res, next) {
Expand Down
3 changes: 1 addition & 2 deletions backend/src/config/Flavors.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
*/

export default {
AGE: 'AGE',
AGENS: 'AGENS'
AGE: 'AGE'
}
77 changes: 0 additions & 77 deletions backend/src/controllers/FeatureController.js

This file was deleted.

41 changes: 0 additions & 41 deletions backend/src/controllers/RemoteLoginController.js

This file was deleted.

2 changes: 1 addition & 1 deletion backend/src/controllers/cypherController.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CypherController {
let connectorService = sessionService.get(req.sessionID);
if (connectorService.isConnected()) {
let cypherService = new CypherService(
connectorService.agensDatabaseHelper
connectorService.graphRepository
);
let data = await cypherService.executeCypher(req.body.cmd);
res.status(200).json(data).end();
Expand Down
3 changes: 0 additions & 3 deletions backend/src/models/GraphRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import Flavors from '../config/Flavors';
import PgConfig from '../config/Pg'

require('@bitnine-oss/ag-driver');
import pg from 'pg';
import types from 'pg-types';
import {setAGETypes} from '../tools/AGEParser';
Expand Down Expand Up @@ -62,8 +61,6 @@ class GraphRepository {
client.connect();
if (flavor === Flavors.AGE) {
await setAGETypes(client, types);
} else if (flavor === Flavors.AGENS) {
await client.query(`set graph_path = ${graph}`)
} else {
throw new Error(`Unknown flavor ${flavor}`)
}
Expand Down
32 changes: 0 additions & 32 deletions backend/src/routes/FeatureRouter.js

This file was deleted.

Loading

0 comments on commit 63ed188

Please sign in to comment.