Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 142 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,142 @@
# Ignore these files
*.txt
*scratch.*
vocabulary_data/dev_*/*.csv
vocabulary_data/**/*.txt
vocabulary_data/**/test*.sql
vocabulary_data/**/_test*.sql
vocabulary_data/**/*.html
vocabulary_data/**/download/
vocabulary_data/**/log
backup/
build/
.gradle/
.idea/**
_/

# But not these
!vocabulary_data/dev_*/*result/*.csv
# Created by .ignore support plugin (hsz.mobi)
### Eclipse template

.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# Eclipse Core
.project

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet
### Java template
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
### Gradle template
.gradle
/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries

# Mongo Explorer plugin:
.idea/**/mongoSettings.xml

## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

/.idea/
6 changes: 5 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions .idea/modules/GradleProject.iml

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 0 additions & 27 deletions Update_HCPCS.gradle → HSPCS/Update_HCPCS.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,6 @@
****************************
*/

group 'com.sci.vocabulary'
version '1.0-SNAPSHOT'

apply plugin: 'java'
apply plugin: 'idea'

sourceCompatibility = 1.8

buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'org.apache.poi:poi:3.9'
classpath 'org.apache.poi:poi-ooxml:3.9'
}
}

repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile 'org.apache.poi:poi:3.9'
compile 'org.apache.poi:poi-ooxml:3.9'
}

import groovy.io.FileType
import org.apache.poi.ss.usermodel.Cell
Expand Down
File renamed without changes.
34 changes: 2 additions & 32 deletions Update_HCPCS_Part1.gradle → HSPCS/Update_HCPCS_Part1.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,10 @@
****************************
*/

group 'com.sci.vocabulary'
version '1.0-SNAPSHOT'

apply plugin: 'java'

sourceCompatibility = 1.8

buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'org.apache.poi:poi:3.9'
classpath 'org.apache.poi:poi-ooxml:3.9'
classpath 'javax.mail:javax.mail-api:1.5.5'
}
}

repositories {
mavenLocal()
mavenCentral()
}

configurations {
mail
}

dependencies {
mail 'org.apache.ant:ant-javamail:1.8.1'
}

import groovy.io.FileType
import org.apache.poi.ss.usermodel.Cell
Expand Down Expand Up @@ -512,17 +485,14 @@ task loadStage(dependsOn: importData, description: project.properties['loadStage
def logFile = "${tempDir.getPath()}/${project.properties['loadStage.logFileName']}"
def streamLogFile = "${tempDir.getPath()}/${project.properties['loadStage.streamLogFileName']}"
def streamErrorFile = "${tempDir.getPath()}/${project.properties['loadStage.streamErrFileName']}"
def logFileProcedureDrug = "${tempDir.getPath()}/${project.properties['loadStage.logProcedureDrugFileName']}"

def db = [un: project.properties['db.userName'],
pw: project.properties['db.password'],
tns: project.properties['db.tnsName'],
sqlfile: "${project.properties['basePath']}/${project.properties['loadStage.sqlFileName']}",
logfile: logFile,
contextPath: "${project.properties['basePath']}",
logfileProcedureDrug: logFileProcedureDrug]
logfile: logFile]
def sout = new StringBuilderWrapper(), serr = new StringBuilderWrapper()
def sqlplus= """sqlplus ${db.un}/${db.pw}@${db.tns} @${db.sqlfile} ${db.logfile} ${db.contextPath} ${db.logfileProcedureDrug}""".execute()
def sqlplus= """sqlplus ${db.un}/${db.pw}@${db.tns} @${db.sqlfile} ${db.logfile}""".execute()
sqlplus.consumeProcessOutput(sout, serr)
sqlplus.waitFor()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ loadStage.description=Load Stage Part1
#loadStage.sqlFileName=mock\\03.mock_load_stage_part1.sql
loadStage.sqlFileName=03.load_stage_part1.sql
loadStage.logFileName=load_stage_part1.log
loadStage.logProcedureDrugFileName=procedure_drug.log
loadStage.streamLogFileName=load_stage_stream_part1.log
loadStage.streamErrFileName=load_stage_stream_part1.err

Expand Down
Loading