-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mavenized (w/o DAST & SAST)
- Loading branch information
0 parents
commit f6b131f
Showing
1,176 changed files
with
544,895 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="target/classes" path="src"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/AccessJL-2.3.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/AccessJL-bin.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/C2_OAuth.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/EncryptL-bin.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/iauthenticate.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/lingpipe-4.1.0.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/mimepull.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/oauth.jar"/> | ||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/oauth.net.jar"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>iDashboard</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.wst.common.project.facet.core.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.wst.validation.validationbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> | ||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature> | ||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src/main/webapp"/> | ||
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="target/m2e-wtp/web-resources"/> | ||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject"> | ||
<attributes> | ||
<attribute name="hide" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/> | ||
<classpathentry kind="output" path=""/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore | ||
org.eclipse.jdt.core.compiler.release=disabled | ||
org.eclipse.jdt.core.compiler.source=1.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
resolveWorkspaceProjects=true | ||
version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> | ||
<wb-module deploy-name="iDashboard-1.5.0-SNAPSHOT"> | ||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> | ||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/> | ||
<property name="context-root" value="iDashboard"/> | ||
<property name="java-output-path" value="/iDashboard/target/classes"/> | ||
</wb-module> | ||
</project-modules> |
7 changes: 7 additions & 0 deletions
7
iDashboard/.settings/org.eclipse.wst.common.project.facet.core.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<faceted-project> | ||
<fixed facet="wst.jsdt.web"/> | ||
<installed facet="java" version="1.8"/> | ||
<installed facet="jst.web" version="2.5"/> | ||
<installed facet="wst.jsdt.web" version="1.0"/> | ||
</faceted-project> |
1 change: 1 addition & 0 deletions
1
iDashboard/.settings/org.eclipse.wst.jsdt.ui.superType.container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Blur Admin</title> | ||
|
||
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900&subset=latin,greek,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic' rel='stylesheet' type='text/css'> | ||
|
||
<link rel="icon" type="image/png" sizes="16x16" href="assets/img/favicon-16x16.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="assets/img/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="assets/img/favicon-96x96.png"> | ||
|
||
<!-- build:css({.tmp/serve,src}) styles/404.css --> | ||
<!-- inject:css --> | ||
<link rel="stylesheet" href="app/404.css"> | ||
<!-- endinject --> | ||
<!-- endbuild --> | ||
</head> | ||
<body ng-controller="LoginCtrl"> | ||
<div class="page-not-found-modal" style="margin-left: 35%;"> | ||
<h1>401 Error</h1> | ||
|
||
<p>You don't have permission. <a href="" ng-click="logout()">Logout</a></p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Class-Path: | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
log4j.appender.file=org.apache.log4j.RollingFileAppender | ||
log4j.appender.file.File=log4j-application.log | ||
log4j.appender.file.MaxFileSize=5MB | ||
log4j.appender.file.MaxBackupIndex=10 | ||
log4j.appender.file.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n | ||
|
||
|
||
|
||
|
Binary file added
BIN
+34.7 MB
iDashboard/WebContent/WEB-INF/classes/nlptrainers/en-parser-chunking.bin
Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
iDashboard/WebContent/WEB-INF/classes/properties/CayleyUtility.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
function isAvailable(node) | ||
{ | ||
var json = {}; | ||
try | ||
{ | ||
json.isTokenizer = g.V(node).In("tokenize").ToValue() != null | ||
json.isWholeWord = (g.V(node).Out().ToValue() != null); | ||
json.isObject = ((g.V(node).Has("of type","Object").ToValue() != null)||(g.V(node).In("tokenize").Has("of type","Object").ToValue() != null)); | ||
} | ||
catch(e) | ||
{ | ||
json.isWholeWord = (false); | ||
} | ||
g.Emit(json); | ||
} | ||
|
||
function isValueAvailable(attributeRelation,value) | ||
{ | ||
g.Emit(g.V().Has(attributeRelation,value).ToArray().length > 0) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
function NER(sentence) | ||
{ | ||
var words = sentence.split(" "), tempObj, count=0, prevIndex; | ||
var array = [], temp, output=[], tempArray=[], copyArray, elements=[]; | ||
for(var i=0;i<words.length;i++){ | ||
if(g.V(words[i]).In("tokenize").ToValue() == null) | ||
output = getType(output,words[i]); | ||
else | ||
array.push(i); | ||
} | ||
copyArray = array; | ||
array.forEach(function(currenIndex){ | ||
if((count == 0)||(currenIndex-1 != prevIndex)) | ||
{ | ||
count=1; | ||
prevIndex=currenIndex; | ||
elements=[]; | ||
elements.push(currenIndex); | ||
tempObj = g.V(words[currenIndex]).In("tokenize"); | ||
} | ||
else if(currenIndex-1 == prevIndex) | ||
{ | ||
tempObj = tempObj.Intersect(g.V(words[currenIndex]).In("tokenize")); | ||
if(tempObj.ToArray().length == 0) | ||
{ | ||
count=1; | ||
prevIndex=currenIndex; | ||
elements=[]; | ||
elements.push(currenIndex); | ||
tempObj = g.V(words[currenIndex]).In("tokenize"); | ||
|
||
} | ||
else | ||
{ | ||
count++; | ||
prevIndex=currenIndex; | ||
elements.push(currenIndex); | ||
tempArray = tempObj.ToArray(); | ||
for(var i=0;i<tempArray.length;i++) | ||
{ | ||
if(tempArray[i].split(" ").length == count) | ||
{ | ||
output = getType(output,tempArray[i]); | ||
copyArray = _.difference(copyArray,elements); | ||
count=0; | ||
elements=[]; | ||
break; | ||
} | ||
} | ||
} | ||
} | ||
}); | ||
array.forEach(function(element){ | ||
output = getType(output,words[element]); | ||
}); | ||
|
||
g.Emit(output); | ||
} | ||
|
||
function getType(output,value) | ||
{ | ||
var isA = null, ofType = null; | ||
var type=[], json={}; | ||
|
||
isA = g.V(value).Out("is a"); | ||
ofType = g.V(value).Out("of type"); | ||
type = isA.Union(ofType).ToArray(); | ||
if(type.length != 0) | ||
{ | ||
json.key=value; | ||
json.type=type; | ||
output.push(json); | ||
} | ||
|
||
return output; | ||
} |
9 changes: 9 additions & 0 deletions
9
iDashboard/WebContent/WEB-INF/classes/properties/admintemplate.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright Information 2013, Cognizant Technology Solutions, All rights | ||
# reserved. | ||
# | ||
# This document is protected by copyright. No part of this document may be | ||
# reproduced in any form by any means without prior written authorization of | ||
# Cognizant Technology Solutions and its licensors, if any. | ||
|
||
|
||
NumberOfTemplate=5 |
24 changes: 24 additions & 0 deletions
24
iDashboard/WebContent/WEB-INF/classes/properties/config.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright Information 2013, Cognizant Technology Solutions, All rights | ||
# reserved. | ||
# | ||
# This document is protected by copyright. No part of this document may be | ||
# reproduced in any form by any means without prior written authorization of | ||
# Cognizant Technology Solutions and its licensors, if any. | ||
|
||
|
||
|
||
dbservice=http://127.0.0.1:64210/ | ||
dbselect=api/v1/query/gremlin | ||
queryfile=properties/getData.js | ||
newqueryfile=properties/newGetData.js | ||
d3queryfile=properties/getDataForD3.js | ||
chatbotqueryfile=properties/getDataForChatBot.js | ||
getobjects=properties/getObjects.js | ||
|
||
nerqueryfile=properties/NER.js | ||
utilityfile=properties/CayleyUtility.js | ||
|
||
|
||
|
||
dependencytrainingfile=nlptrainers/en-parser-chunking.bin | ||
tokenizertrainingfile=nlptrainers/en-token.bin |
16 changes: 16 additions & 0 deletions
16
iDashboard/WebContent/WEB-INF/classes/properties/dashboardConfig.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright Information 2015, Cognizant Technology Solutions, All rights | ||
# reserved. | ||
# | ||
# This document is protected by copyright. No part of this document may be | ||
# reproduced in any form by any means without prior written authorization of | ||
# Cognizant Technology Solutions and its licensors, if any. | ||
|
||
|
||
LICENSE_FILE_PATH = LICENSE_FILE_PATH = C:\\Program Files (x86)\\Apache Software Foundation\\Tomcat 7.0\\webapps\\License\\pandora.elf | ||
|
||
CAPTCHA_KEY = 6LeCi2MUAAAAACmT5vTmbuACR24AVyXO5oWpy3AR | ||
|
||
|
||
# CAPTCHA_KEY for localhost - 6LeCi2MUAAAAACmT5vTmbuACR24AVyXO5oWpy3AR | ||
# CAPTCHA_KEY for staging (85) - 6LeKRWUUAAAAAK7SsrorIgHZWZEpUJLhSRk6mx2w | ||
# CAPTCHA_KEY for production (215) - 6LegR2UUAAAAAIPYs0H3UXjhlGBr2hGCbQ7gsGKy |
Oops, something went wrong.