Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hcl-tech-software/voltscript-collections
Modern Collection and Map classes for VoltScript
https://github.com/hcl-tech-software/voltscript-collections
volt-mx-go voltscript
Last synced: 10 days ago
JSON representation
Modern Collection and Map classes for VoltScript
- Host: GitHub
- URL: https://github.com/hcl-tech-software/voltscript-collections
- Owner: HCL-TECH-SOFTWARE
- License: apache-2.0
- Created: 2024-02-20T17:16:22.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-03T12:31:16.000Z (3 months ago)
- Last Synced: 2024-12-20T12:15:46.197Z (17 days ago)
- Topics: volt-mx-go, voltscript
- Language: Shell
- Homepage: http://opensource.hcltechsw.com/voltscript-collections/
- Size: 2.61 MB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# VoltScript Collections
Collections and Map classes for LotusScript and VoltScript.
Aims:
- Provide simple, flexible, extensible collections and maps.
- Allow a collection to be instantiated from values _immediately_. This is not possible if you do `Dim foo() as String`.
- Provide unsorted, sorted, unique, sorted unique collections and maps.
- Make the sorting method a property of the collection, to minimise the number of collections required.
- Hide the complexity of optimising sorting from the end user.
- Reuse collections for the keys in a Map.## Using dependency management
Dependency management is available in the documentation for each project, but also aggregated here:
### Authentication
You'll need a [Personal Access Token](https://help.hcltechsw.com/docs/voltscript/early-access/howto/writing/archipelago.md#github-personal-access-token) to use GitHub REST APIs. You'll then need to add this to the JSON object in your [atlas-settings.json](https://help.hcltechsw.com/docs/voltscript/early-access/howto/writing/archipelago.md#atlas-settingsjson), in the .vss directory of your user home directory:
```json
"hcl-github": {
"type": "github",
"token": "YOUR_TOKEN"
}
```For JsonVSE downstream dependency, you'll need to sign up for the Volt MX Marketplace. Instructions are in the [how-to-guide](https://help.hcltechsw.com/docs/voltscript/early-access/howto/writing/archipelago.html#volt-mx-marketplace-credentials). **NOTE:** Ensure you log into the Volt MX Marketplace via a browser after confirming your account, to ensure the account is properly activated. Otherwise authentication to gain an access token will fail.
You'll then need to add this to the JSON object in your [atlas-settings.json](https://help.hcltechsw.com/docs/voltscript/early-access/howto/writing/archipelago.md#atlas-settingsjson), in the .vss directory of your user home directory:
```json
"volt-mx-marketplace": {
"type": "marketplace",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD",
"authUrl": "https://accounts.auth.hclvoltmx.net/login"
}
```### Repository
You'll need to add to your **repositories** object in the atlas.json of your project:
```json
{
"id": "hcl-github",
"type": "github",
"url": "https://api.github.com/repos/HCL-TECH-SOFTWARE"
}
```### Dependency
You'll need the relevant dependency to add to your **dependencies** or **testDependencies** object in the atlas.json of your project:
```json
{
"library": "voltscript-collections",
"version": "1.0.4",
"module": "VoltScriptCollections.vss",
"repository": "hcl-github"
}
```## Contributing
See [CONTRIBUTING.md](contributing.md).
## Code of Conduct
See [CODE_OF_CONDUCT.md](code_of_conduct.md).
## Issues and discussions
Let's chat on [OpenNTF Discord](https://openntf.org/discord).
For long-running discussions, use Discussions area in GitHub. For bugs and feature requests **specific to VoltScript Testing Framework** use, Issues area.