...
 
Commits (2)
......@@ -5,7 +5,7 @@
<groupId>be.rlab</groupId>
<artifactId>domino</artifactId>
<packaging>jar</packaging>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<licenses>
<license>
......@@ -455,7 +455,7 @@
<connection>scm:git:git@git.rlab.be:seykron/domino.git</connection>
<developerConnection>scm:git:git@git.rlab.be:seykron/domino.git</developerConnection>
<url>https://git.rlab.be/seykron/domino</url>
<tag>HEAD</tag>
<tag>domino-1.5.1</tag>
</scm>
<distributionManagement>
......
......@@ -20,7 +20,7 @@ object CommandBeans {
bean {
CreateAccount(
name = "/new_account",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
agentService = ref(),
accountService = ref(),
treasuryConfig = ref()
......@@ -29,7 +29,7 @@ object CommandBeans {
bean {
CreateService(
name = "/new_service",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
agentService = ref(),
accountService = ref(),
treasuryConfig = ref(),
......@@ -39,7 +39,7 @@ object CommandBeans {
bean {
EditService(
name = "/edit_service",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
accountService = ref(),
memory = ref()
)
......@@ -47,14 +47,14 @@ object CommandBeans {
bean {
ListServices(
name = "/services",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
accountService = ref()
)
}
bean {
CreateSupporter(
name = "/new_supporter",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
agentService = ref(),
accountService = ref(),
accessControl = ref(),
......@@ -64,14 +64,14 @@ object CommandBeans {
bean {
ListSupporters(
name = "/supporters",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
accountService = ref()
)
}
bean {
InitTreasury(
name = "/init_treasury",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
accountService = ref(),
treasuryConfig = ref()
)
......@@ -79,7 +79,7 @@ object CommandBeans {
bean {
AddDonation(
name = "/new_donation",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
agentService = ref(),
accountService = ref(),
treasuryService = ref(),
......@@ -89,7 +89,7 @@ object CommandBeans {
bean {
Transfer(
name = "/new_transfer",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
accountService = ref(),
treasuryService = ref(),
treasuryConfig = ref()
......@@ -98,7 +98,7 @@ object CommandBeans {
bean {
Deposit(
name = "/new_deposit",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
agentService = ref(),
treasuryService = ref()
)
......@@ -116,7 +116,7 @@ object CommandBeans {
bean {
AddBill(
name = "/new_bill",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
accountService = ref(),
treasuryService = ref(),
memory = ref()
......@@ -125,14 +125,14 @@ object CommandBeans {
bean {
CancelBill(
name = "/cancel_bill",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
treasuryService = ref()
)
}
bean {
Bills(
name = "/bills",
scope = listOf(ChatType.PRIVATE, ChatType.GROUP),
scope = listOf(ChatType.GROUP),
treasuryService = ref(),
memory = ref()
)
......@@ -140,7 +140,7 @@ object CommandBeans {
bean {
PayBill(
name = "/pay_bill",
scope = listOf(ChatType.GROUP, ChatType.PRIVATE),
scope = listOf(ChatType.GROUP),
agentService = ref(),
treasuryService = ref()
)
......