Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Added Option to use GatewayToken #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added Option to use GatewayToken #25

wants to merge 1 commit into from

Conversation

rxt30
Copy link

@rxt30 rxt30 commented Jul 21, 2020

Added a option if the target should authenticate through a GatewayToken
or a TargetToken, see
https://www.eclipse.org/hawkbit/concepts/authentication/ for more
information about the different "Token-Types".

The Type can be determined by adding the following option to the
config-File of the client:
auth_token_type = $TYPE
The folowing Types can be used: GatewayToken, TargetToken

If the option is not specified it will not break the program, instead it
tries to authenticate via TargetToken. This is to prevent errors when
updating the program with existing configs.

Signed-off-by: Max Hampel [email protected] #24

Added a option if the target should authenticate through a GatewayToken
or a TargetToken, see
https://www.eclipse.org/hawkbit/concepts/authentication/ for more
information about the different "Token-Types".

The Type can be determined by adding the following option to the
config-File of the client:
auth_token_type = $TYPE
The folowing Types can be used: GatewayToken, TargetToken

If the option is not specified it will not break the program, instead it
tries to authenticate via TargetToken. This is to prevent errors when
updating the program with existing configs.

Signed-off-by: Max Hampel <[email protected]>
@rxt30
Copy link
Author

rxt30 commented Jul 21, 2020

Fixed the errors in test_client.py, please remove pull request #24

@jluebbe
Copy link
Member

jluebbe commented Jul 21, 2020

Fixed the errors in test_client.py, please remove pull request #24

For the next time: You can update your existing PRs by force-pushing to the branch.

@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is 50.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   22.88%   22.88%           
=======================================
  Files           6        6           
  Lines         402      402           
=======================================
  Hits           92       92           
  Misses        310      310           
Impacted Files Coverage Δ
rauc_hawkbit/rauc_dbus_ddi_client.py 0.00% <0.00%> (ø)
rauc_hawkbit/ddi/client.py 57.89% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47bebb4...6d83839. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants