File tree Expand file tree Collapse file tree
generator2/org.getaviz.generator/src/main/java/org/getaviz/generator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,14 +115,6 @@ public String getName() {
115115 public String getOutputPath () {
116116 return config .getString ("output.path" , "/var/lib/jetty/data-gen/" ) + getName () + "/model/" ;
117117 }
118-
119- public String getRepositoryName () {
120- return config .getString ("history.repository_name" , "" );
121- }
122-
123- public String getRepositoryOwner () {
124- return config .getString ("history.repository_owner" , "" );
125- }
126118
127119 public OutputFormat getOutputFormat () {
128120 switch (config .getString ("output.format" , "aframe" )) {
Original file line number Diff line number Diff line change @@ -17,13 +17,9 @@ public class DatabaseBuilder implements Step {
1717 private DatabaseConnector connector = DatabaseConnector .getInstance ();
1818 private Runtime runtime = Runtime .getRuntime ();
1919 private String inputFiles ;
20- private String repositoryName ;
21- private String repositoryOwner ;
2220
2321 public DatabaseBuilder (SettingsConfiguration config ) {
2422 this .inputFiles = config .getInputFiles ();
25- this .repositoryName = config .getRepositoryName ();
26- this .repositoryOwner = config .getRepositoryOwner ();
2723 }
2824
2925 public void run () {
@@ -64,7 +60,7 @@ private void addHashes() {
6460 }
6561
6662 private String createHash (String fqn ) {
67- return "ID_" + DigestUtils .sha1Hex (fqn + repositoryName + repositoryOwner );
63+ return "ID_" + DigestUtils .sha1Hex (fqn );
6864 }
6965
7066 private String labelPrimitives () {
You can’t perform that action at this time.
0 commit comments