Skip to content

Commit 78b3a2d

Browse files
committed
Refactorings
1 parent 40ed0fa commit 78b3a2d

File tree

11 files changed

+7
-281
lines changed

11 files changed

+7
-281
lines changed

src/main/resources/application.conf

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
es-priority-mailbox {
2-
mailbox-type = "de.upb.cs.swt.delphi.webapi.ElasticPriorityMailbox"
3-
}
4-
51
akka.actor.deployment {
6-
/espriomailboxactor {
7-
mailbox = es-priority-mailbox
8-
}
2+
93
}
104

115
akka {
@@ -15,14 +9,3 @@ akka {
159
}
1610
}
1711
}
18-
19-
# Use this dispatcher for actors that make blocking calls to the Elasticsearch database
20-
elasticsearch-handling-dispatcher {
21-
type = Dispatcher
22-
executor = "thread-pool-executor"
23-
thread-pool-executor {
24-
fixed-pool-size = 4
25-
# This thread pool is intended for development purposes, and should be increased for production
26-
}
27-
throughput = 1
28-
}

src/main/scala/de/upb/cs/swt/delphi/webapi/ElasticActor.scala

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/main/scala/de/upb/cs/swt/delphi/webapi/ElasticActorManager.scala

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/main/scala/de/upb/cs/swt/delphi/webapi/ElasticPriorityMailbox.scala

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/main/scala/de/upb/cs/swt/delphi/webapi/ElasticRequestLimiter.scala

Lines changed: 0 additions & 97 deletions
This file was deleted.

src/main/scala/de/upb/cs/swt/delphi/webapi/MavenIdentifier.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ package de.upb.cs.swt.delphi.webapi
1919
import java.net.{URI, URLEncoder}
2020
import java.nio.charset.StandardCharsets
2121

22+
import de.upb.cs.swt.delphi.webapi.artifacts.Identifier
23+
2224
case class MavenIdentifier(val repository: Option[String], val groupId: String, val artifactId: String, val version: Option[String]) extends Identifier {
2325

2426
def toUniqueString = {

src/main/scala/de/upb/cs/swt/delphi/webapi/Identifier.scala renamed to src/main/scala/de/upb/cs/swt/delphi/webapi/artifacts/Identifier.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
package de.upb.cs.swt.delphi.webapi
17+
package de.upb.cs.swt.delphi.webapi.artifacts
1818

1919
/**
2020
* Represents an identifier for a software artifact

src/main/scala/de/upb/cs/swt/delphi/webapi/querylanguage/AST.scala renamed to src/main/scala/de/upb/cs/swt/delphi/webapi/search/querylanguage/AST.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
package de.upb.cs.swt.delphi.webapi.querylanguage
17+
package de.upb.cs.swt.delphi.webapi.search.querylanguage
1818

1919
trait CombinatorialExpr
2020

src/main/scala/de/upb/cs/swt/delphi/webapi/querylanguage/Syntax.scala renamed to src/main/scala/de/upb/cs/swt/delphi/webapi/search/querylanguage/Syntax.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
package de.upb.cs.swt.delphi.webapi.querylanguage
17+
package de.upb.cs.swt.delphi.webapi.search.querylanguage
1818

1919
import org.parboiled2.{CharPredicate, Parser, ParserInput, Rule1}
2020

0 commit comments

Comments
 (0)