icgc-dcc / dcc-dev Goto Github PK
View Code? Open in Web Editor NEWData portal development server
License: Other
Data portal development server
License: Other
Notes for deployed portals should be displayed as normal text, until an "edit" button is clicked, which would then make it editable
Either turning it into an in-place text-area (pro: more fluid, least interrupting interaction, con: not a lot of space), or pop a modal with a larger editing area.
Which one we use should depend on how long the notes tend to be
Intent - to discourage unnecessarily creating duplicate portals, without completely disabling the ability to create multiple portals off of the same candidate (for comparison purposes)
Candidates with existing deployed portals should have their "Create" button de-ephasized
A list of portals that were created from that candidate (there should usually only be 1, at most 2) should be shown in the Candidate's card, with a button that would trigger a manual redeploy with the newest build for that candidate
The "Create new portal" interaction would be placed after the "redeploy existing portal" interactions, in a more diminutive state
deploy to dev
ready for review
Allow Portal creation requests to come from PRs that don't yet have a complete build from Jenkins.
Auto deploy once Jenkins finishes build
Can take a while to load.
This simplifies the workflow for creating portals
No longer have to go to the dev server and refresh until the PR shows up in available candidates
Jira's endpoint:
https://jira.oicr.on.ca/rest/api/2/issue/${issueKey}/comment
Requires authentication though, not sure how to bypass
Would be great to be able to show jira comments under the portal in the portal page
2016-08-16 13:57:19,437 [http-nio-9000-exec-7] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with p
ath [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException: null
at org.icgc.dcc.dev.server.jenkins.JenkinsService.isSuccessfulBuild(JenkinsService.java:110)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at org.icgc.dcc.dev.server.jenkins.JenkinsService.getSuccessfulBuild(JenkinsService.java:96)
at org.icgc.dcc.dev.server.portal.candidate.PortalCandidateResolver.createCandidate(PortalCandidateResolver.java:82)
at org.icgc.dcc.dev.server.portal.candidate.PortalCandidateResolver.lambda$resolve$0(PortalCandidateResolver.java:78)
at java.util.Optional.map(Optional.java:215)
at org.icgc.dcc.dev.server.portal.candidate.PortalCandidateResolver.resolve(PortalCandidateResolver.java:78)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.icgc.dcc.dev.server.portal.candidate.PortalCandidateResolver.resolve(PortalCandidateResolver.java:68)
at org.icgc.dcc.dev.server.portal.PortalService.getCandidates(PortalService.java:90)
at org.icgc.dcc.dev.server.portal.PortalController.getCandidates(PortalController.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)```
Deploy the next successful build on that branch
options:
To be derived from pull request title, with additional collision protection (Since PRs can have duplicate titles)
This is the main identifier of the instance and is currently not shown.
Collapse "candidates" to only contain "title", "owner image", and the "create" button
Hide the other controls behind an "expand" interaction
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.