8000 Cloud onboarding proposal by ocampana-videotec · Pull Request #462 · onvif/specs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cloud onboarding proposal #462

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

Open
wants to merge 59 commits into
base: development
Choose a base branch
from
Open

Conversation

ocampana-videotec
Copy link
Contributor

I closed the previous one, moved the cloud FW upgrade proposal in its own branch and rebased everything on top of development

@ocampana-videotec ocampana-videotec added 24.12 enhancement New feature or request labels Sep 11, 2024
@kieran242
Copy link
Contributor

@ocampana-videotec @jmelancongen Are the blocking issues resolved in this PR ?

@sujithhanwha
Copy link
Contributor

@ocampana-videotec , please check these two improvement points.

Improvement Point 1:
in the device sharing completed notification, there is no way to notify failure, to handle this
have follow suggestion please check,

Suggestion 1: we can add a new path like /deviceSharingFailed
or
Suggestion 2: we could modify the deviceSharingCompleted structure like below,

deviceSharingCompleted:
      type: object
      oneOf:
        - properties:
            success:
              description: Indicates whether the operation was successful.
              type: boolean
              example: true
            shareToken:
              description: The share token, to know what device the public key is associated with.
              type: string
            devicePublicKey:
              description: The public key of the device.
              $ref: '#/components/schemas/base64DerEncodedAsn1Value'
          required:
            - success
            - shareToken
            - devicePublicKey
        - properties:
            success:
              description: Indicates whether the operation was successful.
              type: boolean
              example: false
            errorCode:
              description: A code representing the type of error.
              type: integer
            errorMessage:
              description: A human-readable message providing more details about the error.
              type: string
          required:
            - success
            - errorCode
            - errorMessage

Improvement Point 2:
Additionally securitySchemes is also not defined under components

securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

in the spec

security:
  - BearerAuth: []

@ocampana-videotec ocampana-videotec marked this pull request as ready for review June 4, 2025 08:16
Copy link
Contributor Author
@ocampana-videotec ocampana-videotec left a comment

Choose a reason for hiding this comment

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

it seems ok

@@ -260,7 +280,7 @@
<title>Security</title>
<section>
<title>Authentication</title>
<para>The functions defined in this document do not require authehtication, since presenting
<para>The functions defined within this document do not require authehtication, since presenting
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<para>The functions defined within this document do not require authehtication, since presenting
<para>The functions defined within this document do not require authentication, since presenting

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

Successfully merging this pull request may close these issues.

3D44
7 participants
0