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 HTTP/XFCCAuth endpoint in the scheduler component #3437

Merged
merged 93 commits into from
Feb 20, 2025

Conversation

bonzofenix
Copy link
Contributor

@bonzofenix bonzofenix commented Dec 20, 2024

Overview

This pull request introduces an HTTP endpoint in the scheduler component.
Authentication for this endpoint is performed using XFCC headers. A certificate with a valid Cloud Foundry (CF) space and org GUID in the Organizational field must be present. These attributes are compared against the valid space and org GUIDs configured in the scheduler component.

To populate the XFCC headers and enable communication between the scheduler and API in integration tests, a GoRouter Proxy app was developed for testing purposes.

Screenshot 2025-02-14 at 15 31 36

@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
@asalan316 asalan316 force-pushed the add-cf-endpoint-to-scheduler branch from 03fb868 to 117664c Compare February 18, 2025 12:55
- bubble up the errors to consumers of the cf config util.
@bonzofenix bonzofenix requested a review from asalan316 February 18, 2025 19:49
bonzofenix and others added 5 commits February 18, 2025 21:17
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…gengine specs

 - Deleted autoscaler/configutil/* from eventgenerator, operator, and scalingengine
 - Removed autoscaler/vendor/github.com/cloud-gov/go-cfenv/* from eventgenerator and operator
 - Eliminated autoscaler/vendor/github.com/mitchellh/mapstructure/* from eventgenerator and scalingengine
@bonzofenix bonzofenix enabled auto-merge (squash) February 19, 2025 12:47
@bonzofenix bonzofenix merged commit c815613 into main Feb 20, 2025
35 checks passed
@bonzofenix bonzofenix deleted the add-cf-endpoint-to-scheduler branch February 20, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants