@eo-sdk/client 10.6.33 → 10.6.34

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.
Files changed (23) hide show
  1. package/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.d.ts +2 -1
  2. package/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.d.ts.map +1 -1
  3. package/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.d.ts +2 -1
  4. package/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.d.ts.map +1 -1
  5. package/app/eo-framework/object-details/object-links/object-links.component.d.ts +1 -0
  6. package/app/eo-framework/object-details/object-links/object-links.component.d.ts.map +1 -1
  7. package/app/eo-framework/object-form/object-form/form-element/form-element.component.d.ts.map +1 -1
  8. package/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.d.ts.map +1 -1
  9. package/esm2020/app/eo-client/about-state/about-state.component.mjs +3 -3
  10. package/esm2020/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.mjs +8 -4
  11. package/esm2020/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.mjs +8 -4
  12. package/esm2020/app/eo-framework/media/media.component.mjs +3 -3
  13. package/esm2020/app/eo-framework/object-details/object-links/object-links.component.mjs +13 -6
  14. package/esm2020/app/eo-framework/object-form/object-form/form-element/form-element.component.mjs +2 -5
  15. package/esm2020/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.mjs +6 -5
  16. package/fesm2015/eo-sdk-client.mjs +33 -21
  17. package/fesm2015/eo-sdk-client.mjs.map +1 -1
  18. package/fesm2020/eo-sdk-client.mjs +33 -21
  19. package/fesm2020/eo-sdk-client.mjs.map +1 -1
  20. package/misc/scripts/mvn-deploy.js +12 -16
  21. package/package.json +4 -4
  22. package/styles.css +10 -0
  23. package/styles.scss +14 -0
@@ -10,19 +10,18 @@ const request = require('request');
10
10
  const packageJs = require('../../package.json');
11
11
 
12
12
  const auth = {
13
- user : process.env.MAVEN_REPO_USER,
14
- pass : process.env.MAVEN_REPO_PASS,
15
- sendImmediately : true
13
+ user : process.env.MAVEN_REPO_USER,
14
+ pass : process.env.MAVEN_REPO_PASS,
15
+ sendImmediately : true
16
16
  }
17
17
  const uploadFile = process.cwd()+'/output/client.jar';
18
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 : {
19
+ 'maven2.groupId' : packageJs.maven.groupId,
20
+ 'maven2.artifactId' : packageJs.maven.artifactId,
21
+ 'maven2.version' : packageJs.version,
22
+ 'maven2.asset1.extension' : 'jar',
23
+ 'maven2.generate-pom' : 'true',
24
+ 'maven2.asset1' : {
26
25
  value : fs.createReadStream(uploadFile),
27
26
  options : {
28
27
  filename : 'client-'+packageJs.version+'.jar',
@@ -38,15 +37,12 @@ console.log('Maven pwd : '+(auth.pass ? 'SET' : 'NOT SET') );
38
37
  console.log('Maven repository : '+packageJs.maven.repository)
39
38
  console.log('');
40
39
  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);
40
+ console.log('Formdata : '+JSON.stringify(formData,1,1));
45
41
  console.log('');
46
42
  console.log('Executing post')
47
43
 
48
44
  request.post({
49
- url: 'http://'+packageJs.maven.host+'/service/local/artifact/maven/content',
45
+ url: 'https://'+packageJs.maven.host+'/service/rest/v1/components?repository='+packageJs.maven.repository,
50
46
  formData: formData,
51
47
  auth : auth
52
48
  }, (err, resp, body) => {
@@ -56,7 +52,7 @@ request.post({
56
52
  console.error('Deployment failed:', err);
57
53
  process.exit(1);
58
54
  }
59
- if( resp.statusCode==201 ) {
55
+ if( resp.statusCode==204 ) {
60
56
  console.log('Deployment successful. Server responded with '+resp.statusCode+':\n', body);
61
57
  process.exit(0);
62
58
  } else {
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": "10.6.33",
5
+ "version": "10.6.34",
6
6
  "main": "electron/main.js",
7
7
  "license": "MIT",
8
8
  "angular-cli": {},
@@ -30,7 +30,7 @@
30
30
  "@angular/platform-browser-dynamic": "15.2.2",
31
31
  "@angular/router": "15.2.2",
32
32
  "@carbon/charts-angular": "^1.8.1",
33
- "@eo-sdk/core": "10.6.33",
33
+ "@eo-sdk/core": "10.6.34",
34
34
  "@ngneat/until-destroy": "^10.0.0",
35
35
  "@ngx-pwa/local-storage": "15.0.0",
36
36
  "@ngx-translate/core": "14.0.0",
@@ -47,10 +47,10 @@
47
47
  "zone.js": "~0.11.8"
48
48
  },
49
49
  "maven": {
50
- "repository": "releases",
50
+ "repository": "tukan-releases",
51
51
  "groupId": "com.os.ecm",
52
52
  "artifactId": "client",
53
- "host": "mavenproxy.optimal-systems.de:8888/nexus"
53
+ "host": "maven.optimal-systems.org"
54
54
  },
55
55
  "module": "fesm2015/eo-sdk-client.mjs",
56
56
  "es2020": "fesm2020/eo-sdk-client.mjs",
package/styles.css CHANGED
@@ -940,3 +940,13 @@ body, input, textarea {
940
940
 
941
941
  .dark ::-webkit-scrollbar-thumb {
942
942
  background-color: rgba(255, 255, 255, 0.2); }
943
+
944
+ .innerWrapper .empty-container {
945
+ display: flex;
946
+ justify-content: center;
947
+ align-items: center;
948
+ height: 100%; }
949
+ .innerWrapper .empty-container .nofile {
950
+ width: 128px;
951
+ height: 128px;
952
+ opacity: 0.09; }
package/styles.scss CHANGED
@@ -139,3 +139,17 @@ body, input, textarea {
139
139
  }
140
140
  }
141
141
 
142
+ .innerWrapper {
143
+ .empty-container {
144
+ display: flex;
145
+ justify-content: center;
146
+ align-items: center;
147
+ height: 100%;
148
+ .nofile {
149
+ width: 128px;
150
+ height: 128px;
151
+ opacity: 0.09;
152
+ }
153
+ }
154
+ }
155
+