This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t.Run("import existing template with WIT field type changes", func(t *testing.T) { | |
// Create fresh template | |
spaceTemplateID := uuid.NewV4() | |
witID := uuid.NewV4() | |
wiltID := uuid.NewV4() | |
witgID := uuid.NewV4() | |
oldTempl := getValidTestTemplateParsed(t, spaceTemplateID, witID, wiltID, witgID) | |
oldTempl.Template.Name = "old name for space template " + spaceTemplateID.String() | |
_, err := s.importerRepo.Import(s.Ctx, oldTempl) | |
require.NoError(t, err) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
space: "Project OSIO" | |
d69a3d70-3233-46bc-bb53-08d9155b40a5 | |
owner | |
ae68a343-c866-430c-b6ce-a36f0b38d8e5 | |
collaborator | |
ae68a343-c866-430c-b6ce-a36f0b38d8e5 | |
iteration : Sprint 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/fabric8-services/fabric8-wit/criteria" | |
"github.com/fabric8-services/fabric8-wit/workitem" | |
) | |
type Node struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"strings" | |
) | |
type Node struct { | |
Name string | |
Value *string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
q4: | |
title: "Question 4 (Dev Tools)" | |
steps: | |
- Hit the URL | |
- This page increments the counter whenever you click on first button. | |
- Same should happen when you click on second button, but it is not working. | |
- Find out why and tell us what steps your followed. | |
q5: | |
title: "Question 5 (Dev Tools)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1.stack C style | |
// 2.stack JS style | |
// 3.Queue C style | |
// 4.Queue JS style | |
console.log('\n <==================>') | |
console.log('Example of C style Stack') | |
// Build stack('C' style) using linked list. | |
// we do not use pointer specific syntax because objects are by reference. | |
var Stack = function(){ | |
this.node = function(data){ |