Skip to content

Commit

Permalink
Initial Commit (with errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cache Staheli committed Jun 9, 2017
0 parents commit 5cee33b
Show file tree
Hide file tree
Showing 50 changed files with 6,961 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Created by .ignore support plugin (hsz.mobi)
### 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
### 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*
16 changes: 16 additions & 0 deletions .idea/compiler.xml

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

13 changes: 13 additions & 0 deletions .idea/misc.xml

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

8 changes: 8 additions & 0 deletions .idea/modules.xml

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

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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

109 changes: 109 additions & 0 deletions DecodePC.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Sample config for DecodePCode v0.61
# See also the sample files for SVN and Git

# Connection parameters and output specification for the first environment
# database user requires select rights on PSPCMPROG PSPCMNAME PSSQLDEFN PSSQLTEXTDEFN PSPROJECTITEM PSPACKAGEDEFN and (ptools >= 8.52) PSPCMTXT;

# Oracle database:
user=sysadm_ro
password=Password1
dbowner=sysadm
driverClass=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@192.168.2.23:1521/HRDEV


# MS SQL Server database
#user=sacrm
#password=sacrm
#url=jdbc:sqlserver://192.168.2.22;DatabaseName=CRMDEV
#dbowner=dbo
#driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver

# The following parameter can be used if the database server is in another time zone
# than the box running this app: this number of minutes will be subtracted from
# the 'last-time' time stamp before comparing it to the LASTUPDDTTM fields
#last-time-offset=60

# If you have ptools >= 8.52, there will be a table 'PSPCMTXT'' with the plain-text PeopleCode.
# this table will be read unless the following property is uncommented
# (you may want to do this to avoid commits due to white-text diffs)
#AlwaysDecode=true


# output specification for when writing output to files (using DecodePCode.bat or java call with arg[0] = ProcessToFile)
outdir=.\\DEV


# parameters for Subversion processing (DecodePCODE_SVN.bat or arg[0]= ProcessToSVN)
svnurl=svn://192.168.56.101/project1
svnbase=/trunk/PeopleCode

# any number of Subversion users, with mapping from PSOPRDEFN profiles (format OPRID/SVN_name/password)
# the first entry is the default (used if the PSPCMPROG.LASTUPDOPRID value is not listed here).
# You may want to use an entry like this (user 'custom' will show up in your SVN client)
svnuser=dummy/custom/secret
# and use this value so that delivered code shows up as 'oracle':
svnuser1=PPLSOFT/oracle/secret
svnuser2=JOHN/johnny/secret


# parameters for Git processing (DecodePCODE_Git.bat or arg[0]= ProcessToGit)
# Location of Git work directory (with .git subfolder); repository will be created if necessary
gitdir=c:\\temp\\git\\test1
gitbase=HRDEV
# next parameters will define Git author if PS user not found
gituser=dummy/custom/some_dude@ourcompany.com
# any number of other PS users, with name/email to use for Git submits
gituser1=PPLSOFT/PeopleSoft/someone@oracle.com
gituser2=JOHN/John Doe/john_doe@ourcompany.com




# next statement specifies a second environment (UAT), and the type of processing
#processUAT=ProcessToSVN
#processUAT=ProcessToFile
#processUAT=ProcessToGit

# New in 0.60: 'ancestor' property. If set, it indicates one of the other environments.
# When a PeopleCode program is added to the repository, its version of the ancestor environment
# is submitted in the active branch, prior to submitting the version from the active environment.
# typically, a DEV environment will have a PROD ancestor, a PROD environment will have DEMO for ancestor;
# the history for an object in DEV will then be
# version from DEMO > version from PROD > first submitted version in DEV > later versions in DEV.
#
# ancestor=PROD

# db parameters for this environment
userUAT=sysadm_ro
passwordUAT=qwerty
urlUAT=jdbc:oracle:thin:@192.168.2.23:1521/HRUAT
dbownerUAT=sysadm

# output specification for when submitting to SVN (ProcessUAT=ProcessToSVN) ; svnurl and svnuser* not necessary

# svnbase* (or gitbase*) no longer required - if not specified, this environment will not be submitted to a separate folder,
# and the environment will only be used for the 'ancestor' commit
#svnbaseUAT=/branches/UAT
#gitbaseUAT=HRUAT

# non-base environments can also have an ancestor:
ancestorUAT=PROD

# output specification for when writing output to files (ProcessUAT=ProcessToFile)
outdirUAT=c:\\temp\\PeopleCode\\UAT


# the last section can be repeated for other environments:
#processPROD=ProcessToSVN
#processPROD=ProcessToFile
userPROD=sysadm_ro
passwordPROD=!!skjfwkefh^
urlPROD=jdbc:oracle:thin:@192.168.2.23:1521/HRPROD
dbownerPROD=sysadm
#svnbasePROD=/branches/PROD
outdirPROD=c:\\temp\\PeopleCode\\PROD

# This part for three-way merge: specify path for diff and patch programs
GNUdiff=c:\\progs\\gnu\\diff.exe
GNUpatch=c:\\progs\\gnu\\patch.exe
5 changes: 5 additions & 0 deletions DecodePCODE.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off

REM connects to PeopleSoft database, and creates subdirectories in working dir with extracted PeopleCode and SQL text.

java -classpath .\bin;ojdbc5.jar;sqljdbc4.jar -Djava.util.logging.config.file=logger.properties decodepcode.Controller ProcessToFile %*
4 changes: 4 additions & 0 deletions DecodePCODE.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# connects to PeopleSoft database, and creates subdirectories in working dir with extracted PeopleCode and SQL text.

java -classpath ./bin:ojdbc5.jar:sqljdbc4.jar -Djava.util.logging.config.file=logger.properties decodepcode.Controller ProcessToFile $*
5 changes: 5 additions & 0 deletions DecodePCODE_Git.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off

REM connects to PeopleSoft database, decodes PeopleCode bytecode and submits it to a Git repository

java -classpath .\bin;ojdbc5.jar;sqljdbc4.jar;jgit.jar -Djava.util.logging.config.file=logger.properties decodepcode.Controller ProcessToGit %*
4 changes: 4 additions & 0 deletions DecodePCODE_Git.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# connects to PeopleSoft database, decodes PeopleCode bytecode and submits it to a Git repository
# to be run from the DecodePCode directory, with the 'bin' subfolder and the .jar files (jgit.jar, ojdbc5.jar for Oracle, sqljdbc4.jar for SQL Server)

$PS_HOME/jre/bin/java -classpath ./bin:ojdbc5.jar:sqljdbc4.jar:jgit.jar -Djava.util.logging.config.file=logger.properties decodepcode.Controller ProcessToGit $*
8 changes: 8 additions & 0 deletions DecodePCODE_Merge.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off

REM three-way merge
REM .jar files as present in SVNKit library (here for org.tmatesoft.svn_1.7.5-v1.standalone.zip)
REM unzip the jar files that this zip file contains, and check the exact names of jar files listed in the class path
REM Depending on the version of SVNKit, you may need to list more of the .jar files.

java -classpath .\bin;svnkit-1.7.5-v1.jar;sequence-library-1.0.2.jar;antlr-runtime-3.4.jar -Djava.util.logging.config.file=logger.properties decodepcode.svn.MergePeopleCodeTrees %*
5 changes: 5 additions & 0 deletions DecodePCODE_SVN.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off

REM connects to PeopleSoft database, decodes PeopleCode bytecode and submits it to a Subversion version control system

java -classpath .\bin;ojdbc5.jar;sqljdbc4.jar;svnkit.jar -Djava.util.logging.config.file=logger.properties decodepcode.Controller ProcessToSVN %*
4 changes: 4 additions & 0 deletions DecodePCODE_SVN.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# connects to PeopleSoft database, decodes PeopleCode bytecode and submits it to a Subversion repository
# to be run from the DecodePCode directory, with the 'bin' subfolder and the .jar files (svnkit.jar, ojdbc5.jar for Oracle, sqljdbc4.jar for SQL Server)

$PS_HOME/jre/bin/java -classpath ./bin:ojdbc5.jar:sqljdbc4.jar:svnkit.jar -Djava.util.logging.config.file=logger.properties decodepcode.Controller ProcessToSVN $*
Loading

0 comments on commit 5cee33b

Please sign in to comment.