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

Adds long PAN functionality to send-pan task #3885

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adtisdal-ASDC
Copy link
Contributor

@adtisdal-ASDC adtisdal-ASDC commented Dec 16, 2024

Summary: Adds Long PAN

Changes

  • Adds long Pan functionality
  • Adds panType variable for configuring

PR Checklist

  • Update CHANGELOG
  • Unit tests
  • Ad-hoc testing - Deploy changes and test manually
  • Integration tests

@Jkovarik
Copy link
Member

Thanks for the contribution @adtisdal-ASDC - I've flagged the PR and let the team know it's here.

@@ -41,16 +41,40 @@ async function sendPAN(event: HandlerEvent): Promise<HandlerOutput> {
const { config, input } = event;
const provider = config.provider;
const remoteDir = config.remoteDir || 'pans';
const panType = config.panType || 'shortPan';

const panName = input.pdr.name.replace(/\.pdr/gi, '.pan');

Choose a reason for hiding this comment

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

Any chance you can make this file-extension uppercase? The spec/ICD says the extension is supposed to be .PAN.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed it to uppercase

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

Successfully merging this pull request may close these issues.

3 participants