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

Change apidoc URLs to openapi + potassium #1502

Merged
merged 28 commits into from Sep 6, 2023

Conversation

Tobianas
Copy link
Contributor

JIRA: LIGHTY-233

Adopt:
- odlparent-13.0.3
- infrautils-6.0.1
- yangtools-11.0.0
- mdsal-12.0.0
- controller-8.0.0
- aaa-0.18.0
- netconf-6.0.1
- bgcep-0.20.1

JIRA:LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
We are no longer getting mockito-core from a dependency, and we need to
add it manually.

opendaylight/mdsal@aa6cf64

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
We need this dependency for tests and for controller

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
The old name does not reflect what the artifact does, rename it to
reflect the fact it is the integration of netconf-client with MD-SAL
services.

opendaylight/netconf@d87589d

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
This dependency was renamed to restconf-openapi
opendaylight/netconf@efa78a3

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
YangTextSchemaSource now requires Charset to be specified.
opendaylight/yangtools@d95368f#diff-4d088af7ba991550bb26af0938006958ca91b708837f1ea6970e11815665b428R60

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/mdsal@659d92d

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Getting namespace optionally was deprecated and removed.
opendaylight/netconf@7335459

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/yangtools@90dd70f

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/yangtools@61dd54d

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
This class was removed and NormalizationResultHolder should be used
instead of it.

opendaylight/yangtools@f6553f9#diff-0ede76bfc40f8b4dff2d60611451cee19aee10728f9f8d28534ad96be2d61605

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/netconf@8b6271e

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
The report() method was moved to the registration.

opendaylight/infrautils@58e6829

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Rather than having a dedicated public class for the common case,
introduce a static of() method, which hides the implementation.

opendaylight/yangtools@93e320e

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
CallHomeMountDispatcher received changes which requires us to
create this class in a different way:

opendaylight/netconf@933399c#diff-0f7425c5c0ad28d81ac1b62c322fad0aab52a0cbe05b35b49e704752e87426b0

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Implement the following changes:
opendaylight/netconf@44e2ed5

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
callhome-status.yang as a standalone model does not make much sense,
integrate it into odl-netconf-callhome-server.yang, which simplifies
things a bit.

Also adjust the existing tests based on this change:
opendaylight/netconf@3578c00

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/netconf@62cc47d

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
opendaylight/yangtools@2260756

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
NormalizedNodeResult is no longer avalible, and NormalizationResultHolder
is used instead

opendaylight/yangtools@f6553f9

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Implement a private record to use metadata after changes in:
opendaylight/yangtools@6371872

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
This implementation was hidden, so lets use NormalizedAnydata instead:
opendaylight/yangtools@a9a741c#diff-007056a0933f2da881c655378c1d73b3a51ef2b834dbff3395413d2d2362ae34

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Adjust tests based on the changes made in ODL:
opendaylight/netconf@805fa94

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Renamed package org.opendaylight.netconf.sal.rest.doc.api to
org.opendaylight.restconf.openapi.api.

opendaylight/netconf@b28313e

JIRA: LIGHTY-235
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
AugmentationNode was removed from ODL and we need to deal with it keeping
the functionality the same:

opendaylight/yangtools@3d2579d

JIRA: LIGHTY-243
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
This commit aligns with a change made in OpenDaylight:
(commit ceead2ead14d19fde6ba526847a49e347eb3b73a).

JIRA: LIGHTY-233
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
After changing URLs in OpenApi, we need to change them
in tests also.

JIRA: LIGHTY-233
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
URLs for OpenApi were changed, this patch updates
the existing documentation to match the change.

JIRA: LIGHTY-233
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
@ihrasko ihrasko merged commit 6a5f6ae into PANTHEONtech:main Sep 6, 2023
7 checks passed
@ihrasko
Copy link
Collaborator

ihrasko commented Sep 7, 2023

Can we use mockito-subclass in 0763ef8?

@ihrasko
Copy link
Collaborator

ihrasko commented Sep 7, 2023

Can we use UTF-8 in b460a8f?

@ihrasko
Copy link
Collaborator

ihrasko commented Sep 7, 2023

In 8ab7a72 it would be easier to use findNamespaceAttribute method.

@ihrasko
Copy link
Collaborator

ihrasko commented Sep 7, 2023

Why do we need BuilderEntry in df5bbd0.

@Tobianas Tobianas deleted the mainOpenapiDocsPotassium branch April 30, 2024 08:37
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.

None yet

2 participants