gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated (0e77ba8 -> 7a85f1d)


From: gnunet
Subject: [libeufin] branch master updated (0e77ba8 -> 7a85f1d)
Date: Thu, 14 Jan 2021 17:03:44 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a change to branch master
in repository libeufin.

    from 0e77ba8  CLI avoids printing empty JSONs
     new 57588f7  Prepare env for CLI.
     new 77e1f79  gitignore
     new 37ea0fd  Ignore Idea project files
     new 7a85f1d  Ignore Idea project files

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                   |   1 +
 .idea/$PRODUCT_WORKSPACE_FILE$               |  19 ----
 .idea/.gitignore                             |   3 -
 .idea/codeStyles/Project.xml                 |  11 ---
 .idea/codeStyles/codeStyleConfig.xml         |   5 --
 .idea/compiler.xml                           |   6 --
 .idea/dictionaries/dold.xml                  |  20 -----
 .idea/gradle.xml                             |  24 ------
 .idea/inspectionProfiles/Project_Default.xml |   8 --
 .idea/jarRepositories.xml                    |  25 ------
 .idea/kotlinc.xml                            |   6 --
 .idea/libeufin.iml                           |  13 ---
 .idea/misc.xml                               |  13 ---
 .idea/runConfigurations/run_sandbox.xml      |  21 -----
 .idea/runConfigurations/test_nexus.xml       |  21 -----
 .idea/runConfigurations/test_sandbox.xml     |  21 -----
 .idea/uiDesigner.xml                         | 124 ---------------------------
 .idea/vcs.xml                                |   8 --
 cli/setup-template.sh                        |  63 ++++++++------
 19 files changed, 39 insertions(+), 373 deletions(-)
 delete mode 100644 .idea/$PRODUCT_WORKSPACE_FILE$
 delete mode 100644 .idea/.gitignore
 delete mode 100644 .idea/codeStyles/Project.xml
 delete mode 100644 .idea/codeStyles/codeStyleConfig.xml
 delete mode 100644 .idea/compiler.xml
 delete mode 100644 .idea/dictionaries/dold.xml
 delete mode 100644 .idea/gradle.xml
 delete mode 100644 .idea/inspectionProfiles/Project_Default.xml
 delete mode 100644 .idea/jarRepositories.xml
 delete mode 100644 .idea/kotlinc.xml
 delete mode 100644 .idea/libeufin.iml
 delete mode 100644 .idea/misc.xml
 delete mode 100644 .idea/runConfigurations/run_sandbox.xml
 delete mode 100644 .idea/runConfigurations/test_nexus.xml
 delete mode 100644 .idea/runConfigurations/test_sandbox.xml
 delete mode 100644 .idea/uiDesigner.xml
 delete mode 100644 .idea/vcs.xml

diff --git a/.gitignore b/.gitignore
index 92a7808..2a01acf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+.idea/
 nexus/libeufin-nexus-dev
 sandbox/libeufin-sandbox-dev
 configure
diff --git a/.idea/$PRODUCT_WORKSPACE_FILE$ b/.idea/$PRODUCT_WORKSPACE_FILE$
deleted file mode 100644
index a1409e4..0000000
--- a/.idea/$PRODUCT_WORKSPACE_FILE$
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="masterDetails">
-    <states>
-      <state key="ProjectJDKs.UI">
-        <settings>
-          <last-edited>12</last-edited>
-          <splitter-proportions>
-            <option name="proportions">
-              <list>
-                <option value="0.2" />
-              </list>
-            </option>
-          </splitter-proportions>
-        </settings>
-      </state>
-    </states>
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 0e40fe8..0000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-
-# Default ignored files
-/workspace.xml
\ No newline at end of file
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
deleted file mode 100644
index 1eb52aa..0000000
--- a/.idea/codeStyles/Project.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<component name="ProjectCodeStyleConfiguration">
-  <code_scheme name="Project" version="173">
-    <JetCodeStyleSettings>
-      <option name="SPACE_AROUND_RANGE" value="true" />
-      <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
-    </JetCodeStyleSettings>
-    <codeStyleSettings language="kotlin">
-      <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
-    </codeStyleSettings>
-  </code_scheme>
-</component>
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml 
b/.idea/codeStyles/codeStyleConfig.xml
deleted file mode 100644
index 79ee123..0000000
--- a/.idea/codeStyles/codeStyleConfig.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<component name="ProjectCodeStyleConfiguration">
-  <state>
-    <option name="USE_PER_PROJECT_SETTINGS" value="true" />
-  </state>
-</component>
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index fb7f4a8..0000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="CompilerConfiguration">
-    <bytecodeTargetLevel target="11" />
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/dictionaries/dold.xml b/.idea/dictionaries/dold.xml
deleted file mode 100644
index ce7b473..0000000
--- a/.idea/dictionaries/dold.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<component name="ProjectDictionaryState">
-  <dictionary name="dold">
-    <words>
-      <w>affero</w>
-      <w>camt</w>
-      <w>combinators</w>
-      <w>crdt</w>
-      <w>cronspec</w>
-      <w>dbit</w>
-      <w>ebics</w>
-      <w>iban</w>
-      <w>infos</w>
-      <w>libeufin</w>
-      <w>payto</w>
-      <w>pdng</w>
-      <w>servicer</w>
-      <w>sqlite</w>
-    </words>
-  </dictionary>
-</component>
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
deleted file mode 100644
index 0879f46..0000000
--- a/.idea/gradle.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="GradleMigrationSettings" migrationVersion="1" />
-  <component name="GradleSettings">
-    <option name="linkedExternalProjectsSettings">
-      <GradleProjectSettings>
-        <option name="delegatedBuild" value="true" />
-        <option name="testRunner" value="GRADLE" />
-        <option name="distributionType" value="DEFAULT_WRAPPED" />
-        <option name="externalProjectPath" value="$PROJECT_DIR$" />
-        <option name="gradleHome" value="/usr/share/java/gradle" />
-        <option name="gradleJvm" value="11" />
-        <option name="modules">
-          <set>
-            <option value="$PROJECT_DIR$" />
-            <option value="$PROJECT_DIR$/nexus" />
-            <option value="$PROJECT_DIR$/sandbox" />
-            <option value="$PROJECT_DIR$/util" />
-          </set>
-        </option>
-      </GradleProjectSettings>
-    </option>
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml 
b/.idea/inspectionProfiles/Project_Default.xml
deleted file mode 100644
index 030f244..0000000
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<component name="InspectionProjectProfileManager">
-  <profile version="1.0">
-    <option name="myName" value="Project Default" />
-    <inspection_tool class="JsonStandardCompliance" enabled="true" 
level="ERROR" enabled_by_default="true">
-      <option name="myWarnAboutComments" value="false" />
-    </inspection_tool>
-  </profile>
-</component>
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
deleted file mode 100644
index b3e9cbd..0000000
--- a/.idea/jarRepositories.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="RemoteRepositoriesConfiguration">
-    <remote-repository>
-      <option name="id" value="central" />
-      <option name="name" value="Maven Central repository" />
-      <option name="url" value="https://repo1.maven.org/maven2"; />
-    </remote-repository>
-    <remote-repository>
-      <option name="id" value="jboss.community" />
-      <option name="name" value="JBoss Community repository" />
-      <option name="url" 
value="https://repository.jboss.org/nexus/content/repositories/public/"; />
-    </remote-repository>
-    <remote-repository>
-      <option name="id" value="MavenRepo" />
-      <option name="name" value="MavenRepo" />
-      <option name="url" value="https://repo.maven.apache.org/maven2/"; />
-    </remote-repository>
-    <remote-repository>
-      <option name="id" value="BintrayJCenter" />
-      <option name="name" value="BintrayJCenter" />
-      <option name="url" value="https://jcenter.bintray.com/"; />
-    </remote-repository>
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml
deleted file mode 100644
index 0dd4b35..0000000
--- a/.idea/kotlinc.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="Kotlin2JvmCompilerArguments">
-    <option name="jvmTarget" value="1.8" />
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/libeufin.iml b/.idea/libeufin.iml
deleted file mode 100644
index 87e285a..0000000
--- a/.idea/libeufin.iml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module external.linked.project.id="libeufin:main" 
external.linked.project.path="$MODULE_DIR$" 
external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" 
external.system.module.group="" external.system.module.version="unspecified" 
type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <excludeFolder url="file://$MODULE_DIR$/.gradle" />
-      <excludeFolder url="file://$MODULE_DIR$/build" />
-      <excludeFolder url="file://$MODULE_DIR$/frontend" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-</module>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index fe32790..0000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="EntryPointsManager">
-    <list size="1">
-      <item index="0" class="java.lang.String" 
itemvalue="com.fasterxml.jackson.annotation.JsonValue" />
-    </list>
-  </component>
-  <component name="ExternalStorageConfigurationManager" enabled="true" />
-  <component name="FrameworkDetectionExcludesConfiguration">
-    <file type="web" url="file://$PROJECT_DIR$" />
-  </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_11" 
default="true" project-jdk-name="11" project-jdk-type="JavaSDK" />
-</project>
\ No newline at end of file
diff --git a/.idea/runConfigurations/run_sandbox.xml 
b/.idea/runConfigurations/run_sandbox.xml
deleted file mode 100644
index ca2e341..0000000
--- a/.idea/runConfigurations/run_sandbox.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<component name="ProjectRunConfigurationManager">
-  <configuration default="false" name="run-sandbox" 
type="GradleRunConfiguration" factoryName="Gradle">
-    <ExternalSystemSettings>
-      <option name="executionName" />
-      <option name="externalProjectPath" value="$PROJECT_DIR$/sandbox" />
-      <option name="externalSystemIdString" value="GRADLE" />
-      <option name="scriptParameters" value="" />
-      <option name="taskDescriptions">
-        <list />
-      </option>
-      <option name="taskNames">
-        <list>
-          <option value="run" />
-        </list>
-      </option>
-      <option name="vmOptions" value="" />
-    </ExternalSystemSettings>
-    <GradleScriptDebugEnabled>true</GradleScriptDebugEnabled>
-    <method v="2" />
-  </configuration>
-</component>
\ No newline at end of file
diff --git a/.idea/runConfigurations/test_nexus.xml 
b/.idea/runConfigurations/test_nexus.xml
deleted file mode 100644
index 5b3bcf6..0000000
--- a/.idea/runConfigurations/test_nexus.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<component name="ProjectRunConfigurationManager">
-    <configuration default="false" name="test-nexus" 
type="GradleRunConfiguration" factoryName="Gradle">
-        <ExternalSystemSettings>
-            <option name="executionName" />
-            <option name="externalProjectPath" value="$PROJECT_DIR$/nexus" />
-            <option name="externalSystemIdString" value="GRADLE" />
-            <option name="scriptParameters" value="" />
-            <option name="taskDescriptions">
-                <list />
-            </option>
-            <option name="taskNames">
-                <list>
-                    <option value="test" />
-                </list>
-            </option>
-            <option name="vmOptions" value="" />
-        </ExternalSystemSettings>
-        <GradleScriptDebugEnabled>true</GradleScriptDebugEnabled>
-        <method v="2" />
-    </configuration>
-</component>
\ No newline at end of file
diff --git a/.idea/runConfigurations/test_sandbox.xml 
b/.idea/runConfigurations/test_sandbox.xml
deleted file mode 100644
index 70b2d75..0000000
--- a/.idea/runConfigurations/test_sandbox.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<component name="ProjectRunConfigurationManager">
-  <configuration default="false" name="test-sandbox" 
type="GradleRunConfiguration" factoryName="Gradle">
-    <ExternalSystemSettings>
-      <option name="executionName" />
-      <option name="externalProjectPath" value="$PROJECT_DIR$/sandbox" />
-      <option name="externalSystemIdString" value="GRADLE" />
-      <option name="scriptParameters" value="" />
-      <option name="taskDescriptions">
-        <list />
-      </option>
-      <option name="taskNames">
-        <list>
-          <option value="test" />
-        </list>
-      </option>
-      <option name="vmOptions" value="" />
-    </ExternalSystemSettings>
-    <GradleScriptDebugEnabled>true</GradleScriptDebugEnabled>
-    <method v="2" />
-  </configuration>
-</component>
\ No newline at end of file
diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
deleted file mode 100644
index e96534f..0000000
--- a/.idea/uiDesigner.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="Palette2">
-    <group name="Swing">
-      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal 
Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" 
fill="1" />
-      </item>
-      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical 
Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" 
fill="2" />
-      </item>
-      <item class="javax.swing.JPanel" 
icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" 
fill="3" />
-      </item>
-      <item class="javax.swing.JScrollPane" 
icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" 
auto-create-binding="false" can-attach-label="true">
-        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" 
fill="3" />
-      </item>
-      <item class="javax.swing.JButton" 
icon="/com/intellij/uiDesigner/icons/button.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" 
fill="1" />
-        <initial-values>
-          <property name="text" value="Button" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JRadioButton" 
icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" 
fill="0" />
-        <initial-values>
-          <property name="text" value="RadioButton" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JCheckBox" 
icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" 
fill="0" />
-        <initial-values>
-          <property name="text" value="CheckBox" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JLabel" 
icon="/com/intellij/uiDesigner/icons/label.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" 
fill="0" />
-        <initial-values>
-          <property name="text" value="Label" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JTextField" 
icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" 
fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JPasswordField" 
icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" 
fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JFormattedTextField" 
icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" 
fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTextArea" 
icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" 
fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTextPane" 
icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" 
fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JEditorPane" 
icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" 
fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JComboBox" 
icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" 
fill="1" />
-      </item>
-      <item class="javax.swing.JTable" 
icon="/com/intellij/uiDesigner/icons/table.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" 
fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JList" 
icon="/com/intellij/uiDesigner/icons/list.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" 
fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTree" 
icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" 
fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTabbedPane" 
icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" 
fill="3">
-          <preferred-size width="200" height="200" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JSplitPane" 
icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" 
fill="3">
-          <preferred-size width="200" height="200" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JSpinner" 
icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" 
auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" 
fill="1" />
-      </item>
-      <item class="javax.swing.JSlider" 
icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" 
fill="1" />
-      </item>
-      <item class="javax.swing.JSeparator" 
icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" 
fill="3" />
-      </item>
-      <item class="javax.swing.JProgressBar" 
icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" 
fill="1" />
-      </item>
-      <item class="javax.swing.JToolBar" 
icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" 
fill="1">
-          <preferred-size width="-1" height="20" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JToolBar$Separator" 
icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" 
auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" 
fill="1" />
-      </item>
-      <item class="javax.swing.JScrollBar" 
icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" 
auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" 
fill="2" />
-      </item>
-    </group>
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 9a6c702..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="VcsDirectoryMappings">
-    <mapping directory="" vcs="Git" />
-    <mapping directory="$PROJECT_DIR$/build-system/taler-build-scripts" 
vcs="Git" />
-    <mapping directory="$PROJECT_DIR$/parsing-tests/samples" vcs="Git" />
-  </component>
-</project>
\ No newline at end of file
diff --git a/cli/setup-template.sh b/cli/setup-template.sh
index 3088a88..a893e9b 100755
--- a/cli/setup-template.sh
+++ b/cli/setup-template.sh
@@ -5,6 +5,10 @@
 
 set -eu
 
+SQLITE_FILE="/tmp/libeufin-cli-env.sqlite3"
+DATABASE_CONN="jdbc:sqlite:$SQLITE_FILE"
+CURRENCY="EUR"
+
 # EBICS details.
 SANDBOX_URL="http://localhost:5000";
 EBICS_HOST_ID=ebicshost
@@ -29,33 +33,43 @@ export NEXUS_BASE_URL="http://localhost:5001/";
 export NEXUS_USERNAME=$NEXUS_USER
 export NEXUS_PASSWORD=$NEXUS_PASSWORD
 
+echo Remove old database.
+rm -f $SQLITE_FILE
+
+echo Start services.
+libeufin-nexus serve --db-conn-string=$DATABASE_CONN &> nexus.log &
+nexus_pid=$!
+libeufin-sandbox serve --db-conn-string=$DATABASE_CONN &> sandbox.log &
+sandbox_pid=$!
+
+trap "echo Terminating services.; kill $nexus_pid; kill $sandbox_pid" EXIT
+
+curl -s --retry 5 --retry-connrefused $SANDBOX_URL > /dev/null
+curl -s --retry 5 --retry-connrefused $NEXUS_BASE_URL > /dev/null
+
 ########## setup sandbox #############
 
 # make ebics host at sandbox
 echo Making a ebics host at the sandbox
-sleep 2
-./libeufin-cli \
-  sandbox \
-    make-ebics-host \
-      --host-id=$EBICS_HOST_ID \
-      $SANDBOX_URL
+./bin/libeufin-cli \
+  sandbox --sandbox-url=$SANDBOX_URL \
+    ebicshost create \
+      --host-id=$EBICS_HOST_ID
 
 # activate a ebics subscriber on that host
 echo Activating the ebics subscriber at the sandbox
-sleep 2
-./libeufin-cli \
-  sandbox \
-    activate-ebics-subscriber \
+./bin/libeufin-cli \
+  sandbox --sandbox-url=$SANDBOX_URL \
+    ebicssubscriber create \
       --host-id=$EBICS_HOST_ID \
       --partner-id=$EBICS_PARTNER_ID \
-      --user-id=$EBICS_USER_ID \
-      $SANDBOX_URL
+      --user-id=$EBICS_USER_ID
 
 # give a bank account to such user
 echo Giving a bank account to such subscriber
-./libeufin-cli \
-  sandbox \
-    associate-bank-account \
+./bin/libeufin-cli \
+  sandbox --sandbox-url=$SANDBOX_URL \
+    ebicsbankaccount create \
       --iban=$IBAN \
       --bic=$BIC \
       --person-name=$PERSON_NAME \
@@ -63,20 +77,20 @@ echo Giving a bank account to such subscriber
       --ebics-user-id=$EBICS_USER_ID \
       --ebics-host-id=$EBICS_HOST_ID \
       --ebics-partner-id=$EBICS_PARTNER_ID \
-      $SANDBOX_URL
-sleep 2
+      --currency=$CURRENCY
 
 ########## setup nexus #############
 
 # create a user
-NEXUS_DATABASE=$(curl -s $NEXUS_BASE_URL/service-config | jq .dbConn | tr -d 
\" | awk -F: '{print $2}')
 echo "Creating a nexus superuser"
-libeufin-nexus superuser --db-name $NEXUS_DATABASE --password $NEXUS_PASSWORD 
$NEXUS_USER &> /dev/null
-sleep 2
+libeufin-nexus \
+  superuser \
+    --db-conn-string=$DATABASE_CONN \
+    --password $NEXUS_PASSWORD $NEXUS_USER &> /dev/null
 
 # create a bank connection
 echo Creating a bank connection for such user
-./libeufin-cli \
+./bin/libeufin-cli \
   connections \
     new-ebics-connection \
       --ebics-url $EBICS_BASE_URL \
@@ -84,21 +98,20 @@ echo Creating a bank connection for such user
       --partner-id $EBICS_PARTNER_ID \
       --ebics-user-id $EBICS_USER_ID \
       $NEXUS_BANK_CONNECTION_NAME > /dev/null
-sleep 2
 
 # Bootstrapping such connection.
 echo Bootstrapping the bank connection
-./libeufin-cli \
+./bin/libeufin-cli \
   connections sync $NEXUS_BANK_CONNECTION_NAME > /dev/null
 
 # Download bank accounts.
 echo Download bank accounts
-./libeufin-cli \
+./bin/libeufin-cli \
   connections download-bank-accounts \
     $NEXUS_BANK_CONNECTION_NAME > /dev/null
 
 # Import bank account for user.
-./libeufin-cli \
+./bin/libeufin-cli \
   connections import-bank-account \
     --offered-account-id=$ACCOUNT_NAME \
     --nexus-bank-account-id=$ACCOUNT_NAME_AT_NEXUS \

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]