@genesislcap/blank-app-seed 1.5.2 → 1.5.3

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "1.5.2",
4
+ "version": "1.5.3",
5
5
  "license": "Apache-2.0",
6
6
  "genxSeedConfig": {
7
7
  "exclude": [
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.5.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v1.5.2...v1.5.3) (2024-01-30)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * updated .npmignore DVOP-591 (#120) 6c3f939
9
+
3
10
  ## 1.0.0 (2023-08-21)
4
11
 
5
12
 
@@ -0,0 +1,45 @@
1
+ {
2
+ "compilerOptions": {
3
+ "plugins": [
4
+ {
5
+ "name": "@genesiscommunitysuccess/custom-elements-lsp",
6
+ "srcRouteFromTSServer": "../../..",
7
+ "designSystemPrefix": "zero",
8
+ "parser": {
9
+ "fastEnable": true,
10
+ "timeout": 2000,
11
+ "dependencies": [
12
+ "node_modules/**/custom-elements.json",
13
+ "!**/@custom-elements-manifest/**/*"
14
+ ]
15
+ },
16
+ "plugins": ["@genesiscommunitysuccess/cep-fast-plugin"]
17
+ }
18
+ ],
19
+ "declarationDir": "./dist/dts",
20
+ "outDir": "./dist/esm",
21
+ "rootDir": "./src",
22
+ "allowJs": true,
23
+ "allowSyntheticDefaultImports": true,
24
+ "declaration": true,
25
+ "declarationMap": true,
26
+ "esModuleInterop": true,
27
+ "experimentalDecorators": true,
28
+ "importHelpers": true,
29
+ "lib": ["DOM", "ES2015", "ES2016", "ES2017"],
30
+ "module": "ESNext",
31
+ "moduleResolution": "node",
32
+ "noEmitOnError": true,
33
+ "noImplicitAny": false,
34
+ "preserveConstEnums": true,
35
+ "pretty": true,
36
+ "removeComments": true,
37
+ "resolveJsonModule": true,
38
+ "skipLibCheck": true,
39
+ "sourceMap": true,
40
+ "strictNullChecks": false,
41
+ "target": "ES2015"
42
+ },
43
+ "include": ["src/**/*"],
44
+ "exclude": ["node_modules", "dist"]
45
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "1.5.2",
4
+ "version": "1.5.3",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"
@@ -1,23 +0,0 @@
1
- #!/bin/bash
2
-
3
- url=$1
4
- http_response=$(curl -s -o /dev/null -w "%{http_code}" $url)
5
- counter=15
6
-
7
- until [[ $http_response == "200" || counter -lt 0 ]]; do
8
- echo 'not all services running; waiting 10 seconds and trying again'
9
- sleep 10
10
- http_response=$(curl -s -o /dev/null -w "%{http_code}" $url)
11
- ((counter--))
12
- done
13
-
14
- curl $url
15
- printf '\n'
16
-
17
- if [[ $http_response == "200" ]]
18
- then
19
- echo 'all services started correctly'
20
- else
21
- echo 'not all services started correctly'
22
- exit 1
23
- fi
@@ -1,21 +0,0 @@
1
- #!/usr/bin/env sh
2
-
3
- if [ ! -d "$HOME/.gradle" ]; then
4
- mkdir "$HOME/.gradle"
5
- fi
6
-
7
- if [ ! -d "$HOME/.m2" ]; then
8
- mkdir "$HOME/.m2"
9
- fi
10
-
11
- if [ -f "$HOME/.gradle/gradle.properties" ]; then
12
- rm "$HOME/.gradle/gradle.properties"
13
- fi
14
-
15
- touch $HOME/.gradle/gradle.properties
16
-
17
- echo genesisArtifactoryUser="$genesisArtifactoryUser" >> $HOME/.gradle/gradle.properties
18
- echo genesisArtifactoryPassword="$genesisArtifactoryPassword" >> $HOME/.gradle/gradle.properties
19
-
20
- echo systemProp.org.gradle.internal.http.connectionTimeout=180000 >> $HOME/.gradle/gradle.properties
21
- echo systemProp.org.gradle.internal.http.socketTimeout=180000 >> $HOME/.gradle/gradle.properties
@@ -1,36 +0,0 @@
1
- const { execSync } = require('node:child_process');
2
- const { writeFileSync } = require('node:fs');
3
- const { resolve } = require('node:path');
4
- const current = require('../versions.json');
5
-
6
- const run = (command) => execSync(command, {
7
- stdio: ['pipe', 'pipe', 'ignore'],
8
- })
9
- .toString('utf8')
10
- .trim();
11
-
12
- const writeJSON = (json, path) => {
13
- const data = JSON.stringify(json, null, 2) + '\n';
14
- console.log(`Updating data in ${path}`);
15
- try {
16
- writeFileSync(path, data);
17
- } catch (e) {
18
- console.log(e);
19
- }
20
- };
21
-
22
- const UI = run('npm info @genesislcap/foundation-ui@latest version');
23
- const GSF = run(`jf rt s "libs-release-client/global/genesis/genesis-distribution/" --sort-by="name;created" --sort-order=desc --limit=1 --exclusions="*-RC*;*-SNAPSHOT*;*maven-metadata*;*test*;*TEST*" | grep path | tr -s ' ' | cut -d '/' -f 5`);
24
- const Auth = run(`jf rt s "libs-release-client/global/genesis/auth-distribution/" --sort-by="name;created" --sort-order=desc --limit=1 --exclusions="*-RC*;*-SNAPSHOT*;*maven-metadata*;*test*;*TEST*" | grep path | tr -s ' ' | cut -d '/' -f 5`);
25
- const latest = { UI, GSF, Auth };
26
-
27
- console.log('Current:', current);
28
- console.log('Latest:', latest);
29
-
30
- if (current.UI !== UI || current.GSF !== GSF || current.Auth !== Auth) {
31
- console.log('Newer versions available');
32
- const path = resolve(__dirname, '../versions.json');
33
- writeJSON(latest, path);
34
- } else {
35
- console.log('No newer versions available');
36
- }
@@ -1,6 +0,0 @@
1
- import { html } from '@microsoft/fast-element';
2
- import type { Home } from './home';
3
-
4
- export const HomeTemplate = html<Home>`
5
- <entity-management resourceName="ALL_TRADES" createEvent="EVENT_TRADE_INSERT"></entity-management>
6
- `;
@@ -1,20 +0,0 @@
1
- version: '3.3'
2
- services:
3
- gsf:
4
- tty: true
5
- container_name: gsf
6
- build:
7
- context: server/jvm/testapp-deploy/build/docker/
8
- dockerfile: Dockerfile
9
- networks:
10
- qs_network:
11
- aliases:
12
- - localnode
13
- ports:
14
- - '9064:9064'
15
- - '1337:22'
16
- - '5432:5432'
17
- - '4569:4569'
18
- networks:
19
- qs_network:
20
- driver: bridge
@@ -1,20 +0,0 @@
1
- /**
2
- * System : Genesis Business Library
3
- * Sub-System : multi-pro-code-test Configuration
4
- * Version : 1.0
5
- * Copyright : (c) Genesis
6
- * Date : 2022-03-18
7
- * Function : Provide fields config for multi-pro-code-test.
8
- *
9
- * Modification History
10
- */
11
-
12
- fields {
13
-
14
- field("TRADE_ID", type = STRING)
15
- field("QUANTITY", type = INT)
16
- field("PRICE", type = DOUBLE)
17
- field("SYMBOL", type = STRING)
18
- field("DIRECTION", type = ENUM("BUY", "SELL", default = "BUY"))
19
-
20
- }
@@ -1,36 +0,0 @@
1
- <!--
2
- !
3
- ! System : Genesis Business Library
4
- ! Sub-System : multi-pro-code-test Configuration
5
- ! Version : 1.0
6
- ! Copyright : (c) Genesis
7
- ! Date : 2022-03-18
8
- ! Function : Provide Process Definitions Config for multi-pro-code-test.
9
- !
10
- ! Modification History
11
- !
12
- -->
13
- <processes>
14
- <process name="TESTAPP_DATASERVER">
15
- <groupId>TESTAPP</groupId>
16
- <start>true</start>
17
- <options>-Xmx1024m -DXSD_VALIDATE=false</options>
18
- <module>genesis-pal-dataserver</module>
19
- <package>global.genesis.dataserver.pal</package>
20
- <script>testapp-dataserver.kts</script>
21
- <description>Displays real-time details</description>
22
- <language>pal</language>
23
- <loggingLevel>DEBUG,DATADUMP_ON</loggingLevel>
24
- </process>
25
- <process name="TESTAPP_EVENT_HANDLER">
26
- <groupId>TESTAPP</groupId>
27
- <start>true</start>
28
- <options>-Xmx256m -DRedirectStreamsToLog=true -DXSD_VALIDATE=false</options>
29
- <module>genesis-pal-eventhandler</module>
30
- <package>global.genesis.eventhandler.pal</package>
31
- <script>testapp-eventhandler.kts</script>
32
- <description>Handles events</description>
33
- <classpath>testapp-messages*,testapp-eventhandler*</classpath>
34
- <language>pal</language>
35
- </process>
36
- </processes>
@@ -1,16 +0,0 @@
1
- <!--
2
- !
3
- ! System : Genesis Business Library
4
- ! Sub-System : multi-pro-code-test Configuration
5
- ! Version : 1.0
6
- ! Copyright : (c) Genesis
7
- ! Date : 2022-03-18
8
- ! Function : Provide Service Definitions Config for multi-pro-code-test.
9
- !
10
- ! Modification History
11
- !
12
- -->
13
- <configuration>
14
- <service host="localhost" name="TESTAPP_DATASERVER" port="11000"/>
15
- <service host="localhost" name="TESTAPP_EVENT_HANDLER" port="11001"/>
16
- </configuration>
@@ -1,26 +0,0 @@
1
- /**
2
- * System : Genesis Business Library
3
- * Sub-System : multi-pro-code-test Configuration
4
- * Version : 1.0
5
- * Copyright : (c) Genesis
6
- * Date : 2022-03-18
7
- * Function : Provide table definition config for multi-pro-code-test.
8
- *
9
- * Modification History
10
- */
11
-
12
- tables {
13
-
14
- table (name = "TRADE", id = 2000) {
15
- sequence(TRADE_ID, "TR")
16
- QUANTITY
17
- PRICE
18
- SYMBOL
19
- DIRECTION
20
-
21
- primaryKey {
22
- TRADE_ID
23
- }
24
- }
25
-
26
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * System : Genesis Business Library
3
- * Sub-System : multi-pro-code-test Configuration
4
- * Version : 1.0
5
- * Copyright : (c) Genesis
6
- * Date : 2022-03-18
7
- * Function : Provide dataserver config for multi-pro-code-test.
8
- *
9
- * Modification History
10
- */
11
- dataServer {
12
- query("ALL_TRADES", TRADE)
13
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * System : Genesis Business Library
3
- * Sub-System : multi-pro-code-test Configuration
4
- * Version : 1.0
5
- * Copyright : (c) Genesis
6
- * Date : 2022-03-18
7
- * Function : Provide event handler config for multi-pro-code-test.
8
- *
9
- * Modification History
10
- */
11
- eventHandler {
12
-
13
- eventHandler<Trade>(name = "TRADE_INSERT") {
14
- schemaValidation = false
15
- onCommit { event ->
16
- entityDb.insert(event.details)
17
- ack()
18
- }
19
- }
20
-
21
- }