Skip to content

PrathibaJee/issue968#980

Merged
IswaryaaS merged 10 commits intov2.1.1_implfrom
PrathibaJee/issue968
Jun 23, 2024
Merged

PrathibaJee/issue968#980
IswaryaaS merged 10 commits intov2.1.1_implfrom
PrathibaJee/issue968

Conversation

@PrathibaJee
Copy link
Copy Markdown
Contributor

Fixes #968
Also some modification and refactoring done to the existing structure

* @returns {String}
**/
static async getServerLtpListAsync(ltpUuid) {
let ltp = await controlConstruct.getLogicalTerminationPointAsync(ltpUuid);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

here, in documentation i think "return" value is a "List" instead of String

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Modified the documentation accordingly.Thanks.

@@ -4,7 +4,7 @@
const LogicalTerminationPoint = require('onf-core-model-ap/applicationPattern/onfModel/models/LogicalTerminationPoint');
const LogicalTerminationPointConfigurationInput = require('onf-core-model-ap/applicationPattern/onfModel/services/models/logicalTerminationPoint/ConfigurationInput');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this shall also be updated as ConfigurationInputV2.js and corresponding implementation could be updated accordingly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you, removed the ConfigurationInput declaration as in the latest we are not using that module.


const integerProfile = require('onf-core-model-ap/applicationPattern/onfModel/models/profile/IntegerProfile');
const integerProfile = require('onf-core-model-ap/applicationPattern/onfModel/models/profile/IntegerProfile');
const HttpClientInterface = require('onf-core-model-ap/applicationPattern/onfModel/models/layerProtocols/HttpClientInterface');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I can see a duplicity in import of httpClientInterface module. Can we remove this and update corresponding lines of HttpClientInterface to httpClientInterface.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, removed the duplicate entry as mentioned.

@@ -37,7 +37,8 @@ const createHttpError = require('http-errors');
const HttpServerInterface = require('onf-core-model-ap/applicationPattern/onfModel/models/layerProtocols/HttpServerInterface');
const OperationClientInterface = require('onf-core-model-ap/applicationPattern/onfModel/models/layerProtocols/OperationClientInterface');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can see OperationClientInterface also has a duplicate import statement. Can we remove this and change corresponding lines of OperationClientInterface to operationClientInterface.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, removed the duplicate entry.

@PrathibaJee PrathibaJee requested a review from IswaryaaS June 23, 2024 13:08
@IswaryaaS IswaryaaS merged commit 99ccfb5 into v2.1.1_impl Jun 23, 2024
@IswaryaaS IswaryaaS deleted the PrathibaJee/issue968 branch June 23, 2024 13:13
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.

2 participants