dsu-utils issueshttps://gitlab.ubitech.eu/glass-project/wallet/dsu-utils/-/issues2022-06-02T04:35:13+03:00https://gitlab.ubitech.eu/glass-project/wallet/dsu-utils/-/issues/6argParser needs an pimprovement. needs to respect ""2022-06-02T04:35:13+03:00Tiago VenceslauargParser needs an pimprovement. needs to respect ""Set up Glass EnvironmentTiago VenceslauTiago Venceslauhttps://gitlab.ubitech.eu/glass-project/wallet/dsu-utils/-/issues/5Add replacement file globing2022-05-20T21:22:47+03:00Tiago VenceslauAdd replacement file globingSet up Glass EnvironmentTiago VenceslauTiago Venceslauhttps://gitlab.ubitech.eu/glass-project/wallet/dsu-utils/-/issues/4With the new Jest integration, Refactor Testrunner2022-05-13T21:30:05+03:00Tiago VenceslauWith the new Jest integration, Refactor Testrunnerwe can get rid of double-check:
- create our own createTestFolder method (keep the logic of process.on('exit') remove the testFolder)
We need tir to raise the fake apiHub
improve the test server by:
- adding the ability to replicate the existing environment (existing apps seeds, etc). Might be too hard...
- or give it the ability to 'build' whatever apps we need on the test server itself so we can replicate all the logic
remove the double-check dependency. it is used to create a temporary folder (we can handle that), delete it at the end (we can also handle that), and it does some wierd stuff that is quite probably hurting us
Find a way to control tir's shutdown when we want to.
it would be nice to be able to have this kind of jest setup:
```
let testSuitedEndCallback = undefined;
let tr;
beforeAll(() => {
tr = new TestRunner(...);
const testSuitedEndCallback = (err, ..args) => console.log...
tr.installApps(["app1", "app2"...]...)
tr.run(..., testSuitedEndCallback);
})
afterAll(() => {
testSuitedEndCallback()
tr.shutdown()
})
```
This way we dont have the need to run one fake server per test.
Migrating most the code to ts would be perfect if possiblewe can get rid of double-check:
- create our own createTestFolder method (keep the logic of process.on('exit') remove the testFolder)
We need tir to raise the fake apiHub
improve the test server by:
- adding the ability to replicate the existing environment (existing apps seeds, etc). Might be too hard...
- or give it the ability to 'build' whatever apps we need on the test server itself so we can replicate all the logic
remove the double-check dependency. it is used to create a temporary folder (we can handle that), delete it at the end (we can also handle that), and it does some wierd stuff that is quite probably hurting us
Find a way to control tir's shutdown when we want to.
it would be nice to be able to have this kind of jest setup:
```
let testSuitedEndCallback = undefined;
let tr;
beforeAll(() => {
tr = new TestRunner(...);
const testSuitedEndCallback = (err, ..args) => console.log...
tr.installApps(["app1", "app2"...]...)
tr.run(..., testSuitedEndCallback);
})
afterAll(() => {
testSuitedEndCallback()
tr.shutdown()
})
```
This way we dont have the need to run one fake server per test.
Migrating most the code to ts would be perfect if possiblehttps://gitlab.ubitech.eu/glass-project/wallet/dsu-utils/-/issues/3Implement the deployment to NPM2022-05-20T19:43:57+03:00Tiago VenceslauImplement the deployment to NPMI the context of the glass project, we need to deploy each module to the Gitlab NPM.
Automate this process (using gitlab.ci) for whenever we push a tag, the system will automatically push to NPMI the context of the glass project, we need to deploy each module to the Gitlab NPM.
Automate this process (using gitlab.ci) for whenever we push a tag, the system will automatically push to NPMVitor NogueiraVitor Nogueirahttps://gitlab.ubitech.eu/glass-project/wallet/dsu-utils/-/issues/2(low priority) Refactor to typescript2022-08-30T22:47:05+03:00Tiago Venceslau(low priority) Refactor to typescriptSince we are using typescript for all the project, I would like this repo to be typescript as well.
Most scripts should be ok, except the testRunner (Iṽe not been able to import OpenDSU into a typescript project)Since we are using typescript for all the project, I would like this repo to be typescript as well.
Most scripts should be ok, except the testRunner (Iṽe not been able to import OpenDSU into a typescript project)Vitor NogueiraVitor Nogueirahttps://gitlab.ubitech.eu/glass-project/wallet/dsu-utils/-/issues/1Create a common repository for OpenDSU based tools to be used accross workspaces2022-08-25T21:38:30+03:00Tiago VenceslauCreate a common repository for OpenDSU based tools to be used accross workspacesThe bin folder in the current DSU Blueprint Workspace contains a set of tools to help manage OpenDSU related projects, that inherently need to be used in all workspaces.
Create a project structure similar to what we have on all other projects:
- Node based;
- generates documentation in the same manner;
Move all the code in the bin folder of DSU blueprint workspace to this repo. Properly document all scripts in the manner that has been discussed. Use sequence diagrams when necessary.
This module should accept the following commands:
- clean (forward to clean script);
- backup (forward to backup script);
so we can later call it ```dsu-utils --clean``` for example. (you can change the arg parser method to assume the value is true when no '=' or value is found. only the --xxx notation
Refactor DSU Blueprint Workspace (and all other workspaces, workspace template for instance) to add this to its devDependencies and refactor npm scripts to use them accordingly.
Refactor tests to use the test runner from this package.The bin folder in the current DSU Blueprint Workspace contains a set of tools to help manage OpenDSU related projects, that inherently need to be used in all workspaces.
Create a project structure similar to what we have on all other projects:
- Node based;
- generates documentation in the same manner;
Move all the code in the bin folder of DSU blueprint workspace to this repo. Properly document all scripts in the manner that has been discussed. Use sequence diagrams when necessary.
This module should accept the following commands:
- clean (forward to clean script);
- backup (forward to backup script);
so we can later call it ```dsu-utils --clean``` for example. (you can change the arg parser method to assume the value is true when no '=' or value is found. only the --xxx notation
Refactor DSU Blueprint Workspace (and all other workspaces, workspace template for instance) to add this to its devDependencies and refactor npm scripts to use them accordingly.
Refactor tests to use the test runner from this package.Setup Undelying LibrariesVitor NogueiraVitor Nogueira