lucaspouzac opened a new issue, #6452:
URL: https://github.com/apache/hop/issues/6452

   ### Apache Hop version?
   
   2.17.0-SNAPSHOT
   
   ### Java version?
   
   docker image from official repo
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   With the 2.17.0 version, the environement name is correctly filtered by 
project name. But if we have the same environement name on wo different 
project,  the two environments are added at the default project.
   
   With this conf 
   
   ```
   {
     "projectsConfig" : {
       "lifecycleEnvironments" : [
         {
           "name" : "DEFAULT - LOCAL",
           "purpose" : "Development",
           "projectName" : "default",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/local/env-variables.json"
           ]
         },
         {
           "name" : "DEFAULT - STAGING",
           "purpose" : "Staging",
           "projectName" : "default",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/staging/env-variables.json"
           ]
         },
         {
           "name" : "DEFAULT-PROD",
           "purpose" : "Production",
           "projectName" : "default",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/production/env-variables.json"
           ]
         },
         {
           "name" : "AD-LOCAL",
           "purpose" : "Development",
           "projectName" : "ad",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/local/env-variables.json"
           ]
         },
         {
           "name" : "AD-STAGING",
           "purpose" : "Staging",
           "projectName" : "ad",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/staging/env-variables.json"
           ]
         },
         {
           "name" : "AD-PROD",
           "purpose" : "Production",
           "projectName" : "ad",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/production/env-variables.json"
           ]
         }
       ]
     }
   }
   ```
   
   <img width="354" height="208" alt="Image" 
src="https://github.com/user-attachments/assets/b2a03f56-af80-4ca5-b1cd-cfa36671cea8";
 />
   
   <img width="354" height="208" alt="Image" 
src="https://github.com/user-attachments/assets/56ee6236-455d-4cb7-a12a-8b05731adb13";
 />
   
   
   With this conf 
   
   ```
   {
     "projectsConfig" : {
       "lifecycleEnvironments" : [
         {
           "name" : "LOCAL",
           "purpose" : "Development",
           "projectName" : "default",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/local/env-variables.json"
           ]
         },
         {
           "name" : "STAGING",
           "purpose" : "Staging",
           "projectName" : "default",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/staging/env-variables.json"
           ]
         },
         {
           "name" : "PROD",
           "purpose" : "Production",
           "projectName" : "default",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/production/env-variables.json"
           ]
         },
         {
           "name" : "LOCAL",
           "purpose" : "Development",
           "projectName" : "ad",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/local/env-variables.json"
           ]
         },
         {
           "name" : "STAGING",
           "purpose" : "Staging",
           "projectName" : "ad",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/staging/env-variables.json"
           ]
         },
         {
           "name" : "PROD",
           "purpose" : "Production",
           "projectName" : "ad",
           "configurationFiles" : [
             "${HOP_CONFIG_FOLDER}/environments/production/env-variables.json"
           ]
         }
       ]
     }
   }
   ```
   
   <img width="353" height="281" alt="Image" 
src="https://github.com/user-attachments/assets/566017b7-f2be-4f8a-a62c-efc42815ce0e";
 />
   
   <img width="353" height="281" alt="Image" 
src="https://github.com/user-attachments/assets/cb7e69fc-af18-4d62-b93f-c813d6891735";
 />
   
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Hop Gui


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to