2 Replies Latest reply on Feb 9, 2015 10:23 AM by Mashama McFarlane

    GIT connector not refreshing federated nodes

    Mashama McFarlane Novice

      I am having an issue where the GIT connector isn't showing changes to a federated GIT repository.  After federating a local GIT repository, exploring the repository through the ModeShape Rest Service, and then creating a new branch in the repository the newly created branch is not showing up in the ModeShape repository.  What do I need to do to have updates to a federated GIT repository reflected in the ModeShape repository?

       

                  <cache-container name="modeshape">
                      <local-cache name="nogece">
                          <transaction mode="NON_XA"/>
                          <file-store passivation="false" purge="false" relative-to="jboss.server.data.dir" path="modeshape/store/nogece"/>
                      </local-cache>
                      <local-cache name="carroll">
                          <transaction mode="NON_XA"/>
                          <file-store passivation="false" purge="false" relative-to="jboss.server.data.dir" path="modeshape/store/carroll"/>
                      </local-cache>
                      <local-cache name="zing">
                          <transaction mode="NON_XA"/>
                          <file-store passivation="false" purge="false" relative-to="jboss.server.data.dir" path="modeshape/store/zing"/>
                      </local-cache>
                  </cache-container>
      

       

                  <repository name="carroll">
                      <external-sources>
                          <source name="git" classname="org.modeshape.connector.git.GitConnector" directoryPath="C:\\CHP\\git\\carroll">
                              <projection>
                                  default:/carroll =&gt; /
                              </projection>
                          </source>
                      </external-sources>
                  </repository>
                  <repository name="nogece">
                      <external-sources>
                          <source name="git" classname="org.modeshape.connector.git.GitConnector" directoryPath="C:\\CHP\\git\\nogece" cacheTtlSeconds="60">
                              <projection>
                                  default:/nogece =&gt; /
                              </projection>
                          </source>
                      </external-sources>
                  </repository>
                  <repository name="zing">
                      <external-sources>
                          <source name="git" classname="org.modeshape.connector.git.GitConnector" directoryPath="C:\\CHP\\git\\zing">
                              <projection>
                                  default:/zing =&gt; /
                              </projection>
                          </source>
                      </external-sources>
                  </repository>
      

       

      ModeShape 4.1

      WildFly 8.1

      Windows 7