beta_tools 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +11 -0
- data/Capfile +2 -0
- data/Gemfile +4 -0
- data/README +7 -0
- data/Rakefile +7 -0
- data/beta_tools.gemspec +31 -0
- data/bin/deploy +9 -0
- data/bin/documentation_daemon +12 -0
- data/bin/loginToUrl +6 -0
- data/bin/onVpn +6 -0
- data/bin/pub +91 -0
- data/bin/query_solr +11 -0
- data/bin/solrWebApp +6 -0
- data/conf/schema.xml +220 -0
- data/config/deploy.rb +44 -0
- data/config.ru +2 -0
- data/docs/#next_design.mmd# +0 -0
- data/features/deploy.feature +9 -0
- data/features/git.feature +15 -0
- data/features/maven.feature +21 -0
- data/features/step_definitions/deploy_steps.rb +11 -0
- data/features/step_definitions/git_steps.rb +20 -0
- data/features/step_definitions/maven_steps.rb +35 -0
- data/features/support/env.rb +8 -0
- data/int/it_tools/suite_it_tools.rb +2 -0
- data/int/it_tools/test_integ1.rb +17 -0
- data/lib/beta_tools/version.rb +3 -0
- data/lib/beta_tools.rb +5 -0
- data/lib/it_tools/calc.rb +14 -0
- data/lib/it_tools/config.ru +2 -0
- data/lib/it_tools/environment.rb +86 -0
- data/lib/it_tools/git.rb +3 -0
- data/lib/it_tools/html_publish.rb +287 -0
- data/lib/it_tools/mail.rb +21 -0
- data/lib/it_tools/maven.rb +101 -0
- data/lib/it_tools/md5.rb +4 -0
- data/lib/it_tools/multipart.rb +78 -0
- data/lib/it_tools/network_tools.rb +72 -0
- data/lib/it_tools/options.rb +46 -0
- data/lib/it_tools/pub_driver.rb +188 -0
- data/lib/it_tools/publisher2.rb +232 -0
- data/lib/it_tools/sample.rb +9 -0
- data/lib/it_tools/shared.rb +22 -0
- data/lib/it_tools/solr.rb +157 -0
- data/lib/it_tools/views/search_results.erb +16 -0
- data/log/thin.log +177 -0
- data/spec/it_tools/deploy_spec.rb +20 -0
- data/spec/spec_helper.rb +0 -0
- data/test/bin/test_pub.rb +30 -0
- data/test/cleaner.rb +6 -0
- data/test/driver.rb +24 -0
- data/test/integration/tp.rb +107 -0
- data/test/it_tools/for_debugger.rb +4 -0
- data/test/it_tools/publisher2.rb +13 -0
- data/test/it_tools/suite_it_tools.rb +6 -0
- data/test/it_tools/suite_it_tools.rb~ +13 -0
- data/test/it_tools/test_deploy.rb +83 -0
- data/test/it_tools/test_html_publish.rb +54 -0
- data/test/it_tools/test_maven.rb +31 -0
- data/test/it_tools/test_multipart.rb +31 -0
- data/test/it_tools/test_network_tools.rb +14 -0
- data/test/it_tools/test_publisher2.rb +42 -0
- data/test/it_tools/test_publisher2_support.rb +16 -0
- data/test/it_tools/test_sample.rb +10 -0
- data/test/it_tools/test_shared.rb +36 -0
- data/test/it_tools/test_solr.rb +22 -0
- data/test/it_tools/test_solr2.rb +22 -0
- data/testdata/assembly_pom.xml +157 -0
- data/testdata/desir.txt +39 -0
- data/testdata/ear_pom.xml +82 -0
- data/testdata/java.html +524 -0
- data/testdata/pom.xml +174 -0
- data/testdata/publish/src_dir/#arch.mmd# +0 -0
- data/testdata/publish/src_dir/ajax-loader.gif +0 -0
- data/testdata/publish/src_dir/file1.mmd +5 -0
- data/testdata/publish/src_dir/file2.mmd +3 -0
- data/testdata/publish/src_dir/file3.abc +0 -0
- data/testdata/publish/src_dir/file4.mmd +3 -0
- data/testdata/publish/src_dir/help.png +0 -0
- data/testdata/publish/src_dir/images/linux.jpeg +0 -0
- data/testdata/publish/src_dir/inputStyles.css +0 -0
- data/testdata/publish/src_dir/search.html +0 -0
- data/testdata/publish/src_dir/search.js +0 -0
- data/testdata/publish/target_dir/.@arch.html +0 -0
- data/testdata/publish/target_dir/file1.html +7 -0
- data/testdata/publish/target_dir/file2.html +5 -0
- data/testdata/publish/target_dir/search.js +0 -0
- data/testdata/publish/target_dir_static/.@arch.html +1 -0
- data/testdata/publish/target_dir_static/file1.html +7 -0
- data/testdata/publish/target_dir_static/index.html +1 -0
- data/testdata/publish/target_dir_static/style.css +61 -0
- data/testdata/ruby.mmd +404 -0
- data/testdata/simple.mmd +3 -0
- data/testdata/simple.xml +3 -0
- data/testdata/small.txt +2 -0
- data/testdata/utf8_chars.txt +1 -0
- metadata +338 -0
data/testdata/pom.xml
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
4
|
+
<groupId>com.oracle.ngsp</groupId>
|
5
|
+
<artifactId>crmod-ws-wrapper</artifactId>
|
6
|
+
<version>0.9.1-SNAPSHOT</version>
|
7
|
+
<parent>
|
8
|
+
<groupId>com.oracle.git.ngsp</groupId>
|
9
|
+
<artifactId>ngspParent</artifactId>
|
10
|
+
<version>0.2.1-SNAPSHOT</version>
|
11
|
+
<relativePath>../ngspParent/pom.xml</relativePath>
|
12
|
+
</parent>
|
13
|
+
<build>
|
14
|
+
<plugins>
|
15
|
+
<plugin>
|
16
|
+
<groupId>org.apache.maven.plugins</groupId>
|
17
|
+
<artifactId>maven-surefire-plugin</artifactId>
|
18
|
+
<version>2.11</version>
|
19
|
+
<dependencies>
|
20
|
+
<dependency>
|
21
|
+
<groupId>org.apache.maven.surefire</groupId>
|
22
|
+
<artifactId>surefire-junit47</artifactId>
|
23
|
+
<version>2.11</version>
|
24
|
+
</dependency>
|
25
|
+
</dependencies>
|
26
|
+
</plugin>
|
27
|
+
<plugin>
|
28
|
+
<artifactId>maven-assembly-plugin</artifactId>
|
29
|
+
<version>2.2-beta-5</version>
|
30
|
+
<configuration>
|
31
|
+
<descriptorRefs>
|
32
|
+
<descriptorRef>jar-with-dependencies</descriptorRef>
|
33
|
+
</descriptorRefs>
|
34
|
+
<archive>
|
35
|
+
<manifest>
|
36
|
+
<mainClass>com.oracle.ngsp.crmod.test.TestUtils</mainClass>
|
37
|
+
</manifest>
|
38
|
+
</archive>
|
39
|
+
</configuration>
|
40
|
+
<executions>
|
41
|
+
<execution>
|
42
|
+
<id>make-my-jar-with-dependencies</id>
|
43
|
+
<phase>package</phase>
|
44
|
+
<goals>
|
45
|
+
<goal>single</goal>
|
46
|
+
</goals>
|
47
|
+
</execution>
|
48
|
+
</executions>
|
49
|
+
</plugin>
|
50
|
+
</plugins>
|
51
|
+
</build>
|
52
|
+
<dependencies>
|
53
|
+
<dependency>
|
54
|
+
<groupId>com.oracle.git.ngsp.catSpread</groupId>
|
55
|
+
<artifactId>categorizationSpreadsheet</artifactId>
|
56
|
+
<version>0.30.0-SNAPSHOT</version>
|
57
|
+
</dependency>
|
58
|
+
<dependency>
|
59
|
+
<groupId>com.oracle.git</groupId>
|
60
|
+
<artifactId>git-common</artifactId>
|
61
|
+
<version>0.0.3</version>
|
62
|
+
</dependency>
|
63
|
+
<dependency>
|
64
|
+
<groupId>commons-codec</groupId>
|
65
|
+
<artifactId>commons-codec</artifactId>
|
66
|
+
<version>1.4</version>
|
67
|
+
</dependency>
|
68
|
+
<dependency>
|
69
|
+
<groupId>commons-collections</groupId>
|
70
|
+
<artifactId>commons-collections</artifactId>
|
71
|
+
<version>3.2.1</version>
|
72
|
+
</dependency>
|
73
|
+
<dependency>
|
74
|
+
<groupId>com.oracle.sysman</groupId>
|
75
|
+
<artifactId>emsdk</artifactId>
|
76
|
+
<version>1.0</version>
|
77
|
+
<scope>compile</scope>
|
78
|
+
</dependency>
|
79
|
+
<dependency>
|
80
|
+
<groupId>com.oracle.sysman</groupId>
|
81
|
+
<artifactId>httpclient</artifactId>
|
82
|
+
<version>1.0</version>
|
83
|
+
<scope>compile</scope>
|
84
|
+
</dependency>
|
85
|
+
<dependency>
|
86
|
+
<groupId>xml-apis</groupId>
|
87
|
+
<artifactId>xml-apis</artifactId>
|
88
|
+
<version>1.0.b2</version>
|
89
|
+
</dependency>
|
90
|
+
<dependency>
|
91
|
+
<groupId>org.json</groupId>
|
92
|
+
<artifactId>jsonUtility</artifactId>
|
93
|
+
<version>0.0.3</version>
|
94
|
+
</dependency>
|
95
|
+
<dependency>
|
96
|
+
<groupId>com.oracle.javax.xml</groupId>
|
97
|
+
<artifactId>jsr173_api</artifactId>
|
98
|
+
<version>1.0</version>
|
99
|
+
</dependency>
|
100
|
+
<dependency>
|
101
|
+
<groupId>com.oracle.javax.xml</groupId>
|
102
|
+
<artifactId>stax-api</artifactId>
|
103
|
+
<version>1.0.1</version>
|
104
|
+
</dependency>
|
105
|
+
<dependency>
|
106
|
+
<groupId>com.oracle.git.ngsp.crmodWsWrapper</groupId>
|
107
|
+
<artifactId>sjsxp</artifactId>
|
108
|
+
<version>1.0.1</version>
|
109
|
+
</dependency>
|
110
|
+
<dependency>
|
111
|
+
<groupId>commons-io</groupId>
|
112
|
+
<artifactId>commons-io</artifactId>
|
113
|
+
<version>2.0</version>
|
114
|
+
</dependency>
|
115
|
+
</dependencies>
|
116
|
+
<modelVersion>4.0.0</modelVersion>
|
117
|
+
<name>${artifactId}</name>
|
118
|
+
<description>
|
119
|
+
This project creates a java library to take care of the
|
120
|
+
complexities of logging into Oracle Single Sign On
|
121
|
+
(OSSO),
|
122
|
+
and creating
|
123
|
+
and parsing the SOAP messages to CRMOD.
|
124
|
+
</description>
|
125
|
+
<repositories>
|
126
|
+
<repository>
|
127
|
+
<id>linux1</id>
|
128
|
+
<url>http://linux1.hk.oracle.com/maven2/</url>
|
129
|
+
</repository>
|
130
|
+
</repositories>
|
131
|
+
<scm>
|
132
|
+
<developerConnection>scm:git:ssh://git@linux1.hk.oracle.com/${project.artifactId}.git</developerConnection>
|
133
|
+
<connection>scm:git:ssh://git@linux1.hk.oracle.com/${project.artifactId}.git</connection>
|
134
|
+
</scm>
|
135
|
+
<distributionManagement>
|
136
|
+
<downloadUrl>http://linux1.hk.oracle.com/maven2/com/oracle/git/ngsp/autosr2/${project.artifactId}/${project.version}
|
137
|
+
</downloadUrl>
|
138
|
+
<site>
|
139
|
+
<name>${project.name}</name>
|
140
|
+
<id>linux1</id>
|
141
|
+
<url>scpexe://linux1.hk.oracle.com/var/www/html/${project.artifactId}</url>
|
142
|
+
</site>
|
143
|
+
</distributionManagement>
|
144
|
+
<url>http://linux1.hk.oracle.com/${artifactId}/</url>
|
145
|
+
<properties>
|
146
|
+
<crmod.companyId>ONGS</crmod.companyId>
|
147
|
+
<maven.test.skip>true</maven.test.skip>
|
148
|
+
<log.level>info</log.level>
|
149
|
+
</properties>
|
150
|
+
<profiles>
|
151
|
+
<profile>
|
152
|
+
<id>dev</id>
|
153
|
+
<properties>
|
154
|
+
<crmod.companyId>ONGS-TEST</crmod.companyId>
|
155
|
+
<crmod.serverName>secure-ausomxfba.crmondemand.com</crmod.serverName>
|
156
|
+
<log.level>trace</log.level>
|
157
|
+
</properties>
|
158
|
+
</profile>
|
159
|
+
<profile>
|
160
|
+
<id>stage</id>
|
161
|
+
<properties>
|
162
|
+
<crmod.companyId>ONGS</crmod.companyId>
|
163
|
+
<crmod.serverName>secure-ausomxfca.crmondemand.com</crmod.serverName>
|
164
|
+
</properties>
|
165
|
+
</profile>
|
166
|
+
<profile>
|
167
|
+
<id>prod</id>
|
168
|
+
<properties>
|
169
|
+
<crmod.serverName>secure-ausomxfba.crmondemand.com</crmod.serverName>
|
170
|
+
</properties>
|
171
|
+
</profile>
|
172
|
+
</profiles>
|
173
|
+
</project>
|
174
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
<head><LINK REL=StyleSheet HREF="#{@ops[:output_style_sheet]}" TYPE="text/css"/></head>
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><body><ul><li/><a href="file1.html">file1<li/><a href="file4.html">file4<li/><a href="index.html">index</ul></body></html>
|
@@ -0,0 +1,61 @@
|
|
1
|
+
.hll { background-color: #ffffcc }
|
2
|
+
.c { color: #408080; font-style: italic } /* Comment */
|
3
|
+
.err { border: 1px solid #FF0000 } /* Error */
|
4
|
+
.k { color: #008000; font-weight: bold } /* Keyword */
|
5
|
+
.o { color: #666666 } /* Operator */
|
6
|
+
.cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
7
|
+
.cp { color: #BC7A00 } /* Comment.Preproc */
|
8
|
+
.c1 { color: #408080; font-style: italic } /* Comment.Single */
|
9
|
+
.cs { color: #408080; font-style: italic } /* Comment.Special */
|
10
|
+
.gd { color: #A00000 } /* Generic.Deleted */
|
11
|
+
.ge { font-style: italic } /* Generic.Emph */
|
12
|
+
.gr { color: #FF0000 } /* Generic.Error */
|
13
|
+
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
14
|
+
.gi { color: #00A000 } /* Generic.Inserted */
|
15
|
+
.go { color: #808080 } /* Generic.Output */
|
16
|
+
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
17
|
+
.gs { font-weight: bold } /* Generic.Strong */
|
18
|
+
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
19
|
+
.gt { color: #0040D0 } /* Generic.Traceback */
|
20
|
+
.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
21
|
+
.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
22
|
+
.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
23
|
+
.kp { color: #008000 } /* Keyword.Pseudo */
|
24
|
+
.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
25
|
+
.kt { color: #B00040 } /* Keyword.Type */
|
26
|
+
.m { color: #666666 } /* Literal.Number */
|
27
|
+
.s { color: #BA2121 } /* Literal.String */
|
28
|
+
.na { color: #7D9029 } /* Name.Attribute */
|
29
|
+
.nb { color: #008000 } /* Name.Builtin */
|
30
|
+
.nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
31
|
+
.no { color: #880000 } /* Name.Constant */
|
32
|
+
.nd { color: #AA22FF } /* Name.Decorator */
|
33
|
+
.ni { color: #999999; font-weight: bold } /* Name.Entity */
|
34
|
+
.ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
35
|
+
.nf { color: #0000FF } /* Name.Function */
|
36
|
+
.nl { color: #A0A000 } /* Name.Label */
|
37
|
+
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
38
|
+
.nt { color: #008000; font-weight: bold } /* Name.Tag */
|
39
|
+
.nv { color: #19177C } /* Name.Variable */
|
40
|
+
.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
41
|
+
.w { color: #bbbbbb } /* Text.Whitespace */
|
42
|
+
.mf { color: #666666 } /* Literal.Number.Float */
|
43
|
+
.mh { color: #666666 } /* Literal.Number.Hex */
|
44
|
+
.mi { color: #666666 } /* Literal.Number.Integer */
|
45
|
+
.mo { color: #666666 } /* Literal.Number.Oct */
|
46
|
+
.sb { color: #BA2121 } /* Literal.String.Backtick */
|
47
|
+
.sc { color: #BA2121 } /* Literal.String.Char */
|
48
|
+
.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
49
|
+
.s2 { color: #BA2121 } /* Literal.String.Double */
|
50
|
+
.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
51
|
+
.sh { color: #BA2121 } /* Literal.String.Heredoc */
|
52
|
+
.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
53
|
+
.sx { color: #008000 } /* Literal.String.Other */
|
54
|
+
.sr { color: #BB6688 } /* Literal.String.Regex */
|
55
|
+
.s1 { color: #BA2121 } /* Literal.String.Single */
|
56
|
+
.ss { color: #19177C } /* Literal.String.Symbol */
|
57
|
+
.bp { color: #008000 } /* Name.Builtin.Pseudo */
|
58
|
+
.vc { color: #19177C } /* Name.Variable.Class */
|
59
|
+
.vg { color: #19177C } /* Name.Variable.Global */
|
60
|
+
.vi { color: #19177C } /* Name.Variable.Instance */
|
61
|
+
.il { color: #666666 } /* Literal.Number.Integer.Long */
|