mock nameservice records #44

Closed
i-norden wants to merge 1 commits from example_records into main
Member

Is this helpful @0xmuralik?

Not sure if this exactly matches the format expected, but these example attributes should be easily transcribed into that format.

Is this helpful @0xmuralik? Not sure if this exactly matches the format expected, but these example attributes should be easily transcribed into that format.
0xmuralik commented 2022-11-02 05:06:45 +00:00 (Migrated from github.com)

AFAIK, the payload should just contain the attributes and the reamaing feilds in a record like create time, deleted, owners.....will be added at the keeper level.

AFAIK, the payload should just contain the attributes and the reamaing feilds in a record like create time, deleted, owners.....will be added at the keeper level.
0xmuralik (Migrated from github.com) reviewed 2022-11-02 05:44:20 +00:00
@ -0,0 +1,12 @@
record:
0xmuralik (Migrated from github.com) commented 2022-11-02 05:44:19 +00:00
record:
    type: ServiceProviderRecord
    bond_id: madeUpBondID
    laconic_id: madeUpLaconicID
    x500:
      - common_name: cerc-io
      - organization_unit: xyz
      - organization_name: abc
      - state_name: california
      - country: US
```suggestion record: type: ServiceProviderRecord bond_id: madeUpBondID laconic_id: madeUpLaconicID x500: - common_name: cerc-io - organization_unit: xyz - organization_name: abc - state_name: california - country: US ```
0xmuralik (Migrated from github.com) reviewed 2022-11-02 05:46:20 +00:00
@ -0,0 +1,16 @@
record:
0xmuralik (Migrated from github.com) commented 2022-11-02 05:46:19 +00:00
record:
    type: WebsiteRegistrationRecord
    url: https://cerc.io
    repo_registration_record_cid:
        /: QmSnuWmxptJZdLJpKRarxBMS2Ju2oANVrgbr2xWbie9b2D
    build_artifact_cid:
        /: QmP8jTG1m9GSDJLCbeWhVSVgEzCPPwXRdCRuJtQ5Tz9Kc9
    tls_cerc_cid:
        /: QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
```suggestion record: type: WebsiteRegistrationRecord url: https://cerc.io repo_registration_record_cid: /: QmSnuWmxptJZdLJpKRarxBMS2Ju2oANVrgbr2xWbie9b2D build_artifact_cid: /: QmP8jTG1m9GSDJLCbeWhVSVgEzCPPwXRdCRuJtQ5Tz9Kc9 tls_cerc_cid: /: QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR ```

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/laconicd#44
No description provided.