Skip to content

feature: implement onboard device to hub#101

Merged
jkralik merged 13 commits intomainfrom
jkralik/feature/onboard
Jan 31, 2023
Merged

feature: implement onboard device to hub#101
jkralik merged 13 commits intomainfrom
jkralik/feature/onboard

Conversation

@jkralik
Copy link
Copy Markdown
Member

@jkralik jkralik commented Dec 12, 2022

new endpoints in swagger:

updated endpoint:

changed config:

remoteProvisioning:
    ownerClaim: owner-id
    hubID: 1c10a3b6-287c-11ec-ac2d-13054959c274
    coapGateway: coaps+tcp://try.plgd.cloud:5684
    caPool:
        - ./ca.crt
    authority: https://auth.plgd.cloud/realms/shared
    certificateAuthority: https://api.try.plgd.cloud
    webOAuthClient:
        clientID: LXZ9OhKWWRYqf12W0B5OXduqt02q0zjS
        audience: https://try.plgd.cloud
        scopes: [ openid ]
    deviceOAuthClient:
        clientID: cYN3p6lwNcNlOvvUhz55KvDZLQbJeDr5
        audience: ""
        scopes: [offline_access]
        providerName: "plgd.web"
    mode: userAgent
    userAgent:
        csrChallengeStateExpiration: 1m0s

@jkralik jkralik force-pushed the jkralik/feature/onboard branch 2 times, most recently from f0ea78b to 0a262ff Compare December 12, 2022 08:37
@jkralik jkralik force-pushed the jkralik/feature/onboard branch from 0a262ff to d3f0c64 Compare December 12, 2022 12:31
Comment thread pb/get_configuration.proto
Comment thread pb/get_configuration.proto Outdated
Comment thread service/config/config.go
Comment thread service/config/remoteProvisioning/config.go Outdated
Comment thread service/config/remoteProvisioning/config.go Outdated
Comment thread service/grpc/offboardDevice.go
@jkralik jkralik force-pushed the jkralik/feature/onboard branch from 292d2ca to 4eff091 Compare December 13, 2022 12:37
@jkralik jkralik requested a review from ondrejtomcik December 13, 2022 13:32
* update ui
Comment thread pb/get_configuration.go Outdated
@jkralik jkralik force-pushed the jkralik/feature/onboard branch from 6f8cbab to 369f6a6 Compare December 23, 2022 10:38
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 12 Code Smells

76.8% 76.8% Coverage
0.0% 0.0% Duplication

@sonarqubecloud
Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 2 Security Hotspots
Code Smell A 1 Code Smell

76.8% 76.8% Coverage
0.0% 0.0% Duplication

@jkralik jkralik changed the title implement onboard and change pb.RemoteConfiguration to similar as in hub feature: implement onboard device to hub Jan 31, 2023
@jkralik jkralik merged commit 933dd8c into main Jan 31, 2023
@jkralik jkralik deleted the jkralik/feature/onboard branch January 31, 2023 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants