Git Product home page Git Product logo

verifyocmsyncresponses's Introduction

verifyOcmSyncResponses

Node.js program to verify JSON files generated by ABAP report OFFLINE_SIMULATE_OCM_SYNC

It verifies existence of NodeID and ParentNodeID as well as uniqueness of NodeID per UICFilePath+ListPath.

It can search for a specific record based on NodeID

Prerequisities

  • Node.JS

NPM dependencies

  • commander

You might need to install the dependency

    npm install commander

Options

    -h, --help              output usage information
    -V, --version           output the version number
    -d, --directory [path]  specify the relative or absolute [path] which contains the JSON files to be checked
    -n, --nodeId [nodeId]   [nodeId] of records to be found
    -v, --verbose           detailed log, e.g. number of entries per UICFilePath+ListPath 

A prompt will appear. Enter directory (either relative or absolute path) which contains the JSON files to be checked. Press return.

Examples

Verification of files

$ node verifyOcmSyncResponses.js -d folderNameInSameDirectory

argument: relative or absolute path which contains the JSON files to be checked

Program will show total number of files processed and total number of errors. Scroll through the list to find details for each processed file.

Search for specific entry

$ node verifyOcmSyncResponses.js -d folderNameInSameDirectory -n 00163E0FF6B01ED5B2CF1F63D4B27611

Program will either print out details in case of a hit

Detailed log information

$ node verifyOcmSyncResponses.js -d folderNameInSameDirectory -v

Program will print out more details, e.g. number of entries per UICFilePath+ListPath

verifyocmsyncresponses's People

Contributors

marcoeidinger avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.