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

Add cf endpoint to scheduler #3437

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open

Conversation

bonzofenix
Copy link
Contributor

@bonzofenix bonzofenix commented Dec 20, 2024

  • Add endpoint that parse the XFCC header and validates request against a valid org guid and space guid present in the alternative subject of the provided certificate.

@bonzofenix bonzofenix force-pushed the add-cf-endpoint-to-scheduler branch 16 times, most recently from 3c81691 to 56ebc8d Compare December 29, 2024 20:40
@bonzofenix bonzofenix force-pushed the add-cf-endpoint-to-scheduler branch 2 times, most recently from 7013046 to 48fd6ce Compare December 30, 2024 22:06
Copy link

linux-foundation-easycla bot commented Jan 21, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@bonzofenix bonzofenix force-pushed the add-cf-endpoint-to-scheduler branch 5 times, most recently from fb94975 to 2159f78 Compare January 31, 2025 15:39
Adds xfcc cf endpoint support to scaling engine

Remove debug println

WIP

wip

Fix warning

Initial implementation of CF ServeR

Add .trunk to .gitignore for Devbox configuration.

Add .trunk to .gitignore for Devbox configuration.
 - Rename cfServer to cf-server in configuration properties
 - Add launch.json for VSCode Java debugging setup
 - Remove destroyMethod annotation from CFServerConfig bean
 - Update application.yml to reflect new property names for cf-server
bonzofenix and others added 26 commits January 31, 2025 12:46
 • Extract CheckAuth function from xfccAuthMiddleware for standalone use with org and space parameters.
 • Replace instance method calls with standalone function calls in auth checks.
 • Update gorouterproxy tests to use the new CheckAuth function and pass org and space GUIDs directly.
 • Remove debug logging from mapFrom function.
 - Correct the missing type for the `portToForward` parameter in `GoRouterProxy` function.
 - Update command arguments to include `--port` and `--forwardTo` flags in `GoRouterProxy`.
 - Add `GoRouterProxy` port to the `PreparePorts` function.
 - Prefix a test with `FWhen` to focus on a specific scheduler test.
 - Introduce a new Makefile target `build-gorouterproxy` to compile the gorouterproxy component.
 - Mark `testsuite` as a PHONY target in the Makefile.
 - Update gorouterproxy tests to check for the new startup log message.
 - Add TLS certificate and key file flags to gorouterproxy and update the main function to use provided paths if available.
 - Include additional configuration for the Golang API server in the integration tests.
 - Implement AfterEach cleanup for stopping the Golang API server and gorouterproxy in integration tests.
 - Add GoRouterProxy to the list of compiled executables in the integration suite setup.
 - Allocate a new port for GolangAPICFServer in the integration test suite.
… Postgres container detached with corrected max_connections config
 - Introduce SchedulerCFServer component to handle CF server connections
 - Update integration tests to use temporary directories and URLs
 - Remove CFHTTPConfiguration class and adjust application.yml for scheduler
 - Refactor integration test code for clarity and consistency
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update google.golang.org/genproto digest to 29210b9

* 🤖🦾🛠️ go mod tidy & make package-specs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…:main docker digest to a850ee8 (#3470)

* chore(deps): update ghcr.io/cloudfoundry/app-autoscaler-release-tools:main docker digest to a850ee8

* trigger new ci run

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: geigerj0 <[email protected]>
 • Extract default API server configuration into defaultGolangAPITestConfig function
 • Remove hardcoded file paths for API info, schema validation, and service catalog
 • Simplify PrepareGolangApiServerConfig by using the new default config function
 • Clean up commented-out password hash code and other unused variables
 • Update configuration structure to match new defaults and remove unnecessary URI settings
 • Refactor defaultGolangAPITestConfig to DefaultGolangAPITestConfig and add dbURI parameter.
 • Include Port in Server and BrokerServer configurations within DefaultGolangAPITestConfig.
 • Add Db and MetricsForwarder configurations to DefaultGolangAPITestConfig.
 • Simplify PrepareGolangApiServerConfig by removing explicit port parameters and using DefaultGolangAPITestConfig.
 • Rename writeYmlConfig to WriteYmlConfig and update its usages across test files.
 • Update test setup functions to reflect changes in configuration functions.
 • Remove redundant port and metrics forwarder URL parameters from test configurations.
# Issue

Redocly CLI is the recommended replacement for the deprecated
swagger-cli package

# Fix

See https://redocly.com/docs/cli/guides/migrate-from-swagger-cli
…ting

 - Remove container usage from the code-style job in GitHub Actions workflow
 - Add steps to install Devbox and make its shell environment available
 - Resolve merge conflict in devbox.json by including google-java-format
 - Add google-java-format to devbox.lock with support for multiple architectures
 - Create new Makefile in src/scheduler for Java formatting and checking
 - Update devbox-install-action to v0.12.0 across workflows
 - Update CodeQL actions to latest version
 - Add devbox installation step to java-ci-lint workflow
 - Upgrade loggregator-agent-release and tlsconfig in go.mod
 - Bump chi, ginkgo, gomega, grpc, and grpc-gateway versions
 - Update indirect dependencies in go.sum
@bonzofenix bonzofenix force-pushed the add-cf-endpoint-to-scheduler branch from 2159f78 to b78d125 Compare January 31, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants