Skip to content

Commit

Permalink
(PE-39280) Remove project API from bolt-server
Browse files Browse the repository at this point in the history
This commit removes the project based bolt-server APIs from bolt-server.
  • Loading branch information
donoghuc committed Sep 18, 2024
1 parent 30e6554 commit aef7eb7
Show file tree
Hide file tree
Showing 36 changed files with 8 additions and 1,561 deletions.
2 changes: 1 addition & 1 deletion lib/bolt_server/base_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class BaseConfig
def config_keys
%w[host port ssl-cert ssl-key ssl-ca-cert
ssl-cipher-suites loglevel logfile allowlist
projects-dir environments-codedir
environments-codedir
environmentpath basemodulepath]
end

Expand Down
4 changes: 2 additions & 2 deletions lib/bolt_server/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module BoltServer
class Config < BoltServer::BaseConfig
def config_keys
super + %w[concurrency cache-dir file-server-conn-timeout
file-server-uri projects-dir environments-codedir
file-server-uri environments-codedir
environmentpath basemodulepath builtin-content-dir]
end

Expand All @@ -30,7 +30,7 @@ def defaults
end

def required_keys
super + %w[file-server-uri projects-dir]
super + %w[file-server-uri]
end

def service_name
Expand Down
13 changes: 0 additions & 13 deletions lib/bolt_server/plugin.rb

This file was deleted.

37 changes: 0 additions & 37 deletions lib/bolt_server/plugin/puppet_connect_data.rb

This file was deleted.

32 changes: 0 additions & 32 deletions lib/bolt_server/schemas/action-apply.json

This file was deleted.

19 changes: 0 additions & 19 deletions lib/bolt_server/schemas/action-apply_prep.json

This file was deleted.

17 changes: 1 addition & 16 deletions lib/bolt_server/schemas/partials/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,9 @@
"environment": {
"description": "Environment the task is in",
"type": "string"
},
"versioned_project": {
"description": "Project the task is in",
"type": "string"
}
},
"oneOf": [
{
"required": [
"environment"
]
},
{
"required": [
"versioned_project"
]
}
],
"required": ["environment"],
"additionalProperties": true
}
},
Expand Down
Loading

0 comments on commit aef7eb7

Please sign in to comment.