Skip to content

Commit 330a493

Browse files
Merge pull request #19 from Acumatica/single-tenant
Single-tenant support
2 parents 51978ab + 463b159 commit 330a493

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
77
## [Unreleased]
88
### Added
99
- Draft section for upcoming fixes and features.
10+
11+
## [1.0.1] - 2026-01-22
12+
### Fixed
13+
- Removed the requirement for `acuMate.tenant`, allowing single-tenant Acumatica instances to leave the setting empty without blocking backend-powered features.
1014

1115
## [1.0.0] - 2026-01-20
1216
### Added

acumate-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": "https://github.com/Acumatica/AcuMate/",
66
"publisher": "acumatica",
77
"icon": "images/acumatica.png",
8-
"version": "1.0.0",
8+
"version": "1.0.1",
99
"engines": {
1010
"vscode": "^1.54.0"
1111
},
@@ -37,7 +37,7 @@
3737
},
3838
"acuMate.tenant": {
3939
"type": "string",
40-
"description": "Tenant to use."
40+
"description": "Tenant to use (leave empty for single-tenant sites)."
4141
},
4242
"acuMate.useCache": {
4343
"type": "boolean",

acumate-plugin/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The AcuMate extension provides a range of settings to configure its behavior. Ea
1515
| `acuMate.backendUrl` | `string` | `http://localhost` | This is the URL for the backend. |
1616
| `acuMate.login` | `string` | `admin` | Login credential to the backend. |
1717
| `acuMate.password` | `string` | `123` | Password for the backend. |
18-
| `acuMate.tenant` | `string` | `""` | Specifies the tenant to use. |
18+
| `acuMate.tenant` | `string` | `""` | Specifies the tenant to use; leave empty for single-tenant sites. |
1919
| `acuMate.useCache` | `boolean` | `true` | Enables caching of server responses. |
2020
| `acuMate.useBackend` | `boolean` | `true` | Enables the use of the backend for the plugin. Disabling this may cause some features to stop working. |
2121
| `acuMate.usePrettier` | `boolean` | `true` | Applies Prettier formatting to generated files. |

acumate-plugin/src/api/api-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class AcuMateApiClient implements IAcuMateApiClient {
4444
const data = {
4545
"name" : AcuMateContext.ConfigurationService.login,
4646
"password" : AcuMateContext.ConfigurationService.password,
47-
"tenant" : AcuMateContext.ConfigurationService.tenant
47+
"tenant" : AcuMateContext.ConfigurationService.tenant?.trim() || undefined
4848
};
4949
const response = await fetch(AcuMateContext.ConfigurationService.backedUrl!+AuthEndpoint, {
5050
method:'POST',

acumate-plugin/src/extension.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ function reportBackendConfigurationState() {
5050
if (!AcuMateContext.ConfigurationService.password?.trim()) {
5151
missing.push('acuMate.password');
5252
}
53-
if (!AcuMateContext.ConfigurationService.tenant?.trim()) {
54-
missing.push('acuMate.tenant');
55-
}
5653

5754
if (missing.length) {
5855
const warning = `AcuMate backend is enabled but missing required settings: ${missing.join(', ')}`;

0 commit comments

Comments
 (0)