Skip to content

Commit 7ccd423

Browse files
committed
prepping for 2.0.0-rc.1
1 parent 5efdba4 commit 7ccd423

File tree

11 files changed

+89
-78
lines changed

11 files changed

+89
-78
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ plugins {
7171
...
7272
7373
// comment out this line. It pulls the version from the cloud
74-
// id 'com.marklogic.ml-data-hub' version '2.0.0-beta.1'
74+
// id 'com.marklogic.ml-data-hub' version '2.0.0-rc.1'
7575
}
7676
7777
// this tells gradle to apply the plugin you included above in the buildscript section

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Alternatively you can include the jar file as a build dependency in your Java pr
5151
**Gradle**
5252

5353
```groovy
54-
compile('com.marklogic:marklogic-data-hub:2.0.0-beta.1')
54+
compile('com.marklogic:marklogic-data-hub:2.0.0-rc.1')
5555
```
5656

5757
**Maven**
@@ -60,15 +60,15 @@ compile('com.marklogic:marklogic-data-hub:2.0.0-beta.1')
6060
<dependency>
6161
<groupId>com.marklogic</groupId>
6262
<artifactId>marklogic-data-hub</artifactId>
63-
<version>2.0.0-beta.1</version>
63+
<version>2.0.0-rc.1</version>
6464
<type>pom</type>
6565
</dependency>
6666
```
6767

6868
**Ivy**
6969

7070
```xml
71-
<dependency org='com.marklogic' name='marklogic-data-hub' rev='2.0.0-beta.1'>
71+
<dependency org='com.marklogic' name='marklogic-data-hub' rev='2.0.0-rc.1'>
7272
<artifact name='$AID' ext='pom'></artifact>
7373
</dependency>
7474
```
@@ -79,7 +79,7 @@ If you prefer to use gradle for all of your hub interactions then you can includ
7979

8080
```groovy
8181
plugins {
82-
id 'com.marklogic.ml-data-hub' version '2.0.0-beta.1'
82+
id 'com.marklogic.ml-data-hub' version '2.0.0-rc.1'
8383
}
8484
```
8585

examples/spring-batch/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id 'java'
33
id 'application'
44
id 'net.saliman.properties' version '1.4.6'
5-
id 'com.marklogic.ml-data-hub' version '2.0.0-beta.1'
5+
id 'com.marklogic.ml-data-hub' version '2.0.0-rc.1'
66
}
77

88
repositories {
@@ -12,7 +12,7 @@ repositories {
1212
}
1313

1414
dependencies {
15-
compile 'com.marklogic:marklogic-data-hub:2.0.0-beta.1'
15+
compile 'com.marklogic:marklogic-data-hub:2.0.0-rc.1'
1616
compile "com.marklogic:marklogic-spring-batch-core:0.7.4"
1717
compile 'com.marklogic:ml-javaclient-util:4.0.alpha4'
1818

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=2.0.0-beta.1
1+
version=2.0.0-rc.1
Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
buildscript {
2-
repositories {
3-
maven {url 'http://developer.marklogic.com/maven2/'}
4-
}
5-
}
6-
7-
plugins {
8-
id 'java'
9-
id 'eclipse'
10-
id 'idea'
11-
12-
// This plugin allows you to create different environments
13-
// for your gradle deploy. Each environment is represented
14-
// by a gradle-${env}.properties file
15-
// See https://github.com/stevesaliman/gradle-properties-plugin
16-
// specify the env on the command line with:
17-
// gradle -PenvironmentName=x ...
18-
id 'net.saliman.properties' version '1.4.6'
19-
20-
// This gradle plugin extends the ml-gradle plugin with
21-
// commands that make the Data Hub Framework do its magic
22-
id 'com.marklogic.ml-data-hub' version '2.0.0-beta.1'
23-
}
24-
25-
repositories {
26-
jcenter()
27-
maven {url 'http://developer.marklogic.com/maven2/'}
28-
}
29-
30-
dependencies {
31-
// this allows you to write custom java code that depends
32-
// on the Data Hub Framework library
33-
compile 'com.marklogic:marklogic-data-hub:2.0.0-beta.1'
34-
compile 'com.marklogic:marklogic-xcc:9.0.1'
35-
}
1+
buildscript {
2+
repositories {
3+
maven {url 'http://developer.marklogic.com/maven2/'}
4+
}
5+
}
6+
7+
plugins {
8+
id 'java'
9+
id 'eclipse'
10+
id 'idea'
11+
12+
// This plugin allows you to create different environments
13+
// for your gradle deploy. Each environment is represented
14+
// by a gradle-${env}.properties file
15+
// See https://github.com/stevesaliman/gradle-properties-plugin
16+
// specify the env on the command line with:
17+
// gradle -PenvironmentName=x ...
18+
id 'net.saliman.properties' version '1.4.6'
19+
20+
// This gradle plugin extends the ml-gradle plugin with
21+
// commands that make the Data Hub Framework do its magic
22+
id 'com.marklogic.ml-data-hub' version '2.0.0-rc.1'
23+
}
24+
25+
repositories {
26+
jcenter()
27+
maven {url 'http://developer.marklogic.com/maven2/'}
28+
}
29+
30+
dependencies {
31+
// this allows you to write custom java code that depends
32+
// on the Data Hub Framework library
33+
compile 'com.marklogic:marklogic-data-hub:2.0.0-rc.1'
34+
compile 'com.marklogic:marklogic-xcc:9.0.1'
35+
}

marklogic-data-hub/src/trace-ui/package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "trace-ui",
3-
"version": "2.0.0-beta.1",
3+
"version": "2.0.0-rc.1",
44
"license": "APACHE",
55
"homepage": "https://github.com/marklogic-community/marklogic-data-hub",
66
"scripts": {
@@ -15,6 +15,9 @@
1515
},
1616
"private": true,
1717
"dependencies": {
18+
"@angular-mdl/core": "^4.0.1",
19+
"@angular-mdl/popover": "^0.6.3",
20+
"@angular-mdl/select": "^0.10.4",
1821
"@angular/common": "^4.0.0",
1922
"@angular/compiler": "^4.0.0",
2023
"@angular/core": "^4.0.0",
@@ -23,12 +26,10 @@
2326
"@angular/platform-browser": "^4.0.0",
2427
"@angular/platform-browser-dynamic": "^4.0.0",
2528
"@angular/router": "^4.0.0",
26-
"@angular-mdl/core": "^4.0.1",
27-
"@angular-mdl/popover": "^0.6.3",
28-
"@angular-mdl/select": "^0.10.4",
2929
"angular2-moment": "^1.3.3",
30+
"classlist.js": "^1.1.20150312",
3031
"clipboard": "^1.6.1",
31-
"codemirror": "^5.25.0",
32+
"codemirror": "^5.26.0",
3233
"core-js": "^2.4.1",
3334
"font-awesome": "^4.7.0",
3435
"lodash": "^4.17.4",
@@ -39,25 +40,26 @@
3940
"semver": "^5.3.0",
4041
"sockjs-client": "^1.1.2",
4142
"stompjs": "^2.3.3",
43+
"web-animations-js": "^2.3.1",
4244
"zone.js": "^0.8.4"
4345
},
4446
"devDependencies": {
45-
"@types/codemirror": "0.0.38",
4647
"@angular/cli": "1.0.0",
4748
"@angular/compiler-cli": "^4.0.0",
4849
"@types/jasmine": "2.5.38",
4950
"@types/lodash": "^4.14.58",
5051
"@types/node": "~6.0.60",
5152
"@types/semver": "^5.3.31",
5253
"codelyzer": "~2.0.0",
54+
"enhanced-resolve": "^3.3.0",
5355
"jasmine-core": "~2.5.2",
5456
"jasmine-spec-reporter": "~3.2.0",
5557
"karma": "~1.4.1",
5658
"karma-chrome-launcher": "~2.0.0",
5759
"karma-cli": "~1.0.1",
60+
"karma-coverage-istanbul-reporter": "^0.2.0",
5861
"karma-jasmine": "~1.1.0",
5962
"karma-jasmine-html-reporter": "^0.2.2",
60-
"karma-coverage-istanbul-reporter": "^0.2.0",
6163
"npm": "4.1.2",
6264
"protractor": "~5.1.0",
6365
"rimraf": "^2.5.4",

marklogic-data-hub/src/trace-ui/src/app/object-to-array.pipe.ts

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,21 @@ export class ObjectToArrayPipe implements PipeTransform {
88
transform(obj: any): Array<any> {
99
let array = [];
1010
for (let key of Object.keys(obj)) {
11-
let newObj = Object.assign(
12-
{
13-
__key: key
14-
},
15-
obj[key]
16-
);
17-
array.push(newObj);
11+
let val = obj[key];
12+
if (val instanceof Object && !(val instanceof String)) {
13+
let newObj = Object.assign(
14+
{
15+
__key: key
16+
},
17+
val
18+
);
19+
array.push(newObj);
20+
} else {
21+
array.push({
22+
__key: key,
23+
value: val
24+
});
25+
}
1826
}
1927
return array;
2028
}

marklogic-data-hub/src/trace-ui/src/polyfills.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@
1919
*/
2020

2121
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
22-
// import 'core-js/es6/symbol';
23-
// import 'core-js/es6/object';
24-
// import 'core-js/es6/function';
25-
// import 'core-js/es6/parse-int';
26-
// import 'core-js/es6/parse-float';
27-
// import 'core-js/es6/number';
28-
// import 'core-js/es6/math';
29-
// import 'core-js/es6/string';
30-
// import 'core-js/es6/date';
31-
// import 'core-js/es6/array';
32-
// import 'core-js/es6/regexp';
33-
// import 'core-js/es6/map';
34-
// import 'core-js/es6/set';
22+
import 'core-js/es6/symbol';
23+
import 'core-js/es6/object';
24+
import 'core-js/es6/function';
25+
import 'core-js/es6/parse-int';
26+
import 'core-js/es6/parse-float';
27+
import 'core-js/es6/number';
28+
import 'core-js/es6/math';
29+
import 'core-js/es6/string';
30+
import 'core-js/es6/date';
31+
import 'core-js/es6/array';
32+
import 'core-js/es6/regexp';
33+
import 'core-js/es6/map';
34+
import 'core-js/es6/set';
3535

3636
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
37-
// import 'classlist.js'; // Run `npm install --save classlist.js`.
37+
import 'classlist.js'; // Run `npm install --save classlist.js`.
3838

3939
/** IE10 and IE11 requires the following to support `@angular/animation`. */
40-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
40+
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
4141

4242

4343
/** Evergreen browsers require these. **/
@@ -46,7 +46,7 @@ import 'core-js/es7/reflect';
4646

4747

4848
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
49-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
49+
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
5050

5151

5252

marklogic-data-hub/src/trace-ui/src/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"outDir": "../out-tsc/app",
55
"module": "es2015",
66
"baseUrl": "",
7-
"types": []
7+
"types": ["app/codemirror/codemirror.types"]
88
},
99
"exclude": [
1010
"test.ts",

quick-start/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "data-hub-quickstart",
3-
"version": "2.0.0-beta.1",
3+
"version": "2.0.0-rc.1",
44
"license": "APACHE",
55
"homepage": "https://github.com/marklogic-community/marklogic-data-hub",
66
"scripts": {
@@ -50,14 +50,15 @@
5050
"@types/node": "~6.0.60",
5151
"@types/semver": "^5.3.31",
5252
"codelyzer": "~2.0.0",
53+
"enhanced-resolve": "^3.3.0",
5354
"jasmine-core": "~2.5.2",
5455
"jasmine-spec-reporter": "~3.2.0",
5556
"karma": "~1.4.1",
5657
"karma-chrome-launcher": "~2.0.0",
5758
"karma-cli": "~1.0.1",
59+
"karma-coverage-istanbul-reporter": "^0.2.0",
5860
"karma-jasmine": "~1.1.0",
5961
"karma-jasmine-html-reporter": "^0.2.2",
60-
"karma-coverage-istanbul-reporter": "^0.2.0",
6162
"npm": "4.1.2",
6263
"protractor": "~5.1.0",
6364
"rimraf": "^2.5.4",

0 commit comments

Comments
 (0)