Skip to content

Commit 46e18ed

Browse files
authored
ROX-28506: Rename dinosaur to central Part 1 (#2291)
* Rename Dinosaur to Central * Replace centrals_mgmt with rhacs
1 parent 842cd39 commit 46e18ed

File tree

346 files changed

+1999
-2006
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+1999
-2006
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
internal/dinosaur/pkg/api/admin/private/api/openapi.yaml linguist-generated
1+
internal/central/pkg/api/admin/private/api/openapi.yaml linguist-generated

.github/workflows/multicluster-e2e.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
- '.github/workflows/multicluster-e2e.yaml'
1111
- 'scripts/ci/**'
1212
- 'scripts/lib/**'
13-
- 'internal/pkg/handlers/admin_dinosaur.go'
14-
- 'internal/dinosaur/pkg/services/dinosaur.go'
13+
- 'internal/central/pkg/handlers/admin_central.go'
14+
- 'internal/central/pkg/services/central.go'
1515

1616
pull_request:
1717
types: [opened, synchronize, reopened, ready_for_review]
@@ -21,8 +21,8 @@ on:
2121
- '.github/workflows/multicluster-e2e.yaml'
2222
- 'scripts/ci/**'
2323
- 'scripts/lib/**'
24-
- 'internal/pkg/handlers/admin_dinosaur.go'
25-
- 'internal/dinosaur/pkg/services/dinosaur.go'
24+
- 'internal/central/pkg/handlers/admin_central.go'
25+
- 'internal/central/pkg/services/central.go'
2626

2727
jobs:
2828
create-cluster:

.github/workflows/openapi_update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
token: ${{ env.APP_SERVICES_CI_TOKEN }}
3636
repository: ${{ matrix.repo }}
3737
event-type: openapi-spec-change
38-
client-payload: '{ "id": "dinosaur-mgmt/v1", "download_url":"https://raw.githubusercontent.com/stackrox/acs-fleet-manager/main/openapi/fleet-manager.yaml"}' #TODO change the repository URL to match your fleet manager URL
38+
client-payload: '{ "id": "central-mgmt/v1", "download_url":"https://raw.githubusercontent.com/stackrox/acs-fleet-manager/main/openapi/fleet-manager.yaml"}' #TODO change the repository URL to match your fleet manager URL

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ cmd/fleet-manager/fleet-manager
5959
!/secrets/db.user
6060

6161
# cluster details (used for testing)
62-
/internal/dinosaur/test/integration/test_cluster.json
62+
/internal/central/test/integration/test_cluster.json
6363

6464
# cluster configuration, overwritten locally to custom clusters
6565
config/dataplane-cluster-configuration.yaml

.golangci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
run:
22
skip-dirs:
3-
- internal/dinosaur/pkg/api/public
4-
- internal/dinosaur/pkg/api/private
5-
- internal/dinosaur/pkg/api/admin/private
3+
- internal/central/pkg/api/public
4+
- internal/central/pkg/api/private
5+
- internal/central/pkg/api/admin/private
66
- pkg/client/redhatsso/api
77
- emailsender/pkg/client/openapi
88
skip-files:

.openapi-generator-ignore

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
2424

25-
internal/dinosaur/pkg/api/public/README.md
26-
internal/dinosaur/pkg/api/public/docs/**.md
27-
internal/dinosaur/pkg/api/public/**all_of.go
28-
internal/dinosaur/pkg/api/public/go.mod
29-
internal/dinosaur/pkg/api/public/go.sum
30-
internal/dinosaur/pkg/api/private/README.md
31-
internal/dinosaur/pkg/api/private/docs/**.md
32-
internal/dinosaur/pkg/api/private/**all_of.go
33-
internal/dinosaur/pkg/api/private/go.mod
34-
internal/dinosaur/pkg/api/private/go.sum
35-
internal/dinosaur/pkg/api/admin/private/README.md
36-
internal/dinosaur/pkg/api/admin/private/docs/**.md
37-
internal/dinosaur/pkg/api/admin/private/**all_of.go
38-
internal/dinosaur/pkg/api/admin/private/go.mod
39-
internal/dinosaur/pkg/api/admin/private/go.sum
25+
internal/central/pkg/api/public/README.md
26+
internal/central/pkg/api/public/docs/**.md
27+
internal/central/pkg/api/public/**all_of.go
28+
internal/central/pkg/api/public/go.mod
29+
internal/central/pkg/api/public/go.sum
30+
internal/central/pkg/api/private/README.md
31+
internal/central/pkg/api/private/docs/**.md
32+
internal/central/pkg/api/private/**all_of.go
33+
internal/central/pkg/api/private/go.mod
34+
internal/central/pkg/api/private/go.sum
35+
internal/central/pkg/api/admin/private/README.md
36+
internal/central/pkg/api/admin/private/docs/**.md
37+
internal/central/pkg/api/admin/private/**all_of.go
38+
internal/central/pkg/api/admin/private/go.mod
39+
internal/central/pkg/api/admin/private/go.sum
4040
pkg/client/redhatsso/api/README.md
4141
pkg/client/redhatsso/api/docs/**.md
4242
pkg/client/redhatsso/api/**all_of.go

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
require_serial: true
99
pass_filenames: true
1010
stages: [pre-push, manual]
11-
files: '(openapi/.*|pkg/workers/worker_interface.go|pkg/client/ocm/id.go|pkg/client/aws/client.go|pkg/client/ocm/client.go|pkg/client/iam/client.go|pkg/services/authorization/authorization.go|pkg/services/sso/iam_service.go|pkg/client/redhatsso/client.go|pkg/auth/auth_agent_service.go|internal/dinosaur/pkg/services/cluster_placement_strategy.go|internal/dinosaur/pkg/services/cloud_providers.go|internal/dinosaur/pkg/services/clusters.go|internal/dinosaur/pkg/services/quota.go|internal/dinosaur/pkg/services/fleetshard_operator_addon.go|internal/dinosaur/pkg/services/quota_service_factory.go|internal/dinosaur/pkg/clusters/cluster_builder.go|internal/dinosaur/pkg/clusters/provider.go|internal/dinosaur/pkg/services/dinosaur.go)'
11+
files: '(openapi/.*|pkg/workers/worker_interface.go|pkg/client/ocm/id.go|pkg/client/aws/client.go|pkg/client/ocm/client.go|pkg/client/iam/client.go|pkg/services/authorization/authorization.go|pkg/services/sso/iam_service.go|pkg/client/redhatsso/client.go|pkg/auth/auth_agent_service.go|internal/central/pkg/services/cluster_placement_strategy.go|internal/central/pkg/services/cloud_providers.go|internal/central/pkg/services/clusters.go|internal/central/pkg/services/quota.go|internal/central/pkg/services/fleetshard_operator_addon.go|internal/central/pkg/services/quota_service_factory.go|internal/central/pkg/clusters/cluster_builder.go|internal/central/pkg/clusters/provider.go|internal/central/pkg/services/central.go)'
1212
- repo: https://github.com/Yelp/detect-secrets
1313
rev: v1.5.0
1414
hooks:
@@ -24,14 +24,14 @@ repos:
2424
- id: trailing-whitespace
2525
args: ["--markdown-linebreak-ext=md"]
2626
- id: end-of-file-fixer
27-
exclude: '^(?:secrets/db.*|internal/dinosaur/pkg/api/(admin|private|public)/.*|pkg/client/redhatsso/api/.*|emailsender/pkg/client/openapi/.*)$' # Matches either secrets/db.* files or the generated files under internal/dinosaur/pkg/api/(admin|private|public) and pkg/client/redhatsso/client/api.
27+
exclude: '^(?:secrets/db.*|internal/central/pkg/api/(admin|private|public)/.*|pkg/client/redhatsso/api/.*|emailsender/pkg/client/openapi/.*)$' # Matches either secrets/db.* files or the generated files under internal/central/pkg/api/(admin|private|public) and pkg/client/redhatsso/client/api.
2828
- id: check-json
2929
- repo: https://github.com/shellcheck-py/shellcheck-py
3030
rev: v0.9.0.5
3131
hooks:
3232
- id: shellcheck
3333
# Ignore scripts generated by openapi-generator.
34-
exclude: '^(?:internal/dinosaur/pkg/api/.*|pkg/client/redhatsso/api/.*|emailsender/pkg/client/openapi/.*)$'
34+
exclude: '^(?:internal/central/pkg/api/.*|pkg/client/redhatsso/api/.*|emailsender/pkg/client/openapi/.*)$'
3535
- repo: local
3636
hooks:
3737
- id: code/check

.secrets.baseline

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -262,35 +262,35 @@
262262
"line_number": 289
263263
}
264264
],
265-
"internal/dinosaur/pkg/api/public/api/openapi.yaml": [
265+
"internal/central/pkg/api/public/api/openapi.yaml": [
266266
{
267267
"type": "Base64 High Entropy String",
268-
"filename": "internal/dinosaur/pkg/api/public/api/openapi.yaml",
268+
"filename": "internal/central/pkg/api/public/api/openapi.yaml",
269269
"hashed_secret": "5b455797b93de5b6a19633ba22127c8a610f5c1b",
270270
"is_verified": false,
271271
"line_number": 1343
272272
}
273273
],
274-
"internal/dinosaur/pkg/presenters/managedcentral.go": [
274+
"internal/central/pkg/presenters/managedcentral.go": [
275275
{
276276
"type": "Secret Keyword",
277-
"filename": "internal/dinosaur/pkg/presenters/managedcentral.go",
277+
"filename": "internal/central/pkg/presenters/managedcentral.go",
278278
"hashed_secret": "f4ac636d63edfd5477df8f25e4f4794c73e91d51",
279279
"is_verified": false,
280280
"line_number": 206
281281
},
282282
{
283283
"type": "Secret Keyword",
284-
"filename": "internal/dinosaur/pkg/presenters/managedcentral.go",
284+
"filename": "internal/central/pkg/presenters/managedcentral.go",
285285
"hashed_secret": "e26735ec1cbf8ad15cb7d1eea4893035f61297aa",
286286
"is_verified": false,
287287
"line_number": 212
288288
}
289289
],
290-
"internal/dinosaur/pkg/services/dinosaurservice_moq.go": [
290+
"internal/central/pkg/services/centralservice_moq.go": [
291291
{
292292
"type": "Secret Keyword",
293-
"filename": "internal/dinosaur/pkg/services/dinosaurservice_moq.go",
293+
"filename": "internal/central/pkg/services/centralservice_moq.go",
294294
"hashed_secret": "44e17306b837162269a410204daaa5ecee4ec22c",
295295
"is_verified": false,
296296
"line_number": 1112

CONTRIBUTING.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010

1111
## Specialities
1212

13-
### Dinosaurs
14-
15-
The `dinosaur` is a placeholder for the service name. It originated from the [fleet-manager template](https://github.com/bf2fc6cc711aee1a0c2a/ffm-fleet-manager-go-template).
16-
Long-term all `dinosaur` occurrences will be replaced with our product name.
17-
1813
### Go package structure
1914

2015
Project source is to be found under `$GOPATH/src` by a distinct directory path.
@@ -23,8 +18,8 @@ Project source is to be found under `$GOPATH/src` by a distinct directory path.
2318
/cmd
2419
/fleet-manager -- Main CLI entrypoint
2520
/internal -- service specific implementations
26-
/dinosaur -- should be renamed to central
27-
providers.go -- dinosaurs service injection setup
21+
/central -- represents ACS Central component (central, external central-db, scanner, scanner-db)
22+
providers.go -- centrals service injection setup
2823
/test -- integration test folder
2924
/internal
3025
/services -- central services

Makefile

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -329,17 +329,17 @@ test/aws: $(GOTESTSUM_BIN)
329329
# make test/integration TESTFLAGS="-run TestAccounts" acts as TestAccounts* and run TestAccountsGet, TestAccountsPost, etc.
330330
# make test/integration TESTFLAGS="-run TestAccountsGet" runs TestAccountsGet
331331
# make test/integration TESTFLAGS="-short" skips long-run tests
332-
test/integration/dinosaur: $(GOTESTSUM_BIN)
332+
test/integration/central: $(GOTESTSUM_BIN)
333333
OCM_ENV=integration $(GOTESTSUM_BIN) --junitfile data/results/fleet-manager-integration-tests.xml --format $(GOTESTSUM_FORMAT) -- -p 1 -ldflags -s -v -timeout $(TEST_TIMEOUT) -count=1 $(TESTFLAGS) \
334-
./internal/dinosaur/test/integration/...
335-
.PHONY: test/integration/dinosaur
334+
./internal/central/test/integration/...
335+
.PHONY: test/integration/central
336336

337337
test/dp-terraform: $(GOTESTSUM_BIN)
338338
$(GOTESTSUM_BIN) --format $(GOTESTSUM_FORMAT) -- -p 1 -ldflags -s -v -timeout $(TEST_TIMEOUT) -count=1 $(TESTFLAGS) \
339339
./dp-terraform/test/...
340340
.PHONY: test/dp-terraform
341341

342-
test/integration: test/integration/dinosaur test/dp-terraform
342+
test/integration: test/integration/central test/dp-terraform
343343
.PHONY: test/integration
344344

345345
# remove OSD cluster after running tests against real OCM
@@ -417,24 +417,24 @@ openapi/generate: openapi/generate/public openapi/generate/private openapi/gener
417417
.PHONY: openapi/generate
418418

419419
openapi/generate/public: openapi-generator
420-
rm -rf internal/dinosaur/pkg/api/public
420+
rm -rf internal/central/pkg/api/public
421421
$(OPENAPI_GENERATOR) validate -i openapi/fleet-manager.yaml
422-
$(OPENAPI_GENERATOR) generate -i openapi/fleet-manager.yaml -g go -o internal/dinosaur/pkg/api/public --package-name public -t openapi/templates --ignore-file-override ./.openapi-generator-ignore
423-
$(GOFMT) -w internal/dinosaur/pkg/api/public
422+
$(OPENAPI_GENERATOR) generate -i openapi/fleet-manager.yaml -g go -o internal/central/pkg/api/public --package-name public -t openapi/templates --ignore-file-override ./.openapi-generator-ignore
423+
$(GOFMT) -w internal/central/pkg/api/public
424424
.PHONY: openapi/generate/public
425425

426426
openapi/generate/private: openapi-generator
427-
rm -rf internal/dinosaur/pkg/api/private
427+
rm -rf internal/central/pkg/api/private
428428
$(OPENAPI_GENERATOR) validate -i openapi/fleet-manager-private.yaml
429-
$(OPENAPI_GENERATOR) generate -i openapi/fleet-manager-private.yaml -g go -o internal/dinosaur/pkg/api/private --package-name private -t openapi/templates --ignore-file-override ./.openapi-generator-ignore
430-
$(GOFMT) -w internal/dinosaur/pkg/api/private
429+
$(OPENAPI_GENERATOR) generate -i openapi/fleet-manager-private.yaml -g go -o internal/central/pkg/api/private --package-name private -t openapi/templates --ignore-file-override ./.openapi-generator-ignore
430+
$(GOFMT) -w internal/central/pkg/api/private
431431
.PHONY: openapi/generate/private
432432

433433
openapi/generate/admin: openapi-generator
434-
rm -rf internal/dinosaur/pkg/api/admin/private
434+
rm -rf internal/central/pkg/api/admin/private
435435
$(OPENAPI_GENERATOR) validate -i openapi/fleet-manager-private-admin.yaml
436-
$(OPENAPI_GENERATOR) generate -i openapi/fleet-manager-private-admin.yaml -g go -o internal/dinosaur/pkg/api/admin/private --package-name private -t openapi/templates --ignore-file-override ./.openapi-generator-ignore
437-
$(GOFMT) -w internal/dinosaur/pkg/api/admin/private
436+
$(OPENAPI_GENERATOR) generate -i openapi/fleet-manager-private-admin.yaml -g go -o internal/central/pkg/api/admin/private --package-name private -t openapi/templates --ignore-file-override ./.openapi-generator-ignore
437+
$(GOFMT) -w internal/central/pkg/api/admin/private
438438
.PHONY: openapi/generate/admin
439439

440440
openapi/generate/rhsso: openapi-generator

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,8 @@ $ make db/migrate
123123
#### Background
124124

125125
This project was started from a fleet-manager template with an example "Dinosaur" application as a managed service.
126-
Implementations which reference "Dinosaur" are replaced iteratively.
127126

128-
For a real service written using the same fleet management pattern see the
129-
[kas-fleet-manager](https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager).
127+
Another fleet manager which was built from the same template [kas-fleet-manager](https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager).
130128
Original [fleet-manager template](https://github.com/bf2fc6cc711aee1a0c2a/ffm-fleet-manager-go-template).
131129

132130
To contact the people that created this template go to [zulip](https://bf2.zulipchat.com/).

cmd/acsfleetctl/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"os"
66

77
"github.com/spf13/cobra"
8-
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/cmd/admin"
9-
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/cmd/centrals"
10-
gitopsCmd "github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/gitops/cmd"
8+
"github.com/stackrox/acs-fleet-manager/internal/central/pkg/cmd/admin"
9+
"github.com/stackrox/acs-fleet-manager/internal/central/pkg/cmd/centrals"
10+
gitopsCmd "github.com/stackrox/acs-fleet-manager/internal/central/pkg/gitops/cmd"
1111
)
1212

1313
func main() {

cmd/fleet-manager/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/golang/glog"
1111
"github.com/spf13/cobra"
12-
"github.com/stackrox/acs-fleet-manager/internal/dinosaur"
12+
"github.com/stackrox/acs-fleet-manager/internal/central"
1313
"github.com/stackrox/acs-fleet-manager/pkg/environments"
1414
)
1515

@@ -27,7 +27,7 @@ func main() {
2727
}
2828

2929
env, err := environments.New(environments.GetEnvironmentStrFromEnv(),
30-
dinosaur.ConfigProviders(),
30+
central.ConfigProviders(),
3131
)
3232
if err != nil {
3333
glog.Fatalf("error initializing: %v", err)

cmd/fleet-manager/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/stackrox/acs-fleet-manager/pkg/workers"
1313

1414
. "github.com/onsi/gomega"
15-
"github.com/stackrox/acs-fleet-manager/internal/dinosaur"
15+
"github.com/stackrox/acs-fleet-manager/internal/central"
1616
"github.com/stackrox/acs-fleet-manager/pkg/environments"
1717
"github.com/stackrox/acs-fleet-manager/pkg/serviceregistration"
1818
)
@@ -21,7 +21,7 @@ func TestInjections(t *testing.T) {
2121
RegisterTestingT(t)
2222

2323
env, err := environments.New(environments.DevelopmentEnv,
24-
dinosaur.ConfigProviders(),
24+
central.ConfigProviders(),
2525
)
2626

2727
// Puts non-empty central IdP client secret value so config validation does not fail.

config/dataplane-cluster-configuration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# region: us-east-1
1313
# multi_az: true
1414
# schedulable: true
15-
# dinosaur_instance_limit: 2
15+
# central_instance_limit: 2
1616
# status: "cluster_provisioning" #Valid values are `cluster_provisioning`, `cluster_provisioned` and `ready`. `cluster_provisioning` will be used if not specified.
1717
# provider_type: "ocm" #Valid values are `ocm` and `standalone`. `ocm` will be used if not specified.
18-
# cluster_dns: apps.example.com #Valid cluster DNS. This will be used to build dinosaur host url and to communicate with standalone clusters. Required when "provider_type" is "standalone"
18+
# cluster_dns: apps.example.com #Valid cluster DNS. This will be used to build central host url and to communicate with standalone clusters. Required when "provider_type" is "standalone"
1919
# supported_instance_type: "eval" # could be "eval", "standard" or both i.e "standard,eval" or "eval,standard". Defaults to "standard,eval" if not set
2020
clusters: [] # For a list of development clusters see dev/config/dataplane-cluster-configuration.yaml

config/quota-management-list-configuration.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# A list of registered users given by their usernames irrespective whether they are under an organisation or not.
3-
# If a user is not in this or in the `registered_users_per_organisation` list, only EVAL dinosaur instances will be allowed.
3+
# If a user is not in this or in the `registered_users_per_organisation` list, only EVAL Central instances will be allowed.
44
# For now, this only supports RH service account.
55
# In the future it may support service accounts outside RH.
66
# The structure of registered service accounts is:
@@ -16,9 +16,9 @@ registered_service_accounts:
1616
max_allowed_instances: 1
1717

1818
# A list of registered users per organisation (see structure below). The list current contains known organisations - add yours if it is missing.
19-
# If a user is not in this or in the `registered_service_accounts` list, only EVAL dinosaur instances will be allowed.
19+
# If a user is not in this or in the `registered_service_accounts` list, only EVAL Central instances will be allowed.
2020
# - "id": is the organisation id
21-
# - "any_user": "any_user": Controls whether to allow all users to create standard dinosaur instances with this organisation if "registered_users" list is empty.
21+
# - "any_user": "any_user": Controls whether to allow all users to create standard Central instances with this organisation if "registered_users" list is empty.
2222
# - max_allowed_instances: is the maximum number of instances this orgnisation. Defaults to the global value of `max-allowed-instances` which has different values for distinct environments.
2323
# - "registered_users": A list of registered users for this organisation. If empty, no one is registered unless "any_user" is set to true.
2424
# - username: is the account of the user. The username must be unique within the organisation and across organisations.

dev/config/quota-management-list-configuration.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# A list of registered users given by their usernames irrespective whether they are under an organisation or not.
3-
# If a user is not in this or in the `registered_users_per_organisation` list, only EVAL dinosaur instances will be allowed.
3+
# If a user is not in this or in the `registered_users_per_organisation` list, only EVAL central instances will be allowed.
44
# For now, this only supports RH service account.
55
# In the future it may support service accounts outside RH.
66
# The structure of registered service accounts is:
@@ -16,9 +16,9 @@ registered_service_accounts:
1616
max_allowed_instances: 1
1717

1818
# A list of registered users per organisation (see structure below). The list current contains known organisations - add yours if it is missing.
19-
# If a user is not in this or in the `registered_service_accounts` list, only EVAL dinosaur instances will be allowed.
19+
# If a user is not in this or in the `registered_service_accounts` list, only EVAL central instances will be allowed.
2020
# - "id": is the organisation id
21-
# - "any_user": "any_user": Controls whether to allow all users to create standard dinosaur instances with this organisation if "registered_users" list is empty.
21+
# - "any_user": "any_user": Controls whether to allow all users to create standard central instances with this organisation if "registered_users" list is empty.
2222
# - max_allowed_instances: is the maximum number of instances this orgnisation. Defaults to the global value of `max-allowed-instances` which has different values for distinct environments.
2323
# - "registered_users": A list of registered users for this organisation. If empty, no one is registered unless "any_user" is set to true.
2424
# - username: is the account of the user. The username must be unique within the organisation and across organisations.

dev/env/central-to-ready/prepare-dinosaur-request-entry.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)