Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    How to call a module ?

    Scheduled Pinned Locked Moved Support
    otter
    7 Posts 4 Posters 29 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      PhilippeC.
      last edited by

      Hello

      I am trying to call a module from an orchestration or from a plan unsuccessfully.
      What is the syntax ?

      Best regards

      Philippe

      Product: Otter
      Version: 2.1.1

      1 Reply Last reply Reply Quote 0
      • P Offline
        PhilippeC.
        last edited by

        Hello

        I think there is a deeper problem with the module - or I really did not understand how it is working.

        Here is what I did:

        1. Create an Asset TestAsset
        2. In the Default Asset, create a module ModuleFromDefaultAsset (put in whatever you want)
        3. In TestAsset, create a module ModuleFromTestAsset
        4. Create a role TestRole and assign it to Default asset
        5. In TestRole, create a configuration and
        • Drag'n drop Call ModuleFromDefaultAsset in the Visual Gui mode
        • Drag'n drop Call TestAsset::ModuleFromDefaultAsset in the Visual Gui mode

        You get :

        Call template ModuleFromDefaultAsset
        Call template ModuleFromTestAsset
        Template Error: template **ModuleFromTestAsset** could not be found.
        

        The Raft TestAsset has been removed.

        If you add it by in Edit mode, it working fine

        If you go back to Visual mode it dissappears :(

        Hope this help

        Regards

        1 Reply Last reply Reply Quote 0
        • T Offline
          thoven
          last edited by

          Hello Philippe,

          The visual editor losing module namespaces is OT-273, which is fixed in Otter 2.1.2.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Hi Ben

            Thank you
            I have seen you released OTTER and BUILDMASTER.

            Cdt

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Hello Ben

              There is still a bug.
              The Module define in a pipelineraft is not seen as available.

              Test case:

              Make one raft RAFT
              Make one pipeline raft PipelineRaft (2 steps TEST (assign to env TEST and TEST2 assign to env TEST2)
              Make a module TESTMODULE in Default, Raft PipelineRaft (Log-information TEST)
              Make a Role and assign it TEST environnement.
              
              In the Gui mode, you can see only:
              Call TESTMODULE
              Call RAFT::TESTMODULE
              
              whereas Call PipelineRaft::TESTMODULE is also expected.
              

              Regards

              Philippe

              1 Reply Last reply Reply Quote 0
              • benB Offline
                ben inedo-engineer
                last edited by

                Hello Philippe,

                I've filed this as OT-283.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  Hello Ben
                  Thank you

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post
                  Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation