GithubHelp home page GithubHelp logo

permafrost / tundratn Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 18.71 MB

❄ A package of cool services for webMethods Trading Networks 7.1 and higher.

License: MIT License

Java 74.53% JavaScript 25.36% HTML 0.11%
webmethods webmethods-trading-networks webmethods-integration-server

tundratn's People

Contributors

lachlan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

vr-aus12 jayahir

tundratn's Issues

tundra.tn:derive should be reentrant

If a previous derivative already exists, then do not create a new one - add a comment to the activity log stating that the existing derivative itself should be reprocessed if required.

Duplicate check in TN

If we enable duplicate check at document type/processing rule level, webMethods checks for duplicates and add it to bizdoc/Errors and a activity log entry and continues with processing. We still have to check for bizdoc/Errors for duplicate error and stop processing in the processing service.

Can we add the duplicate check logic in either process, derive, translate, deliver services to check duplicate in bizdoc/Errors document based on duplicate check flag.

tundra.tn.document.type.schema:get should look up document type if required

Add $type/TypeID and $type/TypeName optional inputs, and if no ParsingSchema or recordBlueprint exists in the given $type document, then retrieve the document type from TN using TypeID or TypeName. This will let the service work in two modes, firstly where the document type has already been fetched and is passed whole to this service, and secondly where only the document type id or name is known when this service is called.

tundra.tn.queue:each passes full profile rather than a profile summary for sender and receiver to the queue processing service

A normal bizdoc processing service would implement wm.tn.rec:ProcessingService, which uses wm.tn.rec:ProfileSummary for sender and receiver.

One solution is to change tundra.tn.profile:get to return a document that is a super set of wm.tn.rec:ProfileSummary and wm.tn.rec:Profile, that way it'll work for both normal bizdoc processing services, and anything that's already been built to rely on the current tundra.tn.queue:each functionality.

tundra.list.string:drop should have an output stringList variable

tundra.list.string:drop should have an output stringList variable called $list, otherwise, you need to either:

  • have a separate MAP step to map $list to whatever was the input to tundra.list.string:drop (unless it was mapped to $list prior to invoking tundra.list.string:drop)
  • add a design-time output variable to tundra.list.string:drop to map it to the required pipeline variable

DeleteContentPart

Hi Lachlan,
Is there any chance of you creating a service to delete ContentPart from a given $bizdoc in TundraTN. This would be the opposite of AddContentPart. During testing, using Save/RestorePipeline, when I AddContentPart (using tundra.tn.document.content:add) to a $bizdoc I can only use the saved pipeline once. This would be a handy feature to be able to delete content part from a bizdoc for testing purposes

Cheers,
David

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.