Skip to content

Replace server_id with human_readable_id, make it creatable by clients #239

@lasselindqvist

Description

@lasselindqvist

This is opened due to #201

I feel like the addition requires two changes:

  1. Rename the server_id to human_readable_id, since server_id isn't really representing the meaning of the field too well
  2. Allow the field to be generated by clients.

It seems that the intention currently is to let the BCF server web UI users to generate these IDs, since the examples do show some context in the example IDs that requires human input. But in my opinion the web UIs should be treated as clients to the server as well.

It would be useful if software such as Solibri could generate the IDs already upon topic creation, since Solibri does have the context for the topics available. It knows if the issue relates to a clash and can name it CLASH-1234. The problem here might be that the client software has a hard time knowing which number is available for given context word. Client could have retry logic increasing the number if the previous is taken, or another possibility is that the BCF API does not allow the clients to generate the ID, but does allow them to pass on the context word for the server and the server then assigns a free number to follow it. But this approach somewhat assumes that all users want to use format WORD-NUMBER.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions