SUSE / rmt

RPM repository mirroring tool and registration proxy for SUSE Customer Center.
Other
38 stars 45 forks source link

Add header to SCC endpoint #1209

Closed jesusbv closed 3 months ago

jesusbv commented 3 months ago

Description

Add test to check the header is sent

How to test

Change Type

Please select the correct option.

Checklist

Please check off each item if the requirement is met.

Review

Please check out our review guidelines and get in touch with the author to get a shared understanding of the change.

rjschwei commented 3 months ago

@digitaltom @felixsch if this looks good to you please merge and create a RMT 2.19 package for us to test.

jesusbv commented 3 months ago

@digitaltom @felixsch if this looks good to you please merge and create a RMT 2.19 package for us to test.

I understand the testing package should include #1204 (hopefully, once merged) as well

rjschwei commented 3 months ago

I cannot test run this, but code-wise looks ok now. Please also check how often that gets called and the performance of it, because the inline call to SCC can be expensive. Didn't we have a cache for this?

No there is no cache yet for checking if a system is registered and valid with SCC. That is a follow on project we can start once 2.19 is out.