@eo-sdk/client 9.2.0 → 9.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/eo-framework/ui/signature-tab/signature-tab.component.d.ts +10 -0
- package/assets/_default/config/main.json +1 -1
- package/assets/_default/i18n/de.json +12 -0
- package/assets/_default/i18n/en.json +11 -0
- package/bundles/eo-sdk-client.umd.js +117 -74
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.d.ts +65 -64
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
- package/esm2015/app/eo-framework/actions/action-menu/action-menu.component.js +6 -5
- package/esm2015/app/eo-framework/object-details/object-details.component.js +2 -2
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +2 -2
- package/esm2015/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.js +2 -2
- package/esm2015/app/eo-framework/ui/signature-tab/signature-tab.component.js +35 -0
- package/esm2015/app/eo-framework/ui/ui.module.js +5 -2
- package/esm2015/eo-sdk-client.js +66 -65
- package/fesm2015/eo-sdk-client.js +47 -11
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/misc/scripts/mvn-deploy.js +66 -0
- package/package.json +8 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Does a maven deployment based on the sonatype nexus rest API.
|
|
3
|
+
* See: https://support.sonatype.com/hc/en-us/articles/213465818-How-can-I-programmatically-upload-an-artifact-into-Nexus-2-
|
|
4
|
+
*
|
|
5
|
+
* Group and artifact names are determined by the maven object in the 'package.json'.
|
|
6
|
+
* The nexus login is set by environment MVN_USER and MVN_PWD
|
|
7
|
+
*/
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
const request = require('request');
|
|
10
|
+
const packageJs = require('../../package.json');
|
|
11
|
+
|
|
12
|
+
const auth = {
|
|
13
|
+
user : process.env.MAVEN_REPO_USER,
|
|
14
|
+
pass : process.env.MAVEN_REPO_PASS,
|
|
15
|
+
sendImmediately : true
|
|
16
|
+
}
|
|
17
|
+
const uploadFile = process.cwd()+'/output/client.jar';
|
|
18
|
+
const formData = {
|
|
19
|
+
r : packageJs.maven.repository,
|
|
20
|
+
hasPom : 'false', // Must be false string, because formdata has no support for boolean
|
|
21
|
+
p : 'jar',
|
|
22
|
+
g : packageJs.maven.groupId,
|
|
23
|
+
a : packageJs.maven.artifactId,
|
|
24
|
+
v : packageJs.version,
|
|
25
|
+
file : {
|
|
26
|
+
value : fs.createReadStream(uploadFile),
|
|
27
|
+
options : {
|
|
28
|
+
filename : 'client-'+packageJs.version+'.jar',
|
|
29
|
+
contenType : 'application/java-archive'
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
console.log('Maven deployment .... ')
|
|
34
|
+
console.log('');
|
|
35
|
+
console.log('Maven host : '+packageJs.maven.host);
|
|
36
|
+
console.log('Maven user : '+(auth.user ? auth.user : 'NOT SET') );
|
|
37
|
+
console.log('Maven pwd : '+(auth.pass ? 'SET' : 'NOT SET') );
|
|
38
|
+
console.log('Maven repository : '+packageJs.maven.repository)
|
|
39
|
+
console.log('');
|
|
40
|
+
console.log('Upload artifact : '+uploadFile);
|
|
41
|
+
console.log('Upload as : '+formData.file.options.filename);
|
|
42
|
+
console.log('GroupId : '+formData.g);
|
|
43
|
+
console.log('ArtifactId : '+formData.a);
|
|
44
|
+
console.log('Version : '+formData.v);
|
|
45
|
+
console.log('');
|
|
46
|
+
console.log('Executing post')
|
|
47
|
+
|
|
48
|
+
request.post({
|
|
49
|
+
url: 'http://'+packageJs.maven.host+'/service/local/artifact/maven/content',
|
|
50
|
+
formData: formData,
|
|
51
|
+
auth : auth
|
|
52
|
+
}, (err, resp, body) => {
|
|
53
|
+
console.log('');
|
|
54
|
+
console.log('Maven deployment .... done.')
|
|
55
|
+
if (err) {
|
|
56
|
+
console.error('Deployment failed:', err);
|
|
57
|
+
process.exit(1);
|
|
58
|
+
}
|
|
59
|
+
if( resp.statusCode==201 ) {
|
|
60
|
+
console.log('Deployment successful. Server responded with '+resp.statusCode+':\n', body);
|
|
61
|
+
process.exit(0);
|
|
62
|
+
} else {
|
|
63
|
+
console.error('Deployment failed. Server responded with '+resp.statusCode+':\n', body);
|
|
64
|
+
process.exit(2);
|
|
65
|
+
}
|
|
66
|
+
});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@eo-sdk/client",
|
|
3
3
|
"description": "yuuvis RAD client",
|
|
4
4
|
"author": "OPTIMAL SYSTEMS GmbH <npm@optimal-systems.de>",
|
|
5
|
-
"version": "9.
|
|
5
|
+
"version": "9.3.0-rc.1",
|
|
6
6
|
"main": "bundles/eo-sdk-client.umd.js",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"angular-cli": {},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@angular/platform-browser": "11.2.0",
|
|
30
30
|
"@angular/platform-browser-dynamic": "11.2.0",
|
|
31
31
|
"@angular/router": "11.2.0",
|
|
32
|
-
"@eo-sdk/core": "9.
|
|
32
|
+
"@eo-sdk/core": "9.3.0-rc.1",
|
|
33
33
|
"@ngx-pwa/local-storage": "11.1.0",
|
|
34
34
|
"@ngx-translate/core": "13.0.0",
|
|
35
35
|
"@types/lodash": "4.14.88",
|
|
@@ -48,6 +48,12 @@
|
|
|
48
48
|
"tslib": "^2.0.0",
|
|
49
49
|
"zone.js": "~0.10.2"
|
|
50
50
|
},
|
|
51
|
+
"maven": {
|
|
52
|
+
"repository": "releases",
|
|
53
|
+
"groupId": "com.os.ecm",
|
|
54
|
+
"artifactId": "client",
|
|
55
|
+
"host": "mavenproxy.optimal-systems.de:8888/nexus"
|
|
56
|
+
},
|
|
51
57
|
"module": "fesm2015/eo-sdk-client.js",
|
|
52
58
|
"es2015": "fesm2015/eo-sdk-client.js",
|
|
53
59
|
"esm2015": "esm2015/eo-sdk-client.js",
|