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

Add point mapping by name #365

Merged
merged 8 commits into from
Jul 16, 2021
Merged

Conversation

enjuthulung
Copy link
Collaborator

@enjuthulung enjuthulung commented Jun 2, 2021

Resolves: #352
Resolves: #377

Summary

  • Migration: modified mappings_mp_gbp table and transfer data to modified table.

  • Modified endpoints

    • PATCH api/mappings/mp_gbp/uuid/<uuid>
       -d
       {
          "point_uuid":<point_uuid>,
          "mapped_point_uuid":<mapped_point_uuid>,
          "type":"<type>"
       }
    
  • Added new endpoints.

    • POST api/mapping/mp_gbp/uuid
         -d
         {
            "point_uuid":<point_uuid>,
            "mapped_point_uuid":<mapped_point_uuid>,
            "type":"<type>"
         }
      
    • POST api/mapping/mp_gbp/name
        -d
        {
           "point_name":<network_name:device_name:point_name>,
           "mapped_point_name":<network_name:device_name:point_name>,
           "type":"GENERIC"
        }
      
    • GET api/mappings/mp_gbp/update_mapping_state
    • GET api/sync/mp --> sync all mapped points

@enjuthulung enjuthulung requested a review from RaiBnod June 2, 2021 09:54
@enjuthulung enjuthulung force-pushed the improvement/point-mapping-by-name branch 2 times, most recently from 271b165 to 705690e Compare June 22, 2021 09:04
@enjuthulung enjuthulung force-pushed the improvement/point-mapping-by-name branch from 705690e to 3849560 Compare July 6, 2021 03:43
@enjuthulung enjuthulung force-pushed the improvement/point-mapping-by-name branch from 3849560 to 2e8dcec Compare July 6, 2021 05:02
@enjuthulung enjuthulung force-pushed the improvement/point-mapping-by-name branch from bcac18a to f11ffc8 Compare July 6, 2021 06:41
@RaiBnod RaiBnod force-pushed the improvement/point-mapping-by-name branch from 3eb017a to c8a3c50 Compare July 6, 2021 09:58
@RaiBnod RaiBnod merged commit 89ec4da into master Jul 16, 2021
@RaiBnod RaiBnod deleted the improvement/point-mapping-by-name branch July 16, 2021 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add in point mapping priority array Add point mapping by name
2 participants