Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Candidate r1 improvements #44

Merged
merged 177 commits into from
Nov 22, 2024
Merged

Candidate r1 improvements #44

merged 177 commits into from
Nov 22, 2024

Commits on Oct 6, 2023

  1. RD: Added device-view.html for viewing and editing device details. Fi…

    …xed and improved devices.html. Modified DeviceManagementController so that the '/monitor/device' endpoint returns the devices of the current user, and also plain users can retrieve info for the devices they own.
    ipatini committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    2ab28fb View commit details
    Browse the repository at this point in the history
  2. RD: Moved 'metrics' section side-by-side to 'device info' section in …

    …device-view.html, for better viewing
    ipatini committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    0d0f291 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    4ba968f View commit details
    Browse the repository at this point in the history
  2. RD: Minor GUI improvements

    ipatini committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    46c5108 View commit details
    Browse the repository at this point in the history
  3. RD: Added DeviceMonitorService to watch the status updates from EMS. …

    …Added DeviceStatusUpdate class used in DeviceMonitorService, and added field statusUpdate in Device class. Restructured and improved ResourceDiscoveryProperties.
    ipatini committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    7bdf6ed View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. RD: Created AbstractMonitorService (to factor out common topic monito…

    …ring code). Renamed DeviceMonitorService to DeviceStatusMonitorService and made it subclass of AbstractMonitorService. Changed DeviceStatusUpdate class to ignore unknown properties during deserialization.
    ipatini committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    4ede903 View commit details
    Browse the repository at this point in the history
  2. RD: Added banner

    ipatini committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    19756ca View commit details
    Browse the repository at this point in the history
  3. RD: Added DeviceMetricsMonitorService and DeviceMetrics classes. Upda…

    …ted Device class to store device metrics received from EMS
    ipatini committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    299a585 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. RD: Updated application.yml

    ipatini committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    724802a View commit details
    Browse the repository at this point in the history
  2. RD: Added device metrics display in device-view.html. Added (EMS) dev…

    …ice status in devices.html
    ipatini committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    8f6a075 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    958f200 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. RD: Modified Device in monitoring subsystem to not have its credentia…

    …ls serialized (and returned to browser). Also updated the affected code
    ipatini committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    2184a55 View commit details
    Browse the repository at this point in the history
  2. RD: Added check for a request's device IP address being in use (in an…

    …other request or a registered device)
    ipatini committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    c08e439 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69379f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c635ce View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d12c02b View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. RD: Fixed registration Device in order toString() not to print creden…

    …tials. Fixed RegistrationRequest in order to have its 'messages' and 'history' fields copied by BeanUtils. Fixed 2 bugs in RegistrationRequestProcessor and added a few more logs.
    ipatini committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    5cc0d2c View commit details
    Browse the repository at this point in the history
  2. RD: Minor change in device-view.html to move 'count-' metrics to the …

    …end of the device metrics list
    ipatini committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    f63597e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60cd1f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    413771c View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    cb5e694 View commit details
    Browse the repository at this point in the history
  2. RD: Implementing re-onboarding, off-boarding, and request-for-info (d…

    …evice status and metrics) [WIP]
    ipatini committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    2c6839e View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. RD: Added DeviceLifeCycleRequestService and DeviceLifeCycleResponseSe…

    …rvice classes for handling reinstall and uninstall actions (via EMS broker). Moved LC request event sending from DeviceManagementService to DeviceLifeCycleRequestService. Updated ResourceDiscoveryProperties with settings for DeviceLifeCycleRequest/ResponseService's.
    ipatini committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    0de73a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e8205c View commit details
    Browse the repository at this point in the history
  3. RD: Implemented DeviceProcessor to periodically archive off-boarded d…

    …evices. Added configurable immediate archiving of Success registration requests, and off-boarded devices, and added relevant settings in ResourceDiscoveryProperties and in GUI.
    ipatini committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    546fa0d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    114c630 View commit details
    Browse the repository at this point in the history
  5. RD: Added archived-device-view.html, renamed archived-view.html to ar…

    …chived-request-view.html. Updated archived.html
    ipatini committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    23f5830 View commit details
    Browse the repository at this point in the history
  6. RD: Fixed DeviceManagementController to allow plain users (device own…

    …ers) to access their device info (and archived devices), and control re-installing and off-boarding. Added device colouring based on their status.
    ipatini committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    287bf41 View commit details
    Browse the repository at this point in the history
  7. RD: Extended DeviceProcessor to check for suspect and failed devices.…

    … Added SUSPECT and FAILED statues in DeviceStatus (and in devices.html and archived.html for colouring). Added relevant settings in ResourceDiscoveryProperties. Fixed a few naming errors.
    ipatini committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    550da0a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a54736e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f1fab9c View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. RD: Improved AbstractMonitorService (reuse of single connection, bett…

    …er logs). Updated affected code.
    ipatini committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    21be064 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cd9728 View commit details
    Browse the repository at this point in the history
  3. RD: Added 'UnknownDeviceRegistrationService' class to monitor for unk…

    …nown devices (based on IP address and reference in messages received from EMS), and registering them to RD. Added NODE_DETAILS in REQUEST_TYPE enum for messages sent to/received from EMS about acquiring detailed node info (including credentials). Added 'deviceInfoRequestsTopic' and 'deviceInfoReportsTopic' settings in ResourceDiscoveryProperties.
    ipatini committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    9f20620 View commit details
    Browse the repository at this point in the history
  4. RD: Added prompting admin to provide device credentials when un-archi…

    …ving a previously archived request or device.
    ipatini committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    b4e75bb View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    151fb16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccd667a View commit details
    Browse the repository at this point in the history
  3. RD: Moved message broker communication code to BrokerUtil class, and …

    …updated using classes accordingly. Implemented EncryptionUtil for encrypting and decrypting broker messages [TO BE TESTED]. Few minor code improvements.
    ipatini committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    5305269 View commit details
    Browse the repository at this point in the history
  4. RD: Minor code tidy up

    ipatini committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    101f2c8 View commit details
    Browse the repository at this point in the history
  5. RD: Added support for SSL connections to ActiveMQ broker in BrokerUti…

    …l. Added the needed settings in ResourceDiscoveryProperties and application.yml
    ipatini committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    fc3c1af View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. RD: Fixed issue where UnknownDeviceRegistrationService registers a de…

    …vice before RegistrationRequestProcessor does
    ipatini committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    e75198e View commit details
    Browse the repository at this point in the history
  2. RD: Modified pom.xml to build an image named 'eu.nebulous.resource-di…

    …scovery' and tagged with current project version
    ipatini committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    362e007 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. RD: Added 'DeviceLocation' class and 'location' field in both 'Device…

    …' classes. Also updated all 4 details pages to include Location (name, lat, lon). Fixed the Restore button of the modal dialog in archived.html to display 'Restore Request' or 'Restore Device' depending on the restore type.
    ipatini committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    ede964c View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    024686e View commit details
    Browse the repository at this point in the history
  2. RD: Fixed a few minor issues:

    * Fixed 'spring.web.resources.static-locations'
    * Changed Docker image name to 'resource-discovery'
    * Set BPE_LANG value to C.UTF-8 in order to render banner correctly
    ipatini committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    7ad2cf0 View commit details
    Browse the repository at this point in the history
  3. RD: Changes in pom.xml and application.yml:

    * Changed groupId in pom.xml to 'eu.nebulous.resource-management', and artifactId to 'resource-discovery'
    * Corrected service name and description
    * Set 'imageName' property to derive from artifactId
    * Fixed application.yml to use '@project.version@' placeholder for app version
    ipatini committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    8960460 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6969d68 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. RD:

    * Commented out Buildpacks related settings in pom.xml
    * Added Dockerfile, run.sh (entrypoint script) and .dockerignore
    ipatini committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    0961229 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db290cf View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    1c25f5e View commit details
    Browse the repository at this point in the history
  2. RD: Improved Dockerfile

    ipatini committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    94260c4 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. RD: Improved Dockerfile

    ipatini committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    7800bde View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. RD: Upgraded SB version to SB 3.2.1 and JRE to version 21. Updated de…

    …pendency to their latest versions. Modified model classes to avoid Lombok SuperBuilder warnings.
    ipatini committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    cb9b3f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. RD: Fixed Dockerfile

    ipatini committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    ef4e840 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Initial changes to support registration and deregistration of edge de…

    …vices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    d8dc54d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master'

    Andreas Tsagkaropoulos committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2aec433 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    15c3aa3 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    84ede18 View commit details
    Browse the repository at this point in the history
  2. RD: Added two TODOs

    ipatini committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    8170b97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38ea2cb View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Merge remote-tracking branch 'origin/master'

    Andreas Tsagkaropoulos committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    b755df9 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Initial changes to support registration and deregistration of edge de…

    …vices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d807458 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Improvement in the initialization of SALRegistrationService

    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    e00d3ff View commit details
    Browse the repository at this point in the history
  2. Improvement in the initialization of SALRegistrationService

    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    cc0943c View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/add-sal-connectivity' into add-s…

    …al-connectivity
    
    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    58e05e2 View commit details
    Browse the repository at this point in the history
  4. Increased logging to debug setting of processorProperties I94a6fdb461…

    …2de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    e9a62f3 View commit details
    Browse the repository at this point in the history
  5. Modified logging to debug the setting of processorProperties I94a6fdb…

    …4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    da0fee3 View commit details
    Browse the repository at this point in the history
  6. Correction of syntactic error I94a6fdb4612de192c24511445f1236cdce94b000

    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    b5b7bae View commit details
    Browse the repository at this point in the history
  7. Addition of needed configuration properties I94a6fdb4612de192c2451144…

    …5f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    6f4e49b View commit details
    Browse the repository at this point in the history
  8. Testing of alternative initialization of SAL registration service I94…

    …a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    40479c1 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Testing of alternative initialization of SAL registration service I94…

    …a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    13b8c8b View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/add-sal-connectivity' into add-s…

    …al-connectivity
    Andreas Tsagkaropoulos committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    0669380 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Updates on the topic and the payload format used to communicate with …

    …SAL for the registration of a device
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    8a307b6 View commit details
    Browse the repository at this point in the history
  2. Allow setting and using a custom broker port

    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    6a8d7ec View commit details
    Browse the repository at this point in the history
  3. Pass a default port to the configuration of the Resource discovery se…

    …rver
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    135fb65 View commit details
    Browse the repository at this point in the history
  4. Log debugging information related to the port of the NebulOuS broker

    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    ac13693 View commit details
    Browse the repository at this point in the history
  5. Publishing of the appropriate message to the broker

    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    0bfe18d View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. RD: Removed truststore settings from application.yml. Upgraded to SB …

    …3.2.4 and fixed pom.xml
    ipatini committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    bbb7478 View commit details
    Browse the repository at this point in the history
  2. RD: Fixed banner.txt

    ipatini committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    c1d06dd View commit details
    Browse the repository at this point in the history
  3. RD: Modified application.yml

    ipatini committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    d85d653 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Configuration menu
    Copy the full SHA
    31b103c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    738f604 View commit details
    Browse the repository at this point in the history
  3. Revert "RD: Added temp. debug messages 2"

    This reverts commit 738f604.
    ipatini committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    8b7e5f4 View commit details
    Browse the repository at this point in the history
  4. Revert "RD: Added temp. debug messages"

    This reverts commit 31b103c.
    ipatini committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    49ca35c View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. RD: Modified SALRegistrationService to run SAL registration in dedica…

    …ted worker thread, and interrupt registration if it takes too long. Added related settings and assigned defaults.
    ipatini committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    a681f26 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. RD: Added temp. log messages

    ipatini committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    2dae658 View commit details
    Browse the repository at this point in the history
  2. Revert "RD: Added temp. log messages"

    This reverts commit 2dae658.
    ipatini committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    0f35b82 View commit details
    Browse the repository at this point in the history
  3. RD: Updated DeviceMetricsMonitorService to match metric events to dev…

    …ice using first the IP address and the client Id (stored in Device.StatusUpdate)
    ipatini committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    e3bd385 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Merge remote-tracking branch 'origin/master'

    Andreas Tsagkaropoulos committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    f8014e7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into add-sal-connectivity

    Andreas Tsagkaropoulos committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    6739c2d View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Improvements on edge device data propagation

    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    58ae0e1 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'add-sal-connectivity' of https://gitlab.com/nebulous-pr…

    …oject/resource-discovery into add-sal-connectivity
    
    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
    Andreas Tsagkaropoulos committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    4f27d5e View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Integration of changes performed in commit e3bd385 but accidentally o…

    …verriden
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c03fcb2 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. RD: Updated Dockerfile

    ipatini committed May 1, 2024
    Configuration menu
    Copy the full SHA
    8e5ecdb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5133aa6 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    cceea79 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Various Improvements

    Addition of the port attribute in the registration of an edge device
    Modification of the edge device registration to allow for more dynamic registration json field population
    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed May 13, 2024
    Configuration menu
    Copy the full SHA
    c5d653e View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Attempt to fix a problem when publishing to the broker to register in…

    …formation to SAL or notify the SLO Violation detector
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    Andreas Tsagkaropoulos committed May 15, 2024
    Configuration menu
    Copy the full SHA
    baa6857 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Merge remote-tracking branch 'refs/remotes/ioannis/master'

    # Conflicts:
    #	resource-discovery/Dockerfile
    #	resource-discovery/pom.xml
    #	resource-discovery/run.sh
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/ResourceDiscoveryProperties.java
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/monitor/DeviceProcessor.java
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/monitor/controller/DeviceManagementController.java
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/monitor/model/Device.java
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/monitor/service/DeviceMetricsMonitorService.java
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/monitor/service/UnknownDeviceRegistrationService.java
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/RegistrationRequestProcessor.java
    #	resource-discovery/src/main/resources/application.yml
    #	resource-discovery/src/main/resources/banner.txt
    atsag committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    bf51577 View commit details
    Browse the repository at this point in the history
  2. Miscellaneous improvements

    Updated the registration of architecture/jar files for each edge device registered
    
    Preliminary work to support 'Compromised state'
    atsag committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    644c98e View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    a635914 View commit details
    Browse the repository at this point in the history
  2. RD: Upgraded SB to 3.2.10, and Lombok, commons-lang3 dependencies to …

    …their latest versions. Improved Dockerfile.
    ipatini committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    32dbaa7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24ac944 View commit details
    Browse the repository at this point in the history
  4. RD: Made SALRegistrationService service conditionally enabled (by 'di…

    …scovery.sal-registration.enabled' property). Its uses were updated accordingly.
    ipatini committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    ab99d9b View commit details
    Browse the repository at this point in the history
  5. RD: Updated RegistrationRequestService (and its uses) to take authent…

    …icated user into consideration during checks of requests and devices sent from GUI. Also added checks for the device data provided.
    ipatini committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a74a89e View commit details
    Browse the repository at this point in the history
  6. RD: Added 'Device.ref' field and added its initialization. Ref field …

    …will be populated with a unique device reference following the Nebulous naming convention (including app id).
    ipatini committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e52d8e8 View commit details
    Browse the repository at this point in the history
  7. RD: Updated GUI pages to include the new 'ref' field. A few more impr…

    …ovements were introduced.
    ipatini committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    9356f40 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b295c6e View commit details
    Browse the repository at this point in the history
  9. Merge branch 'add-apikey-and-appid' into 'main'

    Added API Key authentication and Device Ref, based on provided appId
    
    See merge request nebulous-project/resource-discovery!2
    ipatini committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    6e19d12 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    32146a8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    05c022c View commit details
    Browse the repository at this point in the history
  12. Merge branch 'use_ref_in_sal_request' into 'main'

    Use ref in sal request
    
    See merge request nebulous-project/resource-discovery!3
    ipatini committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e31fc02 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Configuration menu
    Copy the full SHA
    f39977b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'misc_improvements' into 'main'

    Improvements in device registration and component communication with the broker
    
    See merge request nebulous-project/resource-discovery!4
    ipatini committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    23773ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f02a30 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'small_registration_improvements' into 'main'

    Small improvements in device registration
    
    See merge request nebulous-project/resource-discovery!5
    ipatini committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    25930dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ac2a2b View commit details
    Browse the repository at this point in the history
  6. Merge branch 'small_registration_improvements' into 'main'

    Small improvement in getting device registration details
    
    See merge request nebulous-project/resource-discovery!6
    Andreas Tsagkaropoulos committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a351bf3 View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
    atsag committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    9ff7121 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dd55eda View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
    atsag committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    10f81c4 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    bc28d48 View commit details
    Browse the repository at this point in the history
  2. RD: Fixed fontawesome cdn url

    ipatini committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    9346f01 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Initial deregistration support

    atsag committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    919e11d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
    atsag committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    ff1a20a View commit details
    Browse the repository at this point in the history
  3. RD: Made device on-boarding authorization configurable (MANUAL, ALWAY…

    …S_AUTHORIZE, and ALWAYS_REJECT)
    ipatini committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    ebbbcb2 View commit details
    Browse the repository at this point in the history
  4. Merge branch '2024-oct/extend-dev-authorization' into 'main'

    RD: Made device on-boarding authorization configurable (MANUAL,...
    
    See merge request nebulous-project/resource-discovery!9
    ipatini committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    fb4dd8c View commit details
    Browse the repository at this point in the history
  5. RD: Updated RegistrationRequestProcessor to include Device Ref in onb…

    …oarding request to EMS
    ipatini committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    ebc2a27 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    9e6d42d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    d47887e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into 'amqp_improvements'

    # Conflicts:
    #   resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
    Andreas Tsagkaropoulos committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    e9605ac View commit details
    Browse the repository at this point in the history
  3. Merge branch 'amqp_improvements' into 'main'

    Improved amqp support
    
    See merge request nebulous-project/resource-discovery!10
    Andreas Tsagkaropoulos committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    4c93dbe View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Addition of provider field, miscellaneous improvements

    - Addition of provider field in device registration
    - Small improvements the Synchronous Broker publisher
    atsag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    93a1479 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f287007 View commit details
    Browse the repository at this point in the history
  3. Minor logging improvements

    atsag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    90c18b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    898d82d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aecb6b5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91c62fb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0bde76b View commit details
    Browse the repository at this point in the history
  8. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/broker_communication/BrokerPublisher.java
    atsag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    de70790 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/broker_communication/BrokerPublisher.java
    atsag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    95cb5ff View commit details
    Browse the repository at this point in the history
  10. Minor logging improvement

    atsag committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    96c1951 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6f34236 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    3abb2c2 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/broker_communication/BrokerPublisher.java
    atsag committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    32ae5d7 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Miscellaneous improvements

    Implementation of edge device/byon hourly cost (price) field
    Only try to stop the connector if it has been previously initialized
    atsag committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    e40c231 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/broker_communication/CustomConnectorHandler.java
    atsag committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    1da5a61 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Password improvements

    Removal of plaintext passwords and replacement with environmental variable values
    atsag committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    c29abe4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b64c7c View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. Debugging message commit

    atsag committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    982b8a6 View commit details
    Browse the repository at this point in the history
  2. Debugging message (#32)

    * RD: Added device-view.html for viewing and editing device details. Fixed and improved devices.html. Modified DeviceManagementController so that the '/monitor/device' endpoint returns the devices of the current user, and also plain users can retrieve info for the devices they own.
    
    * RD: Moved 'metrics' section side-by-side to 'device info' section in device-view.html, for better viewing
    
    * RD: changed mongo db name to 'resource_discovery' in application.yml
    
    * RD: Minor GUI improvements
    
    * RD: Added DeviceMonitorService to watch the status updates from EMS. Added DeviceStatusUpdate class used in DeviceMonitorService, and added field statusUpdate in Device class. Restructured and improved ResourceDiscoveryProperties.
    
    * RD: Created AbstractMonitorService (to factor out common topic monitoring code). Renamed DeviceMonitorService to DeviceStatusMonitorService and made it subclass of AbstractMonitorService. Changed DeviceStatusUpdate class to ignore unknown properties during deserialization.
    
    * RD: Added banner
    
    * RD: Added DeviceMetricsMonitorService and DeviceMetrics classes. Updated Device class to store device metrics received from EMS
    
    * RD: Updated application.yml
    
    * RD: Added device metrics display in device-view.html. Added (EMS) device status in devices.html
    
    * RD: Updated device-view.html to display device metrics
    
    * RD: Modified Device in monitoring subsystem to not have its credentials serialized (and returned to browser). Also updated the affected code
    
    * RD: Added check for a request's device IP address being in use (in another request or a registered device)
    
    * RD: various minor code improvements
    
    * RD: Added better error reporting in request-edit.html
    
    * RD: Various small GUI improvements and a fix
    
    * RD: Fixed registration Device in order toString() not to print credentials. Fixed RegistrationRequest in order to have its 'messages' and 'history' fields copied by BeanUtils. Fixed 2 bugs in RegistrationRequestProcessor and added a few more logs.
    
    * RD: Minor change in device-view.html to move 'count-' metrics to the end of the device metrics list
    
    * RD: Changed monitoring Device to not serialize credentials
    
    * RD: Code cleanup in RegistrationRequestProcessor
    
    * RD: Improved GUI (added page shortcuts at top-right)
    
    * RD: Implementing re-onboarding, off-boarding, and request-for-info (device status and metrics) [WIP]
    
    * RD: Added DeviceLifeCycleRequestService and DeviceLifeCycleResponseService classes for handling reinstall and uninstall actions (via EMS broker). Moved LC request event sending from DeviceManagementService to DeviceLifeCycleRequestService. Updated ResourceDiscoveryProperties with settings for DeviceLifeCycleRequest/ResponseService's.
    
    * RD: Added device archiving and unarchiving in GUI
    
    * RD: Implemented DeviceProcessor to periodically archive off-boarded devices. Added configurable immediate archiving of Success registration requests, and off-boarded devices, and added relevant settings in ResourceDiscoveryProperties  and in GUI.
    
    * RD: Changed devices.html to always display 'Archive' button to Admin users
    
    * RD: Added archived-device-view.html, renamed archived-view.html to archived-request-view.html. Updated archived.html
    
    * RD: Fixed DeviceManagementController to allow plain users (device owners) to access their device info (and archived devices), and control re-installing and off-boarding. Added device colouring based on their status.
    
    * RD: Extended DeviceProcessor to check for suspect and failed devices. Added SUSPECT and FAILED statues in DeviceStatus (and in devices.html and archived.html for colouring). Added relevant settings in ResourceDiscoveryProperties. Fixed a few naming errors.
    
    * RD: Added shortcuts (top-right corner) to all detail pages
    
    * RD: Minor change in index.html (grayed out settings image)
    
    * RD: Improved AbstractMonitorService (reuse of single connection, better logs). Updated affected code.
    
    * RD: Minor code (mostly logging) and GUI improvements
    
    * RD: Added 'UnknownDeviceRegistrationService' class to monitor for unknown devices (based on IP address and reference in messages received from EMS), and registering them to RD. Added NODE_DETAILS in REQUEST_TYPE enum for messages sent to/received from EMS about acquiring detailed node info (including credentials). Added 'deviceInfoRequestsTopic' and 'deviceInfoReportsTopic' settings in ResourceDiscoveryProperties.
    
    * RD: Added prompting admin to provide device credentials when un-archiving a previously archived request or device.
    
    * RD: Moved REQUEST_TYPE enum to 'common' package and updated code
    
    * RD: Changed authentication to use BCrypt-encrypted passwords
    
    * RD: Moved message broker communication code to BrokerUtil class, and updated using classes accordingly. Implemented EncryptionUtil for encrypting and decrypting broker messages [TO BE TESTED]. Few minor code improvements.
    
    * RD: Minor code tidy up
    
    * RD: Added support for SSL connections to ActiveMQ broker in BrokerUtil. Added the needed settings in ResourceDiscoveryProperties and application.yml
    
    * RD: Fixed issue where UnknownDeviceRegistrationService registers a device before RegistrationRequestProcessor does
    
    * RD: Modified pom.xml to build an image named 'eu.nebulous.resource-discovery' and tagged with current project version
    
    * RD: Added 'DeviceLocation' class and 'location' field in both 'Device' classes. Also updated all 4 details pages to include Location (name, lat, lon). Fixed the Restore button of the modal dialog in archived.html to display 'Restore Request' or 'Restore Device' depending on the restore type.
    
    * RD: Added StatusController to report current application status (currently returns 'OK')
    
    * RD: Fixed a few minor issues:
    * Fixed 'spring.web.resources.static-locations'
    * Changed Docker image name to 'resource-discovery'
    * Set BPE_LANG value to C.UTF-8 in order to render banner correctly
    
    * RD: Changes in pom.xml and application.yml:
    * Changed groupId in pom.xml to 'eu.nebulous.resource-management', and artifactId to 'resource-discovery'
    * Corrected service name and description
    * Set 'imageName' property to derive from artifactId
    * Fixed application.yml to use '@project.version@' placeholder for app version
    
    * RD: Renamed 'management' module to 'resource-discovery'
    
    * RD:
    * Commented out Buildpacks related settings in pom.xml
    * Added Dockerfile, run.sh (entrypoint script) and .dockerignore
    
    * RD: Modified base images in Dockerfile
    
    * RD: Modified Dockerfile in order to both compile the app and build the Docker image
    
    * RD: Improved Dockerfile
    
    * RD: Improved Dockerfile
    
    * RD: Upgraded SB version to SB 3.2.1 and JRE to version 21. Updated dependency to their latest versions. Modified model classes to avoid Lombok SuperBuilder warnings.
    
    * RD: Fixed Dockerfile
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * EMS: Added K8sNetdataCollector [WIP]
    
    * RD: Added 'port' in forms and models
    
    * RD: Added two TODOs
    
    * RD: Deactivated UnknownDeviceRegistrationService
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Increased logging to debug setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Modified logging to debug the setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Correction of syntactic error I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Addition of needed configuration properties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Updates on the topic and the payload format used to communicate with SAL for the registration of a device
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Allow setting and using a custom broker port
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Pass a default port to the configuration of the Resource discovery server
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Log debugging information related to the port of the NebulOuS broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Publishing of the appropriate message to the broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Removed truststore settings from application.yml. Upgraded to SB 3.2.4 and fixed pom.xml
    
    * RD: Fixed banner.txt
    
    * RD: Modified application.yml
    
    * RD: Added temp. debug messages
    
    * RD: Added temp. debug messages 2
    
    * Revert "RD: Added temp. debug messages 2"
    
    This reverts commit 738f604.
    
    * Revert "RD: Added temp. debug messages"
    
    This reverts commit 31b103c.
    
    * RD: Modified SALRegistrationService to run SAL registration in dedicated worker thread, and interrupt registration if it takes too long. Added related settings and assigned defaults.
    
    * RD: Added temp. log messages
    
    * Revert "RD: Added temp. log messages"
    
    This reverts commit 2dae658.
    
    * RD: Updated DeviceMetricsMonitorService to match metric events to device using first the IP address and the client Id (stored in Device.StatusUpdate)
    
    * Improvements on edge device data propagation
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Integration of changes performed in commit e3bd385 but accidentally overriden
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Updated Dockerfile
    
    * RD: Updated run.sh and added wait_for_mongodb.sh
    
    * RD: Improved wait_for_mongodb.sh script
    
    * Various Improvements
    Addition of the port attribute in the registration of an edge device
    Modification of the edge device registration to allow for more dynamic registration json field population
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Attempt to fix a problem when publishing to the broker to register information to SAL or notify the SLO Violation detector
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Miscellaneous improvements
    
    Updated the registration of architecture/jar files for each edge device registered
    
    Preliminary work to support 'Compromised state'
    
    * RD: Added API Key authentication
    
    * RD: Upgraded SB to 3.2.10, and Lombok, commons-lang3 dependencies to their latest versions. Improved Dockerfile.
    
    * RD: Code improvements (esp. wrt @PreAuthorize annotations)
    
    * RD: Made SALRegistrationService service conditionally enabled (by 'discovery.sal-registration.enabled' property). Its uses were updated accordingly.
    
    * RD: Updated RegistrationRequestService (and its uses) to take authenticated user into consideration during checks of requests and devices sent from GUI. Also added checks for the device data provided.
    
    * RD: Added 'Device.ref' field and added its initialization. Ref field will be populated with a unique device reference following the Nebulous naming convention (including app id).
    
    * RD: Updated GUI pages to include the new 'ref' field. A few more improvements were introduced.
    
    * Use device reference instead of name to register to SAL
    
    * Improvements in device registration and component communication with the broker
    
    * Small improvements in device registration
    
    * Small improvement in getting device registration details
    
    * Small improvement in getting device registration details
    
    * RD: Fix in SALRegistrationService class
    
    * RD: Fixed fontawesome cdn url
    
    * Initial deregistration support
    
    * RD: Made device on-boarding authorization configurable (MANUAL, ALWAYS_AUTHORIZE, and ALWAYS_REJECT)
    
    * RD: Updated RegistrationRequestProcessor to include Device Ref in onboarding request to EMS
    
    * Improvements in the handling of AMQP connections
    
    * Addition of provider field, miscellaneous improvements
    
    - Addition of provider field in device registration
    - Small improvements the Synchronous Broker publisher
    
    * Minor logging improvements
    
    * Deregistration process improvement
    
    * Stopping the device lost publisher
    
    * Refactoring to use the original Connector class instead of ExtendedConnector
    
    * Minor logging improvement
    
    * Only try to stop the connector if it has been previously initialized
    
    * Miscellaneous improvements
    
    Implementation of edge device/byon hourly cost (price) field
    Only try to stop the connector if it has been previously initialized
    
    * Password improvements
    
    Removal of plaintext passwords and replacement with environmental variable values
    
    * Debugging message commit
    
    ---------
    
    Co-authored-by: ipatini <ipatini@mail.ntua.gr>
    Co-authored-by: Andreas Tsagkaropoulos <atsagkaropoulos@mail.ntua.gr>
    3 people authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    f884122 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37d9213 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Work on Deregistration support

    atsag committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    bb4bdc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0663266 View commit details
    Browse the repository at this point in the history
  3. Logging improvements (#33)

    * RD: Added device-view.html for viewing and editing device details. Fixed and improved devices.html. Modified DeviceManagementController so that the '/monitor/device' endpoint returns the devices of the current user, and also plain users can retrieve info for the devices they own.
    
    * RD: Moved 'metrics' section side-by-side to 'device info' section in device-view.html, for better viewing
    
    * RD: changed mongo db name to 'resource_discovery' in application.yml
    
    * RD: Minor GUI improvements
    
    * RD: Added DeviceMonitorService to watch the status updates from EMS. Added DeviceStatusUpdate class used in DeviceMonitorService, and added field statusUpdate in Device class. Restructured and improved ResourceDiscoveryProperties.
    
    * RD: Created AbstractMonitorService (to factor out common topic monitoring code). Renamed DeviceMonitorService to DeviceStatusMonitorService and made it subclass of AbstractMonitorService. Changed DeviceStatusUpdate class to ignore unknown properties during deserialization.
    
    * RD: Added banner
    
    * RD: Added DeviceMetricsMonitorService and DeviceMetrics classes. Updated Device class to store device metrics received from EMS
    
    * RD: Updated application.yml
    
    * RD: Added device metrics display in device-view.html. Added (EMS) device status in devices.html
    
    * RD: Updated device-view.html to display device metrics
    
    * RD: Modified Device in monitoring subsystem to not have its credentials serialized (and returned to browser). Also updated the affected code
    
    * RD: Added check for a request's device IP address being in use (in another request or a registered device)
    
    * RD: various minor code improvements
    
    * RD: Added better error reporting in request-edit.html
    
    * RD: Various small GUI improvements and a fix
    
    * RD: Fixed registration Device in order toString() not to print credentials. Fixed RegistrationRequest in order to have its 'messages' and 'history' fields copied by BeanUtils. Fixed 2 bugs in RegistrationRequestProcessor and added a few more logs.
    
    * RD: Minor change in device-view.html to move 'count-' metrics to the end of the device metrics list
    
    * RD: Changed monitoring Device to not serialize credentials
    
    * RD: Code cleanup in RegistrationRequestProcessor
    
    * RD: Improved GUI (added page shortcuts at top-right)
    
    * RD: Implementing re-onboarding, off-boarding, and request-for-info (device status and metrics) [WIP]
    
    * RD: Added DeviceLifeCycleRequestService and DeviceLifeCycleResponseService classes for handling reinstall and uninstall actions (via EMS broker). Moved LC request event sending from DeviceManagementService to DeviceLifeCycleRequestService. Updated ResourceDiscoveryProperties with settings for DeviceLifeCycleRequest/ResponseService's.
    
    * RD: Added device archiving and unarchiving in GUI
    
    * RD: Implemented DeviceProcessor to periodically archive off-boarded devices. Added configurable immediate archiving of Success registration requests, and off-boarded devices, and added relevant settings in ResourceDiscoveryProperties  and in GUI.
    
    * RD: Changed devices.html to always display 'Archive' button to Admin users
    
    * RD: Added archived-device-view.html, renamed archived-view.html to archived-request-view.html. Updated archived.html
    
    * RD: Fixed DeviceManagementController to allow plain users (device owners) to access their device info (and archived devices), and control re-installing and off-boarding. Added device colouring based on their status.
    
    * RD: Extended DeviceProcessor to check for suspect and failed devices. Added SUSPECT and FAILED statues in DeviceStatus (and in devices.html and archived.html for colouring). Added relevant settings in ResourceDiscoveryProperties. Fixed a few naming errors.
    
    * RD: Added shortcuts (top-right corner) to all detail pages
    
    * RD: Minor change in index.html (grayed out settings image)
    
    * RD: Improved AbstractMonitorService (reuse of single connection, better logs). Updated affected code.
    
    * RD: Minor code (mostly logging) and GUI improvements
    
    * RD: Added 'UnknownDeviceRegistrationService' class to monitor for unknown devices (based on IP address and reference in messages received from EMS), and registering them to RD. Added NODE_DETAILS in REQUEST_TYPE enum for messages sent to/received from EMS about acquiring detailed node info (including credentials). Added 'deviceInfoRequestsTopic' and 'deviceInfoReportsTopic' settings in ResourceDiscoveryProperties.
    
    * RD: Added prompting admin to provide device credentials when un-archiving a previously archived request or device.
    
    * RD: Moved REQUEST_TYPE enum to 'common' package and updated code
    
    * RD: Changed authentication to use BCrypt-encrypted passwords
    
    * RD: Moved message broker communication code to BrokerUtil class, and updated using classes accordingly. Implemented EncryptionUtil for encrypting and decrypting broker messages [TO BE TESTED]. Few minor code improvements.
    
    * RD: Minor code tidy up
    
    * RD: Added support for SSL connections to ActiveMQ broker in BrokerUtil. Added the needed settings in ResourceDiscoveryProperties and application.yml
    
    * RD: Fixed issue where UnknownDeviceRegistrationService registers a device before RegistrationRequestProcessor does
    
    * RD: Modified pom.xml to build an image named 'eu.nebulous.resource-discovery' and tagged with current project version
    
    * RD: Added 'DeviceLocation' class and 'location' field in both 'Device' classes. Also updated all 4 details pages to include Location (name, lat, lon). Fixed the Restore button of the modal dialog in archived.html to display 'Restore Request' or 'Restore Device' depending on the restore type.
    
    * RD: Added StatusController to report current application status (currently returns 'OK')
    
    * RD: Fixed a few minor issues:
    * Fixed 'spring.web.resources.static-locations'
    * Changed Docker image name to 'resource-discovery'
    * Set BPE_LANG value to C.UTF-8 in order to render banner correctly
    
    * RD: Changes in pom.xml and application.yml:
    * Changed groupId in pom.xml to 'eu.nebulous.resource-management', and artifactId to 'resource-discovery'
    * Corrected service name and description
    * Set 'imageName' property to derive from artifactId
    * Fixed application.yml to use '@project.version@' placeholder for app version
    
    * RD: Renamed 'management' module to 'resource-discovery'
    
    * RD:
    * Commented out Buildpacks related settings in pom.xml
    * Added Dockerfile, run.sh (entrypoint script) and .dockerignore
    
    * RD: Modified base images in Dockerfile
    
    * RD: Modified Dockerfile in order to both compile the app and build the Docker image
    
    * RD: Improved Dockerfile
    
    * RD: Improved Dockerfile
    
    * RD: Upgraded SB version to SB 3.2.1 and JRE to version 21. Updated dependency to their latest versions. Modified model classes to avoid Lombok SuperBuilder warnings.
    
    * RD: Fixed Dockerfile
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * EMS: Added K8sNetdataCollector [WIP]
    
    * RD: Added 'port' in forms and models
    
    * RD: Added two TODOs
    
    * RD: Deactivated UnknownDeviceRegistrationService
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Increased logging to debug setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Modified logging to debug the setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Correction of syntactic error I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Addition of needed configuration properties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Updates on the topic and the payload format used to communicate with SAL for the registration of a device
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Allow setting and using a custom broker port
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Pass a default port to the configuration of the Resource discovery server
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Log debugging information related to the port of the NebulOuS broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Publishing of the appropriate message to the broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Removed truststore settings from application.yml. Upgraded to SB 3.2.4 and fixed pom.xml
    
    * RD: Fixed banner.txt
    
    * RD: Modified application.yml
    
    * RD: Added temp. debug messages
    
    * RD: Added temp. debug messages 2
    
    * Revert "RD: Added temp. debug messages 2"
    
    This reverts commit 738f604.
    
    * Revert "RD: Added temp. debug messages"
    
    This reverts commit 31b103c.
    
    * RD: Modified SALRegistrationService to run SAL registration in dedicated worker thread, and interrupt registration if it takes too long. Added related settings and assigned defaults.
    
    * RD: Added temp. log messages
    
    * Revert "RD: Added temp. log messages"
    
    This reverts commit 2dae658.
    
    * RD: Updated DeviceMetricsMonitorService to match metric events to device using first the IP address and the client Id (stored in Device.StatusUpdate)
    
    * Improvements on edge device data propagation
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Integration of changes performed in commit e3bd385 but accidentally overriden
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Updated Dockerfile
    
    * RD: Updated run.sh and added wait_for_mongodb.sh
    
    * RD: Improved wait_for_mongodb.sh script
    
    * Various Improvements
    Addition of the port attribute in the registration of an edge device
    Modification of the edge device registration to allow for more dynamic registration json field population
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Attempt to fix a problem when publishing to the broker to register information to SAL or notify the SLO Violation detector
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Miscellaneous improvements
    
    Updated the registration of architecture/jar files for each edge device registered
    
    Preliminary work to support 'Compromised state'
    
    * RD: Added API Key authentication
    
    * RD: Upgraded SB to 3.2.10, and Lombok, commons-lang3 dependencies to their latest versions. Improved Dockerfile.
    
    * RD: Code improvements (esp. wrt @PreAuthorize annotations)
    
    * RD: Made SALRegistrationService service conditionally enabled (by 'discovery.sal-registration.enabled' property). Its uses were updated accordingly.
    
    * RD: Updated RegistrationRequestService (and its uses) to take authenticated user into consideration during checks of requests and devices sent from GUI. Also added checks for the device data provided.
    
    * RD: Added 'Device.ref' field and added its initialization. Ref field will be populated with a unique device reference following the Nebulous naming convention (including app id).
    
    * RD: Updated GUI pages to include the new 'ref' field. A few more improvements were introduced.
    
    * Use device reference instead of name to register to SAL
    
    * Improvements in device registration and component communication with the broker
    
    * Small improvements in device registration
    
    * Small improvement in getting device registration details
    
    * Small improvement in getting device registration details
    
    * RD: Fix in SALRegistrationService class
    
    * RD: Fixed fontawesome cdn url
    
    * Initial deregistration support
    
    * RD: Made device on-boarding authorization configurable (MANUAL, ALWAYS_AUTHORIZE, and ALWAYS_REJECT)
    
    * RD: Updated RegistrationRequestProcessor to include Device Ref in onboarding request to EMS
    
    * Improvements in the handling of AMQP connections
    
    * Addition of provider field, miscellaneous improvements
    
    - Addition of provider field in device registration
    - Small improvements the Synchronous Broker publisher
    
    * Minor logging improvements
    
    * Deregistration process improvement
    
    * Stopping the device lost publisher
    
    * Refactoring to use the original Connector class instead of ExtendedConnector
    
    * Minor logging improvement
    
    * Only try to stop the connector if it has been previously initialized
    
    * Miscellaneous improvements
    
    Implementation of edge device/byon hourly cost (price) field
    Only try to stop the connector if it has been previously initialized
    
    * Password improvements
    
    Removal of plaintext passwords and replacement with environmental variable values
    
    * Debugging message commit
    
    * Work on Deregistration support
    
    * Added more logging statements to debug device registration (work by ipatini)
    
    ---------
    
    Co-authored-by: ipatini <ipatini@mail.ntua.gr>
    Co-authored-by: Andreas Tsagkaropoulos <atsagkaropoulos@mail.ntua.gr>
    3 people authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    4f09320 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    57ca53b View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
    atsag committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    03458d3 View commit details
    Browse the repository at this point in the history
  6. Sal response parsing improvement (#34)

    * RD: Added device-view.html for viewing and editing device details. Fixed and improved devices.html. Modified DeviceManagementController so that the '/monitor/device' endpoint returns the devices of the current user, and also plain users can retrieve info for the devices they own.
    
    * RD: Moved 'metrics' section side-by-side to 'device info' section in device-view.html, for better viewing
    
    * RD: changed mongo db name to 'resource_discovery' in application.yml
    
    * RD: Minor GUI improvements
    
    * RD: Added DeviceMonitorService to watch the status updates from EMS. Added DeviceStatusUpdate class used in DeviceMonitorService, and added field statusUpdate in Device class. Restructured and improved ResourceDiscoveryProperties.
    
    * RD: Created AbstractMonitorService (to factor out common topic monitoring code). Renamed DeviceMonitorService to DeviceStatusMonitorService and made it subclass of AbstractMonitorService. Changed DeviceStatusUpdate class to ignore unknown properties during deserialization.
    
    * RD: Added banner
    
    * RD: Added DeviceMetricsMonitorService and DeviceMetrics classes. Updated Device class to store device metrics received from EMS
    
    * RD: Updated application.yml
    
    * RD: Added device metrics display in device-view.html. Added (EMS) device status in devices.html
    
    * RD: Updated device-view.html to display device metrics
    
    * RD: Modified Device in monitoring subsystem to not have its credentials serialized (and returned to browser). Also updated the affected code
    
    * RD: Added check for a request's device IP address being in use (in another request or a registered device)
    
    * RD: various minor code improvements
    
    * RD: Added better error reporting in request-edit.html
    
    * RD: Various small GUI improvements and a fix
    
    * RD: Fixed registration Device in order toString() not to print credentials. Fixed RegistrationRequest in order to have its 'messages' and 'history' fields copied by BeanUtils. Fixed 2 bugs in RegistrationRequestProcessor and added a few more logs.
    
    * RD: Minor change in device-view.html to move 'count-' metrics to the end of the device metrics list
    
    * RD: Changed monitoring Device to not serialize credentials
    
    * RD: Code cleanup in RegistrationRequestProcessor
    
    * RD: Improved GUI (added page shortcuts at top-right)
    
    * RD: Implementing re-onboarding, off-boarding, and request-for-info (device status and metrics) [WIP]
    
    * RD: Added DeviceLifeCycleRequestService and DeviceLifeCycleResponseService classes for handling reinstall and uninstall actions (via EMS broker). Moved LC request event sending from DeviceManagementService to DeviceLifeCycleRequestService. Updated ResourceDiscoveryProperties with settings for DeviceLifeCycleRequest/ResponseService's.
    
    * RD: Added device archiving and unarchiving in GUI
    
    * RD: Implemented DeviceProcessor to periodically archive off-boarded devices. Added configurable immediate archiving of Success registration requests, and off-boarded devices, and added relevant settings in ResourceDiscoveryProperties  and in GUI.
    
    * RD: Changed devices.html to always display 'Archive' button to Admin users
    
    * RD: Added archived-device-view.html, renamed archived-view.html to archived-request-view.html. Updated archived.html
    
    * RD: Fixed DeviceManagementController to allow plain users (device owners) to access their device info (and archived devices), and control re-installing and off-boarding. Added device colouring based on their status.
    
    * RD: Extended DeviceProcessor to check for suspect and failed devices. Added SUSPECT and FAILED statues in DeviceStatus (and in devices.html and archived.html for colouring). Added relevant settings in ResourceDiscoveryProperties. Fixed a few naming errors.
    
    * RD: Added shortcuts (top-right corner) to all detail pages
    
    * RD: Minor change in index.html (grayed out settings image)
    
    * RD: Improved AbstractMonitorService (reuse of single connection, better logs). Updated affected code.
    
    * RD: Minor code (mostly logging) and GUI improvements
    
    * RD: Added 'UnknownDeviceRegistrationService' class to monitor for unknown devices (based on IP address and reference in messages received from EMS), and registering them to RD. Added NODE_DETAILS in REQUEST_TYPE enum for messages sent to/received from EMS about acquiring detailed node info (including credentials). Added 'deviceInfoRequestsTopic' and 'deviceInfoReportsTopic' settings in ResourceDiscoveryProperties.
    
    * RD: Added prompting admin to provide device credentials when un-archiving a previously archived request or device.
    
    * RD: Moved REQUEST_TYPE enum to 'common' package and updated code
    
    * RD: Changed authentication to use BCrypt-encrypted passwords
    
    * RD: Moved message broker communication code to BrokerUtil class, and updated using classes accordingly. Implemented EncryptionUtil for encrypting and decrypting broker messages [TO BE TESTED]. Few minor code improvements.
    
    * RD: Minor code tidy up
    
    * RD: Added support for SSL connections to ActiveMQ broker in BrokerUtil. Added the needed settings in ResourceDiscoveryProperties and application.yml
    
    * RD: Fixed issue where UnknownDeviceRegistrationService registers a device before RegistrationRequestProcessor does
    
    * RD: Modified pom.xml to build an image named 'eu.nebulous.resource-discovery' and tagged with current project version
    
    * RD: Added 'DeviceLocation' class and 'location' field in both 'Device' classes. Also updated all 4 details pages to include Location (name, lat, lon). Fixed the Restore button of the modal dialog in archived.html to display 'Restore Request' or 'Restore Device' depending on the restore type.
    
    * RD: Added StatusController to report current application status (currently returns 'OK')
    
    * RD: Fixed a few minor issues:
    * Fixed 'spring.web.resources.static-locations'
    * Changed Docker image name to 'resource-discovery'
    * Set BPE_LANG value to C.UTF-8 in order to render banner correctly
    
    * RD: Changes in pom.xml and application.yml:
    * Changed groupId in pom.xml to 'eu.nebulous.resource-management', and artifactId to 'resource-discovery'
    * Corrected service name and description
    * Set 'imageName' property to derive from artifactId
    * Fixed application.yml to use '@project.version@' placeholder for app version
    
    * RD: Renamed 'management' module to 'resource-discovery'
    
    * RD:
    * Commented out Buildpacks related settings in pom.xml
    * Added Dockerfile, run.sh (entrypoint script) and .dockerignore
    
    * RD: Modified base images in Dockerfile
    
    * RD: Modified Dockerfile in order to both compile the app and build the Docker image
    
    * RD: Improved Dockerfile
    
    * RD: Improved Dockerfile
    
    * RD: Upgraded SB version to SB 3.2.1 and JRE to version 21. Updated dependency to their latest versions. Modified model classes to avoid Lombok SuperBuilder warnings.
    
    * RD: Fixed Dockerfile
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * EMS: Added K8sNetdataCollector [WIP]
    
    * RD: Added 'port' in forms and models
    
    * RD: Added two TODOs
    
    * RD: Deactivated UnknownDeviceRegistrationService
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Increased logging to debug setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Modified logging to debug the setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Correction of syntactic error I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Addition of needed configuration properties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Updates on the topic and the payload format used to communicate with SAL for the registration of a device
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Allow setting and using a custom broker port
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Pass a default port to the configuration of the Resource discovery server
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Log debugging information related to the port of the NebulOuS broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Publishing of the appropriate message to the broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Removed truststore settings from application.yml. Upgraded to SB 3.2.4 and fixed pom.xml
    
    * RD: Fixed banner.txt
    
    * RD: Modified application.yml
    
    * RD: Added temp. debug messages
    
    * RD: Added temp. debug messages 2
    
    * Revert "RD: Added temp. debug messages 2"
    
    This reverts commit 738f604.
    
    * Revert "RD: Added temp. debug messages"
    
    This reverts commit 31b103c.
    
    * RD: Modified SALRegistrationService to run SAL registration in dedicated worker thread, and interrupt registration if it takes too long. Added related settings and assigned defaults.
    
    * RD: Added temp. log messages
    
    * Revert "RD: Added temp. log messages"
    
    This reverts commit 2dae658.
    
    * RD: Updated DeviceMetricsMonitorService to match metric events to device using first the IP address and the client Id (stored in Device.StatusUpdate)
    
    * Improvements on edge device data propagation
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Integration of changes performed in commit e3bd385 but accidentally overriden
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Updated Dockerfile
    
    * RD: Updated run.sh and added wait_for_mongodb.sh
    
    * RD: Improved wait_for_mongodb.sh script
    
    * Various Improvements
    Addition of the port attribute in the registration of an edge device
    Modification of the edge device registration to allow for more dynamic registration json field population
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Attempt to fix a problem when publishing to the broker to register information to SAL or notify the SLO Violation detector
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Miscellaneous improvements
    
    Updated the registration of architecture/jar files for each edge device registered
    
    Preliminary work to support 'Compromised state'
    
    * RD: Added API Key authentication
    
    * RD: Upgraded SB to 3.2.10, and Lombok, commons-lang3 dependencies to their latest versions. Improved Dockerfile.
    
    * RD: Code improvements (esp. wrt @PreAuthorize annotations)
    
    * RD: Made SALRegistrationService service conditionally enabled (by 'discovery.sal-registration.enabled' property). Its uses were updated accordingly.
    
    * RD: Updated RegistrationRequestService (and its uses) to take authenticated user into consideration during checks of requests and devices sent from GUI. Also added checks for the device data provided.
    
    * RD: Added 'Device.ref' field and added its initialization. Ref field will be populated with a unique device reference following the Nebulous naming convention (including app id).
    
    * RD: Updated GUI pages to include the new 'ref' field. A few more improvements were introduced.
    
    * Use device reference instead of name to register to SAL
    
    * Improvements in device registration and component communication with the broker
    
    * Small improvements in device registration
    
    * Small improvement in getting device registration details
    
    * Small improvement in getting device registration details
    
    * RD: Fix in SALRegistrationService class
    
    * RD: Fixed fontawesome cdn url
    
    * Initial deregistration support
    
    * RD: Made device on-boarding authorization configurable (MANUAL, ALWAYS_AUTHORIZE, and ALWAYS_REJECT)
    
    * RD: Updated RegistrationRequestProcessor to include Device Ref in onboarding request to EMS
    
    * Improvements in the handling of AMQP connections
    
    * Addition of provider field, miscellaneous improvements
    
    - Addition of provider field in device registration
    - Small improvements the Synchronous Broker publisher
    
    * Minor logging improvements
    
    * Deregistration process improvement
    
    * Stopping the device lost publisher
    
    * Refactoring to use the original Connector class instead of ExtendedConnector
    
    * Minor logging improvement
    
    * Only try to stop the connector if it has been previously initialized
    
    * Miscellaneous improvements
    
    Implementation of edge device/byon hourly cost (price) field
    Only try to stop the connector if it has been previously initialized
    
    * Password improvements
    
    Removal of plaintext passwords and replacement with environmental variable values
    
    * Debugging message commit
    
    * Work on Deregistration support
    
    * Added more logging statements to debug device registration (work by ipatini)
    
    * Fix parsing the json response of SAL
    
    ---------
    
    Co-authored-by: ipatini <ipatini@mail.ntua.gr>
    Co-authored-by: Andreas Tsagkaropoulos <atsagkaropoulos@mail.ntua.gr>
    3 people authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    d1de533 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c3acd7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ac4c892 View commit details
    Browse the repository at this point in the history
  9. Avoid publish connector stop (#36)

    * RD: Added device-view.html for viewing and editing device details. Fixed and improved devices.html. Modified DeviceManagementController so that the '/monitor/device' endpoint returns the devices of the current user, and also plain users can retrieve info for the devices they own.
    
    * RD: Moved 'metrics' section side-by-side to 'device info' section in device-view.html, for better viewing
    
    * RD: changed mongo db name to 'resource_discovery' in application.yml
    
    * RD: Minor GUI improvements
    
    * RD: Added DeviceMonitorService to watch the status updates from EMS. Added DeviceStatusUpdate class used in DeviceMonitorService, and added field statusUpdate in Device class. Restructured and improved ResourceDiscoveryProperties.
    
    * RD: Created AbstractMonitorService (to factor out common topic monitoring code). Renamed DeviceMonitorService to DeviceStatusMonitorService and made it subclass of AbstractMonitorService. Changed DeviceStatusUpdate class to ignore unknown properties during deserialization.
    
    * RD: Added banner
    
    * RD: Added DeviceMetricsMonitorService and DeviceMetrics classes. Updated Device class to store device metrics received from EMS
    
    * RD: Updated application.yml
    
    * RD: Added device metrics display in device-view.html. Added (EMS) device status in devices.html
    
    * RD: Updated device-view.html to display device metrics
    
    * RD: Modified Device in monitoring subsystem to not have its credentials serialized (and returned to browser). Also updated the affected code
    
    * RD: Added check for a request's device IP address being in use (in another request or a registered device)
    
    * RD: various minor code improvements
    
    * RD: Added better error reporting in request-edit.html
    
    * RD: Various small GUI improvements and a fix
    
    * RD: Fixed registration Device in order toString() not to print credentials. Fixed RegistrationRequest in order to have its 'messages' and 'history' fields copied by BeanUtils. Fixed 2 bugs in RegistrationRequestProcessor and added a few more logs.
    
    * RD: Minor change in device-view.html to move 'count-' metrics to the end of the device metrics list
    
    * RD: Changed monitoring Device to not serialize credentials
    
    * RD: Code cleanup in RegistrationRequestProcessor
    
    * RD: Improved GUI (added page shortcuts at top-right)
    
    * RD: Implementing re-onboarding, off-boarding, and request-for-info (device status and metrics) [WIP]
    
    * RD: Added DeviceLifeCycleRequestService and DeviceLifeCycleResponseService classes for handling reinstall and uninstall actions (via EMS broker). Moved LC request event sending from DeviceManagementService to DeviceLifeCycleRequestService. Updated ResourceDiscoveryProperties with settings for DeviceLifeCycleRequest/ResponseService's.
    
    * RD: Added device archiving and unarchiving in GUI
    
    * RD: Implemented DeviceProcessor to periodically archive off-boarded devices. Added configurable immediate archiving of Success registration requests, and off-boarded devices, and added relevant settings in ResourceDiscoveryProperties  and in GUI.
    
    * RD: Changed devices.html to always display 'Archive' button to Admin users
    
    * RD: Added archived-device-view.html, renamed archived-view.html to archived-request-view.html. Updated archived.html
    
    * RD: Fixed DeviceManagementController to allow plain users (device owners) to access their device info (and archived devices), and control re-installing and off-boarding. Added device colouring based on their status.
    
    * RD: Extended DeviceProcessor to check for suspect and failed devices. Added SUSPECT and FAILED statues in DeviceStatus (and in devices.html and archived.html for colouring). Added relevant settings in ResourceDiscoveryProperties. Fixed a few naming errors.
    
    * RD: Added shortcuts (top-right corner) to all detail pages
    
    * RD: Minor change in index.html (grayed out settings image)
    
    * RD: Improved AbstractMonitorService (reuse of single connection, better logs). Updated affected code.
    
    * RD: Minor code (mostly logging) and GUI improvements
    
    * RD: Added 'UnknownDeviceRegistrationService' class to monitor for unknown devices (based on IP address and reference in messages received from EMS), and registering them to RD. Added NODE_DETAILS in REQUEST_TYPE enum for messages sent to/received from EMS about acquiring detailed node info (including credentials). Added 'deviceInfoRequestsTopic' and 'deviceInfoReportsTopic' settings in ResourceDiscoveryProperties.
    
    * RD: Added prompting admin to provide device credentials when un-archiving a previously archived request or device.
    
    * RD: Moved REQUEST_TYPE enum to 'common' package and updated code
    
    * RD: Changed authentication to use BCrypt-encrypted passwords
    
    * RD: Moved message broker communication code to BrokerUtil class, and updated using classes accordingly. Implemented EncryptionUtil for encrypting and decrypting broker messages [TO BE TESTED]. Few minor code improvements.
    
    * RD: Minor code tidy up
    
    * RD: Added support for SSL connections to ActiveMQ broker in BrokerUtil. Added the needed settings in ResourceDiscoveryProperties and application.yml
    
    * RD: Fixed issue where UnknownDeviceRegistrationService registers a device before RegistrationRequestProcessor does
    
    * RD: Modified pom.xml to build an image named 'eu.nebulous.resource-discovery' and tagged with current project version
    
    * RD: Added 'DeviceLocation' class and 'location' field in both 'Device' classes. Also updated all 4 details pages to include Location (name, lat, lon). Fixed the Restore button of the modal dialog in archived.html to display 'Restore Request' or 'Restore Device' depending on the restore type.
    
    * RD: Added StatusController to report current application status (currently returns 'OK')
    
    * RD: Fixed a few minor issues:
    * Fixed 'spring.web.resources.static-locations'
    * Changed Docker image name to 'resource-discovery'
    * Set BPE_LANG value to C.UTF-8 in order to render banner correctly
    
    * RD: Changes in pom.xml and application.yml:
    * Changed groupId in pom.xml to 'eu.nebulous.resource-management', and artifactId to 'resource-discovery'
    * Corrected service name and description
    * Set 'imageName' property to derive from artifactId
    * Fixed application.yml to use '@project.version@' placeholder for app version
    
    * RD: Renamed 'management' module to 'resource-discovery'
    
    * RD:
    * Commented out Buildpacks related settings in pom.xml
    * Added Dockerfile, run.sh (entrypoint script) and .dockerignore
    
    * RD: Modified base images in Dockerfile
    
    * RD: Modified Dockerfile in order to both compile the app and build the Docker image
    
    * RD: Improved Dockerfile
    
    * RD: Improved Dockerfile
    
    * RD: Upgraded SB version to SB 3.2.1 and JRE to version 21. Updated dependency to their latest versions. Modified model classes to avoid Lombok SuperBuilder warnings.
    
    * RD: Fixed Dockerfile
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * EMS: Added K8sNetdataCollector [WIP]
    
    * RD: Added 'port' in forms and models
    
    * RD: Added two TODOs
    
    * RD: Deactivated UnknownDeviceRegistrationService
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Increased logging to debug setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Modified logging to debug the setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Correction of syntactic error I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Addition of needed configuration properties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Updates on the topic and the payload format used to communicate with SAL for the registration of a device
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Allow setting and using a custom broker port
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Pass a default port to the configuration of the Resource discovery server
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Log debugging information related to the port of the NebulOuS broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Publishing of the appropriate message to the broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Removed truststore settings from application.yml. Upgraded to SB 3.2.4 and fixed pom.xml
    
    * RD: Fixed banner.txt
    
    * RD: Modified application.yml
    
    * RD: Added temp. debug messages
    
    * RD: Added temp. debug messages 2
    
    * Revert "RD: Added temp. debug messages 2"
    
    This reverts commit 738f604.
    
    * Revert "RD: Added temp. debug messages"
    
    This reverts commit 31b103c.
    
    * RD: Modified SALRegistrationService to run SAL registration in dedicated worker thread, and interrupt registration if it takes too long. Added related settings and assigned defaults.
    
    * RD: Added temp. log messages
    
    * Revert "RD: Added temp. log messages"
    
    This reverts commit 2dae658.
    
    * RD: Updated DeviceMetricsMonitorService to match metric events to device using first the IP address and the client Id (stored in Device.StatusUpdate)
    
    * Improvements on edge device data propagation
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Integration of changes performed in commit e3bd385 but accidentally overriden
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Updated Dockerfile
    
    * RD: Updated run.sh and added wait_for_mongodb.sh
    
    * RD: Improved wait_for_mongodb.sh script
    
    * Various Improvements
    Addition of the port attribute in the registration of an edge device
    Modification of the edge device registration to allow for more dynamic registration json field population
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Attempt to fix a problem when publishing to the broker to register information to SAL or notify the SLO Violation detector
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Miscellaneous improvements
    
    Updated the registration of architecture/jar files for each edge device registered
    
    Preliminary work to support 'Compromised state'
    
    * RD: Added API Key authentication
    
    * RD: Upgraded SB to 3.2.10, and Lombok, commons-lang3 dependencies to their latest versions. Improved Dockerfile.
    
    * RD: Code improvements (esp. wrt @PreAuthorize annotations)
    
    * RD: Made SALRegistrationService service conditionally enabled (by 'discovery.sal-registration.enabled' property). Its uses were updated accordingly.
    
    * RD: Updated RegistrationRequestService (and its uses) to take authenticated user into consideration during checks of requests and devices sent from GUI. Also added checks for the device data provided.
    
    * RD: Added 'Device.ref' field and added its initialization. Ref field will be populated with a unique device reference following the Nebulous naming convention (including app id).
    
    * RD: Updated GUI pages to include the new 'ref' field. A few more improvements were introduced.
    
    * Use device reference instead of name to register to SAL
    
    * Improvements in device registration and component communication with the broker
    
    * Small improvements in device registration
    
    * Small improvement in getting device registration details
    
    * Small improvement in getting device registration details
    
    * RD: Fix in SALRegistrationService class
    
    * RD: Fixed fontawesome cdn url
    
    * Initial deregistration support
    
    * RD: Made device on-boarding authorization configurable (MANUAL, ALWAYS_AUTHORIZE, and ALWAYS_REJECT)
    
    * RD: Updated RegistrationRequestProcessor to include Device Ref in onboarding request to EMS
    
    * Improvements in the handling of AMQP connections
    
    * Addition of provider field, miscellaneous improvements
    
    - Addition of provider field in device registration
    - Small improvements the Synchronous Broker publisher
    
    * Minor logging improvements
    
    * Deregistration process improvement
    
    * Stopping the device lost publisher
    
    * Refactoring to use the original Connector class instead of ExtendedConnector
    
    * Minor logging improvement
    
    * Only try to stop the connector if it has been previously initialized
    
    * Miscellaneous improvements
    
    Implementation of edge device/byon hourly cost (price) field
    Only try to stop the connector if it has been previously initialized
    
    * Password improvements
    
    Removal of plaintext passwords and replacement with environmental variable values
    
    * Debugging message commit
    
    * Work on Deregistration support
    
    * Added more logging statements to debug device registration (work by ipatini)
    
    * Fix parsing the json response of SAL
    
    * Changes to avoid stopping the connector
    
    ---------
    
    Co-authored-by: ipatini <ipatini@mail.ntua.gr>
    Co-authored-by: Andreas Tsagkaropoulos <atsagkaropoulos@mail.ntua.gr>
    3 people authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    77625ca View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Avoid starting new connectors, mark device as offboarded

     When a device has failed and it has been processed (i.e a message has been sent to the device lost topic) then it should be marked as offboarded to be archived
    
     Do not create a new connector unless this is required
    
     Do not use a redundant environmental variable
    atsag committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    cae220b View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/monitor/DeviceProcessor.java
    atsag committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    dd5cd7f View commit details
    Browse the repository at this point in the history
  3. Miscellaneous improvements (#37)

    * RD: Added device-view.html for viewing and editing device details. Fixed and improved devices.html. Modified DeviceManagementController so that the '/monitor/device' endpoint returns the devices of the current user, and also plain users can retrieve info for the devices they own.
    
    * RD: Moved 'metrics' section side-by-side to 'device info' section in device-view.html, for better viewing
    
    * RD: changed mongo db name to 'resource_discovery' in application.yml
    
    * RD: Minor GUI improvements
    
    * RD: Added DeviceMonitorService to watch the status updates from EMS. Added DeviceStatusUpdate class used in DeviceMonitorService, and added field statusUpdate in Device class. Restructured and improved ResourceDiscoveryProperties.
    
    * RD: Created AbstractMonitorService (to factor out common topic monitoring code). Renamed DeviceMonitorService to DeviceStatusMonitorService and made it subclass of AbstractMonitorService. Changed DeviceStatusUpdate class to ignore unknown properties during deserialization.
    
    * RD: Added banner
    
    * RD: Added DeviceMetricsMonitorService and DeviceMetrics classes. Updated Device class to store device metrics received from EMS
    
    * RD: Updated application.yml
    
    * RD: Added device metrics display in device-view.html. Added (EMS) device status in devices.html
    
    * RD: Updated device-view.html to display device metrics
    
    * RD: Modified Device in monitoring subsystem to not have its credentials serialized (and returned to browser). Also updated the affected code
    
    * RD: Added check for a request's device IP address being in use (in another request or a registered device)
    
    * RD: various minor code improvements
    
    * RD: Added better error reporting in request-edit.html
    
    * RD: Various small GUI improvements and a fix
    
    * RD: Fixed registration Device in order toString() not to print credentials. Fixed RegistrationRequest in order to have its 'messages' and 'history' fields copied by BeanUtils. Fixed 2 bugs in RegistrationRequestProcessor and added a few more logs.
    
    * RD: Minor change in device-view.html to move 'count-' metrics to the end of the device metrics list
    
    * RD: Changed monitoring Device to not serialize credentials
    
    * RD: Code cleanup in RegistrationRequestProcessor
    
    * RD: Improved GUI (added page shortcuts at top-right)
    
    * RD: Implementing re-onboarding, off-boarding, and request-for-info (device status and metrics) [WIP]
    
    * RD: Added DeviceLifeCycleRequestService and DeviceLifeCycleResponseService classes for handling reinstall and uninstall actions (via EMS broker). Moved LC request event sending from DeviceManagementService to DeviceLifeCycleRequestService. Updated ResourceDiscoveryProperties with settings for DeviceLifeCycleRequest/ResponseService's.
    
    * RD: Added device archiving and unarchiving in GUI
    
    * RD: Implemented DeviceProcessor to periodically archive off-boarded devices. Added configurable immediate archiving of Success registration requests, and off-boarded devices, and added relevant settings in ResourceDiscoveryProperties  and in GUI.
    
    * RD: Changed devices.html to always display 'Archive' button to Admin users
    
    * RD: Added archived-device-view.html, renamed archived-view.html to archived-request-view.html. Updated archived.html
    
    * RD: Fixed DeviceManagementController to allow plain users (device owners) to access their device info (and archived devices), and control re-installing and off-boarding. Added device colouring based on their status.
    
    * RD: Extended DeviceProcessor to check for suspect and failed devices. Added SUSPECT and FAILED statues in DeviceStatus (and in devices.html and archived.html for colouring). Added relevant settings in ResourceDiscoveryProperties. Fixed a few naming errors.
    
    * RD: Added shortcuts (top-right corner) to all detail pages
    
    * RD: Minor change in index.html (grayed out settings image)
    
    * RD: Improved AbstractMonitorService (reuse of single connection, better logs). Updated affected code.
    
    * RD: Minor code (mostly logging) and GUI improvements
    
    * RD: Added 'UnknownDeviceRegistrationService' class to monitor for unknown devices (based on IP address and reference in messages received from EMS), and registering them to RD. Added NODE_DETAILS in REQUEST_TYPE enum for messages sent to/received from EMS about acquiring detailed node info (including credentials). Added 'deviceInfoRequestsTopic' and 'deviceInfoReportsTopic' settings in ResourceDiscoveryProperties.
    
    * RD: Added prompting admin to provide device credentials when un-archiving a previously archived request or device.
    
    * RD: Moved REQUEST_TYPE enum to 'common' package and updated code
    
    * RD: Changed authentication to use BCrypt-encrypted passwords
    
    * RD: Moved message broker communication code to BrokerUtil class, and updated using classes accordingly. Implemented EncryptionUtil for encrypting and decrypting broker messages [TO BE TESTED]. Few minor code improvements.
    
    * RD: Minor code tidy up
    
    * RD: Added support for SSL connections to ActiveMQ broker in BrokerUtil. Added the needed settings in ResourceDiscoveryProperties and application.yml
    
    * RD: Fixed issue where UnknownDeviceRegistrationService registers a device before RegistrationRequestProcessor does
    
    * RD: Modified pom.xml to build an image named 'eu.nebulous.resource-discovery' and tagged with current project version
    
    * RD: Added 'DeviceLocation' class and 'location' field in both 'Device' classes. Also updated all 4 details pages to include Location (name, lat, lon). Fixed the Restore button of the modal dialog in archived.html to display 'Restore Request' or 'Restore Device' depending on the restore type.
    
    * RD: Added StatusController to report current application status (currently returns 'OK')
    
    * RD: Fixed a few minor issues:
    * Fixed 'spring.web.resources.static-locations'
    * Changed Docker image name to 'resource-discovery'
    * Set BPE_LANG value to C.UTF-8 in order to render banner correctly
    
    * RD: Changes in pom.xml and application.yml:
    * Changed groupId in pom.xml to 'eu.nebulous.resource-management', and artifactId to 'resource-discovery'
    * Corrected service name and description
    * Set 'imageName' property to derive from artifactId
    * Fixed application.yml to use '@project.version@' placeholder for app version
    
    * RD: Renamed 'management' module to 'resource-discovery'
    
    * RD:
    * Commented out Buildpacks related settings in pom.xml
    * Added Dockerfile, run.sh (entrypoint script) and .dockerignore
    
    * RD: Modified base images in Dockerfile
    
    * RD: Modified Dockerfile in order to both compile the app and build the Docker image
    
    * RD: Improved Dockerfile
    
    * RD: Improved Dockerfile
    
    * RD: Upgraded SB version to SB 3.2.1 and JRE to version 21. Updated dependency to their latest versions. Modified model classes to avoid Lombok SuperBuilder warnings.
    
    * RD: Fixed Dockerfile
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * EMS: Added K8sNetdataCollector [WIP]
    
    * RD: Added 'port' in forms and models
    
    * RD: Added two TODOs
    
    * RD: Deactivated UnknownDeviceRegistrationService
    
    * Initial changes to support registration and deregistration of edge devices to SAL
    
    Introduction of Broker publisher and subscriber utilities
    Introduction of new device registration service
    
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Improvement in the initialization of SALRegistrationService
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Increased logging to debug setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Modified logging to debug the setting of processorProperties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Correction of syntactic error I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Addition of needed configuration properties I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Testing of alternative initialization of SAL registration service I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Updates on the topic and the payload format used to communicate with SAL for the registration of a device
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Allow setting and using a custom broker port
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Pass a default port to the configuration of the Resource discovery server
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Log debugging information related to the port of the NebulOuS broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Publishing of the appropriate message to the broker
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Removed truststore settings from application.yml. Upgraded to SB 3.2.4 and fixed pom.xml
    
    * RD: Fixed banner.txt
    
    * RD: Modified application.yml
    
    * RD: Added temp. debug messages
    
    * RD: Added temp. debug messages 2
    
    * Revert "RD: Added temp. debug messages 2"
    
    This reverts commit 738f604.
    
    * Revert "RD: Added temp. debug messages"
    
    This reverts commit 31b103c.
    
    * RD: Modified SALRegistrationService to run SAL registration in dedicated worker thread, and interrupt registration if it takes too long. Added related settings and assigned defaults.
    
    * RD: Added temp. log messages
    
    * Revert "RD: Added temp. log messages"
    
    This reverts commit 2dae658.
    
    * RD: Updated DeviceMetricsMonitorService to match metric events to device using first the IP address and the client Id (stored in Device.StatusUpdate)
    
    * Improvements on edge device data propagation
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Integration of changes performed in commit e3bd385 but accidentally overriden
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * RD: Updated Dockerfile
    
    * RD: Updated run.sh and added wait_for_mongodb.sh
    
    * RD: Improved wait_for_mongodb.sh script
    
    * Various Improvements
    Addition of the port attribute in the registration of an edge device
    Modification of the edge device registration to allow for more dynamic registration json field population
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Attempt to fix a problem when publishing to the broker to register information to SAL or notify the SLO Violation detector
    I94a6fdb4612de192c24511445f1236cdce94b000
    
    * Miscellaneous improvements
    
    Updated the registration of architecture/jar files for each edge device registered
    
    Preliminary work to support 'Compromised state'
    
    * RD: Added API Key authentication
    
    * RD: Upgraded SB to 3.2.10, and Lombok, commons-lang3 dependencies to their latest versions. Improved Dockerfile.
    
    * RD: Code improvements (esp. wrt @PreAuthorize annotations)
    
    * RD: Made SALRegistrationService service conditionally enabled (by 'discovery.sal-registration.enabled' property). Its uses were updated accordingly.
    
    * RD: Updated RegistrationRequestService (and its uses) to take authenticated user into consideration during checks of requests and devices sent from GUI. Also added checks for the device data provided.
    
    * RD: Added 'Device.ref' field and added its initialization. Ref field will be populated with a unique device reference following the Nebulous naming convention (including app id).
    
    * RD: Updated GUI pages to include the new 'ref' field. A few more improvements were introduced.
    
    * Use device reference instead of name to register to SAL
    
    * Improvements in device registration and component communication with the broker
    
    * Small improvements in device registration
    
    * Small improvement in getting device registration details
    
    * Small improvement in getting device registration details
    
    * RD: Fix in SALRegistrationService class
    
    * RD: Fixed fontawesome cdn url
    
    * Initial deregistration support
    
    * RD: Made device on-boarding authorization configurable (MANUAL, ALWAYS_AUTHORIZE, and ALWAYS_REJECT)
    
    * RD: Updated RegistrationRequestProcessor to include Device Ref in onboarding request to EMS
    
    * Improvements in the handling of AMQP connections
    
    * Addition of provider field, miscellaneous improvements
    
    - Addition of provider field in device registration
    - Small improvements the Synchronous Broker publisher
    
    * Minor logging improvements
    
    * Deregistration process improvement
    
    * Stopping the device lost publisher
    
    * Refactoring to use the original Connector class instead of ExtendedConnector
    
    * Minor logging improvement
    
    * Only try to stop the connector if it has been previously initialized
    
    * Miscellaneous improvements
    
    Implementation of edge device/byon hourly cost (price) field
    Only try to stop the connector if it has been previously initialized
    
    * Password improvements
    
    Removal of plaintext passwords and replacement with environmental variable values
    
    * Debugging message commit
    
    * Work on Deregistration support
    
    * Added more logging statements to debug device registration (work by ipatini)
    
    * Fix parsing the json response of SAL
    
    * Changes to avoid stopping the connector
    
    * Avoid starting new connectors, mark device as offboarded
    
     When a device has failed and it has been processed (i.e a message has been sent to the device lost topic) then it should be marked as offboarded to be archived
    
     Do not create a new connector unless this is required
    
     Do not use a redundant environmental variable
    
    ---------
    
    Co-authored-by: ipatini <ipatini@mail.ntua.gr>
    Co-authored-by: Andreas Tsagkaropoulos <atsagkaropoulos@mail.ntua.gr>
    3 people authored Nov 22, 2024
    Configuration menu
    Copy the full SHA
    1a02765 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d79877b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eda6077 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d6ad82 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e83928 View commit details
    Browse the repository at this point in the history
  8. Merge changes from cd branch

    atsag committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    9dbffad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3b8920e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    adecbd4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    916c1e0 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'main' into r1

    atsag committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    8023dde View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d8f0e08 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1241387 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2a3bef2 View commit details
    Browse the repository at this point in the history
  16. Merge remote-tracking branch 'origin/r1' into r1

    # Conflicts:
    #	resource-discovery/src/main/java/eu/nebulous/resource/discovery/common/BrokerUtil.java
    atsag committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    861354f View commit details
    Browse the repository at this point in the history