EnvironmentName setting in config.json

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I noticed that the EnvironmentName settings is always (for each process) set to HabitatMinions.
What is the purpose of this setting?
(I could not find any official documentation about it)



Shouldn't it e.g. be set to HabitatAuthoring for the Authoring process in order to prevent triggering a minion task?










share|improve this question

























    up vote
    1
    down vote

    favorite












    I noticed that the EnvironmentName settings is always (for each process) set to HabitatMinions.
    What is the purpose of this setting?
    (I could not find any official documentation about it)



    Shouldn't it e.g. be set to HabitatAuthoring for the Authoring process in order to prevent triggering a minion task?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I noticed that the EnvironmentName settings is always (for each process) set to HabitatMinions.
      What is the purpose of this setting?
      (I could not find any official documentation about it)



      Shouldn't it e.g. be set to HabitatAuthoring for the Authoring process in order to prevent triggering a minion task?










      share|improve this question













      I noticed that the EnvironmentName settings is always (for each process) set to HabitatMinions.
      What is the purpose of this setting?
      (I could not find any official documentation about it)



      Shouldn't it e.g. be set to HabitatAuthoring for the Authoring process in order to prevent triggering a minion task?







      sitecore-commerce






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 4 hours ago









      Joost

      1615




      1615




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote













          The EnvironmentName setting is used to identify which environment should be StartedUp on application startup.



          The OOTB example wrongly has the HabitatMinions set as EnvironmentName for all roles. If you have this setting for all roles each will start a Minion task, which is bad for performance.



          This is registered by Sitecore Support as bug with public reference number 41553.






          share|improve this answer



























            up vote
            1
            down vote













            Update from Sitecore Support this has been fixed in SIF: SIF.Sitecore.Commerce.1.2.14.zipModulesDeployCommerceContentDeployCommerceContent.psm1



            ...
            # Set the proper environment name
            $pathToJson = $(Join-Path -Path $PhysicalPath -ChildPath "wwwrootconfig.json")
            $originalJson = Get-Content $pathToJson -Raw | ConvertFrom-Json

            $environment = "HabitatShops"
            if ($Name -match "CommerceAuthoring")
            $environment = "HabitatAuthoring"
            elseif ($Name -match "CommerceMinions")
            $environment = "HabitatMinions"


            $originalJson.AppSettings.EnvironmentName = $environment
            $originalJson | ConvertTo-Json -Depth 100 -Compress | set-content $pathToJson
            }





            share|improve this answer




















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "664"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f13969%2fenvironmentname-setting-in-config-json%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              3
              down vote













              The EnvironmentName setting is used to identify which environment should be StartedUp on application startup.



              The OOTB example wrongly has the HabitatMinions set as EnvironmentName for all roles. If you have this setting for all roles each will start a Minion task, which is bad for performance.



              This is registered by Sitecore Support as bug with public reference number 41553.






              share|improve this answer
























                up vote
                3
                down vote













                The EnvironmentName setting is used to identify which environment should be StartedUp on application startup.



                The OOTB example wrongly has the HabitatMinions set as EnvironmentName for all roles. If you have this setting for all roles each will start a Minion task, which is bad for performance.



                This is registered by Sitecore Support as bug with public reference number 41553.






                share|improve this answer






















                  up vote
                  3
                  down vote










                  up vote
                  3
                  down vote









                  The EnvironmentName setting is used to identify which environment should be StartedUp on application startup.



                  The OOTB example wrongly has the HabitatMinions set as EnvironmentName for all roles. If you have this setting for all roles each will start a Minion task, which is bad for performance.



                  This is registered by Sitecore Support as bug with public reference number 41553.






                  share|improve this answer












                  The EnvironmentName setting is used to identify which environment should be StartedUp on application startup.



                  The OOTB example wrongly has the HabitatMinions set as EnvironmentName for all roles. If you have this setting for all roles each will start a Minion task, which is bad for performance.



                  This is registered by Sitecore Support as bug with public reference number 41553.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 4 hours ago









                  Joost

                  1615




                  1615




















                      up vote
                      1
                      down vote













                      Update from Sitecore Support this has been fixed in SIF: SIF.Sitecore.Commerce.1.2.14.zipModulesDeployCommerceContentDeployCommerceContent.psm1



                      ...
                      # Set the proper environment name
                      $pathToJson = $(Join-Path -Path $PhysicalPath -ChildPath "wwwrootconfig.json")
                      $originalJson = Get-Content $pathToJson -Raw | ConvertFrom-Json

                      $environment = "HabitatShops"
                      if ($Name -match "CommerceAuthoring")
                      $environment = "HabitatAuthoring"
                      elseif ($Name -match "CommerceMinions")
                      $environment = "HabitatMinions"


                      $originalJson.AppSettings.EnvironmentName = $environment
                      $originalJson | ConvertTo-Json -Depth 100 -Compress | set-content $pathToJson
                      }





                      share|improve this answer
























                        up vote
                        1
                        down vote













                        Update from Sitecore Support this has been fixed in SIF: SIF.Sitecore.Commerce.1.2.14.zipModulesDeployCommerceContentDeployCommerceContent.psm1



                        ...
                        # Set the proper environment name
                        $pathToJson = $(Join-Path -Path $PhysicalPath -ChildPath "wwwrootconfig.json")
                        $originalJson = Get-Content $pathToJson -Raw | ConvertFrom-Json

                        $environment = "HabitatShops"
                        if ($Name -match "CommerceAuthoring")
                        $environment = "HabitatAuthoring"
                        elseif ($Name -match "CommerceMinions")
                        $environment = "HabitatMinions"


                        $originalJson.AppSettings.EnvironmentName = $environment
                        $originalJson | ConvertTo-Json -Depth 100 -Compress | set-content $pathToJson
                        }





                        share|improve this answer






















                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          Update from Sitecore Support this has been fixed in SIF: SIF.Sitecore.Commerce.1.2.14.zipModulesDeployCommerceContentDeployCommerceContent.psm1



                          ...
                          # Set the proper environment name
                          $pathToJson = $(Join-Path -Path $PhysicalPath -ChildPath "wwwrootconfig.json")
                          $originalJson = Get-Content $pathToJson -Raw | ConvertFrom-Json

                          $environment = "HabitatShops"
                          if ($Name -match "CommerceAuthoring")
                          $environment = "HabitatAuthoring"
                          elseif ($Name -match "CommerceMinions")
                          $environment = "HabitatMinions"


                          $originalJson.AppSettings.EnvironmentName = $environment
                          $originalJson | ConvertTo-Json -Depth 100 -Compress | set-content $pathToJson
                          }





                          share|improve this answer












                          Update from Sitecore Support this has been fixed in SIF: SIF.Sitecore.Commerce.1.2.14.zipModulesDeployCommerceContentDeployCommerceContent.psm1



                          ...
                          # Set the proper environment name
                          $pathToJson = $(Join-Path -Path $PhysicalPath -ChildPath "wwwrootconfig.json")
                          $originalJson = Get-Content $pathToJson -Raw | ConvertFrom-Json

                          $environment = "HabitatShops"
                          if ($Name -match "CommerceAuthoring")
                          $environment = "HabitatAuthoring"
                          elseif ($Name -match "CommerceMinions")
                          $environment = "HabitatMinions"


                          $originalJson.AppSettings.EnvironmentName = $environment
                          $originalJson | ConvertTo-Json -Depth 100 -Compress | set-content $pathToJson
                          }






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 1 hour ago









                          Joost

                          1615




                          1615



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f13969%2fenvironmentname-setting-in-config-json%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              What does second last employer means? [closed]

                              List of Gilmore Girls characters

                              Confectionery