1. 05 Sep, 2017 2 commits
    • Roque's avatar
      Code cleanup and summary of changes. · cba1f4e0
      Roque authored
      Cleanup:
      - Old code comments removed
      - Debug comments removed
      - Old log entries for debug removed
      
      Overall summary of changes:
      - The base of this code comes from some work done by Rafael in here:
          https://lab.nexedi.com/nexedi/slapos.toolbox/blob/master/slapos/agent/tester.py
      - Minor refactoring in communication with slap objects for supply and request.
      - New setters (they will be refactored soon)
      cba1f4e0
    • Roque's avatar
      Code cleanup and summary of changes. · 0815d716
      Roque authored
      Cleanup:
      - Old code comments removed
      - Debug comments removed
      - Old log entries for debug removed
      - Minor refactoring for readability
      
      Overall summary of changes:
      - Most of the communication with slapos is done using the Slapos Master Communicator instead of Slapos Controller:
        * supply, request, check instance status, check software status.
      - Refactoring of related methods (waitInstance, isSoftwareReleaseReady, etc.)
      - Initialization of communicator: initialize connection to SlapOS usign key and certificate
      - Some related imports added
      - General refactor: some unnecesary sentences and methods were removed.
      0815d716
  2. 01 Sep, 2017 1 commit
  3. 30 Aug, 2017 1 commit
  4. 28 Aug, 2017 2 commits
  5. 24 Aug, 2017 2 commits
  6. 21 Jul, 2017 5 commits
  7. 20 Jul, 2017 2 commits
    • Nicolas Wavrant's avatar
      Add a new contact type : the External identifier · 42fbcc78
      Nicolas Wavrant authored
      Entities can be given identifiers by other organisations when they suscribe to their service. This identifier can be seen as a contact, as it will be used to reference the entity in all further exchanges. As the number of suscription can be unlimited, creating a new property for each kind of identifier becomes heavy, but customizing contacts using getIdTranslationDict is easy.
      
      As a real life use case, in UK, a company which is allowed to instruct direct debits to their customer bank accounts is given a Service User Number, which should be transmitted with all direct debit instructions.
      
      /reviewed-on nexedi/erp5!316
      42fbcc78
    • Aurel's avatar
      also reindex ERP5 Report in portal_skins · 420f068e
      Aurel authored
      420f068e
  8. 19 Jul, 2017 7 commits
  9. 18 Jul, 2017 10 commits
  10. 12 Jul, 2017 4 commits
  11. 11 Jul, 2017 2 commits
  12. 10 Jul, 2017 1 commit
    • Jérome Perrin's avatar
      configure cloudooo by URL in default preference · 2cf95f9e
      Jérome Perrin authored
      Since !306 we have configured system preference to use cloudoo from the Slapos SR, but this configuration was still old style configuration setting host / port.
      
      It caused a test to fail 
      ```
      ======================================================================
      FAIL: test_01_PreferenceSetup (testIngestion.TestIngestion)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/srv/slapgrid/slappart7/srv/testnode/aai/soft/f030becfa6e3878c62ccb9bccc43a291/parts/erp5/Products/ERP5OOo/tests/testIngestion.py", line 1048, in test_01_PreferenceSetup
          self.assertEqual(preference_tool.getPreferredOoodocServerAddress(), conversion_dict['hostname'])
      AssertionError: 'erp5-cloudooo' != 'localhost'
      ```
      
      and that was a problem with the test, we don't have to care about `getPreferredOoodocServerAddress`, as only URL matters now (it was just working because both were set to localhost).
      
      /reviewed-on nexedi/erp5!315
      2cf95f9e
  13. 07 Jul, 2017 1 commit
    • Julien Muchembled's avatar
      tests: clean up code related to configuration of cloudooo/memcached connectors · f84f4cdb
      Julien Muchembled authored
      - The conversion server is supposed to be configured in a system preference,
        so do this instead of using a normal preference.
      - _getConversionServerDict -> _getConversionServerUrl, to make clear that
        cloudooo is now configured by a url, instead of a host/port couple.
      - Refactoring: From the moment where setUpERP5Site() sets up things
        automatically, we don't the "same" duplicated code throughout many test to
        redo cloudooo configuration.
      - In the promise file, the volatile/persistent memcached url were swapped.
      f84f4cdb