GithubHelp home page GithubHelp logo

Declare the Endevor instance in the endevor profile rather than in the endevor-location profile about che-che4z-explorer-for-endevor HOT 8 CLOSED

eclipse-che4z avatar eclipse-che4z commented on May 31, 2024
Declare the Endevor instance in the endevor profile rather than in the endevor-location profile

from che-che4z-explorer-for-endevor.

Comments (8)

FALLAI-Denis avatar FALLAI-Denis commented on May 31, 2024 1

@dankox

I agree.

from che-che4z-explorer-for-endevor.

dankox avatar dankox commented on May 31, 2024

Hi Denis,
I am not sure if in general you have just one instance per Endevor Web Service. We actually have quite a bunch of different instances in our setup. And therefore the reason behind the location profile containing instance is, because Endevor location is bound to instance/configuration (in the end, it's the STC which contains that environment/system/subsystem).
And because you can have more configurations in one Endevor Webservice server, it makes more sense to swap instances with location profiles when swapping actual location which I want to work with. (I hope the explanation isn't confusing)

In the end, the only draw back to have it in location profile is that you have to specify it in multiple profiles at the same time. However, that's just one more parameter to location profile.

I don't really know the impact on Explorer for Endevor extension. I'm not quite sure what might be causing the operation problems there. Maybe it could be resolved in the extension itself by correctly using the profiles, or extracting information from them.

If you could describe the scenario where it is impacting the operation, it might give us some hint how to approach this issue and if it should be addressed with fixing profiles or different implementation in the extension.

Thanks.

from che-che4z-explorer-for-endevor.

FALLAI-Denis avatar FALLAI-Denis commented on May 31, 2024

Hi,

In fact, the thought about managing the instance came to me when using commands without referring to a location profile, which requires re-specifying the instance each time.

Maybe it would have been necessary to manage 3 levels of profiles:

  • Endevor Web Services profile : to an Endevor Web Services server (EWS)
  • Instance profile : to an Endevor Instance, in a EWS, which can explicitly or implicitly reference an EWS profile
  • Location profile : to an Endevor Location, in an Instance, which can explicitly or implicitly reference an Instance profile

from che-che4z-explorer-for-endevor.

dankox avatar dankox commented on May 31, 2024

I understand what you mean.

Are you using location profiles in your cases, or you do not use them at all?
Reason behind the question is, if you are not using them, I guess the easiest solution for you would be to define one default endevor-location profile where you would have only instance property. Do not specify anything else in it and that should do the trick.

This is how I have it setup in most cases (in the other cases, I just specify them on command line). It also helps if you are swapping endevor profile (the one containing host and port) to other tomcat location which has the same configuration as the previous one.

Regarding the profile split, that's definitely doable, however it would be quite a huge breaking change. I'm not sure if it would be accepted and probably should be discussed a bit more if it makes sense and what kind of benefits it would bring.

from che-che4z-explorer-for-endevor.

FALLAI-Denis avatar FALLAI-Denis commented on May 31, 2024

We are in the process of setting up a new Development Workshop based on VS Code and various extensions, and source management under Git / Bitbucket which will feed Endevor (only from Git / Bitbucket to Endevor, never from Endevor to Git / Bitbucket except to use Explorer for Endevor to retrieve an item that is not in Git / Bitbucket).

We haven't fully defined how to use the Endevor for Zowe CLI plugin yet. At the moment we do not use a endevor-location-profile, all informations are passed on the Zowe CLI command.

from che-che4z-explorer-for-endevor.

dankox avatar dankox commented on May 31, 2024

I see. As for the current solution, the instance is in separate profile, so it means either having two profiles or having one more argument in CLI command.

There should be update coming to zowe, where the profiles will be fully customizable. Not sure when this should be released, but when it will be released, Endevor will adopt it and the profiles should be much better in a way, that it will really depends on user how they want them to be.
So I'm voting for waiting for this to happen rather than trying to push breaking change to move one parameter from one profile to the other.

from che-che4z-explorer-for-endevor.

jellypuno avatar jellypuno commented on May 31, 2024

@FALLAI-Denis Is it okay to close this issue?

from che-che4z-explorer-for-endevor.

FALLAI-Denis avatar FALLAI-Denis commented on May 31, 2024

Ok

from che-che4z-explorer-for-endevor.

Related Issues (20)

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.