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

Reporter build tracking #72

Merged
merged 5 commits into from
Oct 17, 2023
Merged

Reporter build tracking #72

merged 5 commits into from
Oct 17, 2023

Conversation

ryanrdoherty
Copy link
Member

@ryanrdoherty ryanrdoherty commented Oct 17, 2023

Enables "standardized" build tracking on reporters. Thus you can now have model XML like:

          <reporter name="bed" displayName="(SRT-NEW!) BED - coordinates of sequences, configurable" scopes="results" newBuild="66"
                    implementation="org.apidb.apicommon.model.report.bed.BedGeneReporter" />

          <reporter name="sequence" displayName="(SRT-NEW!) FASTA - sequence retrieval, configurable" scopes="results" newBuild="66"
                    implementation="org.apidb.apicommon.model.report.sequence.SequenceReporter" />

which produces reporter JSON (e.g. at https://rdoherty.plasmodb.org/plasmo.rdoherty/service/record-types/transcript) like:

    {
      "isInReport":true,
      "displayName":"(SRT-NEW!) BED - coordinates of sequences, configurable",
      "name":"bed",
      "description":"(SRT-NEW!) BED - coordinates of sequences, configurable",
      "scopes":[
        "results"
      ],
      "type":"bed",
      "newBuild":"66"
    },
    {
      "isInReport":true,
      "displayName":"(SRT-NEW!) FASTA - sequence retrieval, configurable",
      "name":"sequence",
      "description":"(SRT-NEW!) FASTA - sequence retrieval, configurable",
      "scopes":[
        "results"
      ],
      "type":"sequence",
      "newBuild":"66"
    },

@ryanrdoherty ryanrdoherty added the enhancement New feature or request label Oct 17, 2023
@ryanrdoherty ryanrdoherty self-assigned this Oct 17, 2023
Copy link
Member

@aurreco-uga aurreco-uga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could u also leave description empty if there is no description (currently is being set as displayName).

@ryanrdoherty ryanrdoherty merged commit 980e656 into master Oct 17, 2023
1 check passed
@ryanrdoherty ryanrdoherty deleted the reporter-build-tracking branch October 17, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants