Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PE-39280) Remove project API from bolt-server #3348

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading