Skip to content

Commit 99ede95

Browse files
committed
updating sample hr data to help tell a better story
quieting down the java output
1 parent 2cc1064 commit 99ede95

File tree

7 files changed

+17
-9
lines changed

7 files changed

+17
-9
lines changed

examples/hr-hub/input/AcmeTech/32920.json

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"firstName": "Rosanne",
44
"lastName": "Henckle",
55
"dateOfBirth": "05/19/1979",
6-
"hireDate": "11/12/2015",
6+
"hireDate": "12/19/2005",
77
"salaryHistory": [
88
{
9-
"effectiveDate": "11/12/2015",
9+
"effectiveDate": "12/23/2005",
1010
"salary": 63439
1111
},
1212
{
13-
"effectiveDate": "01/14/2016",
13+
"effectiveDate": "01/14/2010",
1414
"salary": 66300
1515
}
1616
]

examples/hr-hub/input/AcmeTech/34324.json

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"firstName": "Robert",
44
"lastName": "Smith",
55
"dateOfBirth": "01/01/1981",
6-
"hireDate": "09/01/2014",
6+
"hireDate": "12/19/2005",
77
"salaryHistory": [
88
{
9-
"effectiveDate": "09/01/2014",
9+
"effectiveDate": "12/21/2005",
1010
"salary": 59832
1111
},
1212
{
13-
"effectiveDate": "09/14/2015",
13+
"effectiveDate": "05/14/2009",
1414
"salary": 60832
1515
}
1616
]

examples/hr-hub/plugins/entities/Employee/harmonize/harmonize-acme-tech/headers/headers.sjs

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function createHeaders(id, content, options) {
2222

2323
return {
2424
employeeId: content.id,
25-
hireDate: xs.date(xdmp.parseDateTime('[M01]/[D01]/[Y0001]', content.hireDate)),
25+
dateOfHire: xs.date(xdmp.parseDateTime('[M01]/[D01]/[Y0001]', content.hireDate)),
2626
salary: xs.int(salary)
2727
};
2828
}

examples/hr-hub/plugins/entities/Employee/harmonize/harmonize-global-corp/headers/headers.sjs

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
function createHeaders(id, content, options) {
1111
return {
1212
employeeId: content.emp_id,
13-
hireDate: xs.date(xdmp.parseDateTime('[M01]/[D01]/[Y0001]', content.hire_date)),
13+
dateOfHire: fn.substring(xs.string(xdmp.parseDateTime('[M01]/[D01]/[Y0001]', content.hire_date)), 1, 10),
1414
salary: xs.int(content.base_salary) + xs.int(content.bonus)
1515
};
1616
}

quick-start/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ dependencies {
5555
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
5656
}
5757

58+
configurations {
59+
all*.exclude group: 'xml-apis'
60+
all*.exclude group: 'xerces'
61+
}
62+
5863
task npmInstallUI(type:Exec) {
5964
workingDir '.'
6065
commandLine 'npm', 'install'

quick-start/src/main/resources/logback.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
<logger name="org.springframework" level="WARN"/>
1212
<logger name="org.apache.http" level="WARN"/>
1313

14+
<logger name="com.marklogic.spring.batch.core.repository.dao.MarkLogicStepExecutionDao" level="WARN"/>
15+
<logger name="com.marklogic.spring.batch.core.repository.dao.MarkLogicJobExecutionDao" level="WARN"/>
16+
<logger name="com.marklogic.client.impl.DocumentManagerImpl" level="WARN"/>
1417
<logger name="com.marklogic" level="INFO"/>
1518
<logger name="com.marklogic.appdeployer" level="INFO"/>
1619
<logger name="com.marklogic.hub" level="INFO"/>

quick-start/src/main/ui/app/mlcp-ui/mlcp-ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ export class MlcpUi {
345345
}
346346
],
347347
collapsed: true
348-
}
348+
},
349349
{
350350
category: 'Aggregate XML Options',
351351
settings: [

0 commit comments

Comments
 (0)