Skip to content

RequestHeader constructor to initialize trace-indicator as a string instead of integer #964

@IswaryaaS

Description

@IswaryaaS

In ApplicationPattern package, onf-core-model-ap/applicationPattern/rest/client/RequestHeader , the class has a constructor that initializes a new trace-indicator if the incoming request does not have one.
Currently, this is being initialized as a integer.

Proposal:
The trace-indicator shall be initialized as string like below code snippet.

this.traceIndicator = traceIndicator;
        if (traceIndicator == undefined || traceIndicator.length == 0) {
            this.traceIndicator = ‘1’;
        }. 

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions