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

CORS support for Mgmt API #854

Merged
merged 6 commits into from
Jun 24, 2019

Conversation

bogdan-bondar
Copy link
Contributor

  • Enabled cors in security configuration, added corresponding properties
  • Added test for cors validation

Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
@hawkbit-bot
Copy link

Can one of the admins verify this patch?

return allowedOrigins;
}

public void setAllowedOrigins(List<String> allowedOrigins) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add final

Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
bogdan-bondar and others added 3 commits June 19, 2019 17:30
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
@stefbehl stefbehl merged commit 379726a into eclipse-hawkbit:master Jun 24, 2019
@stefbehl stefbehl deleted the feature_enable_cors branch June 24, 2019 15:19
@schabdo schabdo added this to the 0.3.0M5 milestone Jul 1, 2019
@schabdo schabdo changed the title Feature enable cors CORS support for Mgmt API Jul 30, 2019
AmmarBikic pushed a commit to bosch-io/hawkbit that referenced this pull request Oct 2, 2020
* enabled cors in security configuration, added corresponding properties
* added test for cors validation
* formatting
* added mariadb test dependency and refactored test
* added database listeners to the test
* Remove dependency duplicate

Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
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.

5 participants