-
Type:
Bug
-
Status:
New
-
Priority:
Major
-
Resolution:
Unresolved
-
Affects Version/s:
CSD2
-
-
-
-
Proposal:
Hide
The syntax of the dependsOn RelationshipType can be changed so that the target end of the relation references a NodeType instead of a CapabilityType. This syntax is already supported in the current version of TOSCA. It is just a matter of writing the normative definition of dependsOn in this way. The result is that any NodeType can dependOn any other without having to change the type definition of the target NodeType.
Show
The syntax of the dependsOn RelationshipType can be changed so that the target end of the relation references a NodeType instead of a CapabilityType. This syntax is already supported in the current version of TOSCA. It is just a matter of writing the normative definition of dependsOn in this way. The result is that any NodeType can dependOn any other without having to change the type definition of the target NodeType.
Current examples show the dependsOn RelationionshipType defined with a RequirementType on the source end and and CapabilityType on the remote end. This syntax forces someone wanting to use a dependsOn relation in a Service Template to have to a add a capability to the target NodeType if it does not yet have one, resulting in a change in the target's NodeType definition. In addition to being convenient and unnecessary, the "owner" of the target type may not expect users to be changing his/her type when they use it in Service Templates. From a type evolution perspective, this causes a change in the target NodeType, making it a different version than it original definition, which is not the intention (the user is not trying to change any of the semantics of the target NodeType).
{"report":{"apdex":1,"isInitial":true,"journeyId":"042b64b7-37f2-4407-8ad0-7f2b29870017","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":523.0999999046326,"redirectCount":0,"resourceLoadedEnd":665.5999999046326,"resourceLoadedStart":115.19999980926514,"resourceTiming":[{"duration":73.7000002861023,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":115.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":115.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":188.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":73.59999990463257,"initiatorType":"link","name":"https://issues.oasis-open.org/s/7d2823769c2e7b66e860863fe879b7f8-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":115.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":115.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":189.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":73.59999990463257,"initiatorType":"link","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":115.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":115.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":189.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":73.5,"initiatorType":"link","name":"https://issues.oasis-open.org/s/645acc233eb869f48a571293b8358a7d-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":115.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":115.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":189.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":73.40000009536743,"initiatorType":"link","name":"https://issues.oasis-open.org/s/a0dd6509771c1de0667aae5429c04cda-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":116,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":116,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":189.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":82.90000009536743,"initiatorType":"script","name":"https://issues.oasis-open.org/s/e5479157e7a0c08b005e6522f2f04104-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":116.19999980926514,"connectEnd":116.19999980926514,"connectStart":116.19999980926514,"domainLookupEnd":116.19999980926514,"domainLookupStart":116.19999980926514,"fetchStart":116.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":116.19999980926514,"responseEnd":199.09999990463257,"responseStart":199.09999990463257,"secureConnectionStart":116.19999980926514},{"duration":113.09999990463257,"initiatorType":"script","name":"https://issues.oasis-open.org/s/83514d5d4e8543747b02042eafcdc99c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":116.40000009536743,"connectEnd":116.40000009536743,"connectStart":116.40000009536743,"domainLookupEnd":116.40000009536743,"domainLookupStart":116.40000009536743,"fetchStart":116.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":116.40000009536743,"responseEnd":229.5,"responseStart":229.5,"secureConnectionStart":116.40000009536743},{"duration":115.30000019073486,"initiatorType":"script","name":"https://issues.oasis-open.org/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":116.5,"connectEnd":116.5,"connectStart":116.5,"domainLookupEnd":116.5,"domainLookupStart":116.5,"fetchStart":116.5,"redirectEnd":0,"redirectStart":0,"requestStart":116.5,"responseEnd":231.80000019073486,"responseStart":231.80000019073486,"secureConnectionStart":116.5},{"duration":117,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":116.69999980926514,"connectEnd":116.69999980926514,"connectStart":116.69999980926514,"domainLookupEnd":116.69999980926514,"domainLookupStart":116.69999980926514,"fetchStart":116.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":116.69999980926514,"responseEnd":233.69999980926514,"responseStart":233.69999980926514,"secureConnectionStart":116.69999980926514},{"duration":118.59999990463257,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":116.90000009536743,"connectEnd":116.90000009536743,"connectStart":116.90000009536743,"domainLookupEnd":116.90000009536743,"domainLookupStart":116.90000009536743,"fetchStart":116.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":116.90000009536743,"responseEnd":235.5,"responseStart":235.5,"secureConnectionStart":116.90000009536743},{"duration":120.30000019073486,"initiatorType":"script","name":"https://issues.oasis-open.org/s/cda37faab827dbdf305de8efe8282062-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":117.09999990463257,"connectEnd":117.09999990463257,"connectStart":117.09999990463257,"domainLookupEnd":117.09999990463257,"domainLookupStart":117.09999990463257,"fetchStart":117.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":117.09999990463257,"responseEnd":237.40000009536743,"responseStart":237.40000009536743,"secureConnectionStart":117.09999990463257},{"duration":223,"initiatorType":"link","name":"https://issues.oasis-open.org/s/07245784f53abc49bad9d9d4d36c577a-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/cadc4f20cc5c138dee060d42cf85f220/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":117.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":117.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":340.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":120.90000009536743,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":117.5,"connectEnd":117.5,"connectStart":117.5,"domainLookupEnd":117.5,"domainLookupStart":117.5,"fetchStart":117.5,"redirectEnd":0,"redirectStart":0,"requestStart":117.5,"responseEnd":238.40000009536743,"responseStart":238.40000009536743,"secureConnectionStart":117.5},{"duration":206,"initiatorType":"link","name":"https://issues.oasis-open.org/s/f77fd89aa211a76b20e9b0e63564383c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":134.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":134.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":340.5,"responseStart":0,"secureConnectionStart":0},{"duration":105.7999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/41525c48ddceeb9b11e54085268fc285-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":134.80000019073486,"connectEnd":134.80000019073486,"connectStart":134.80000019073486,"domainLookupEnd":134.80000019073486,"domainLookupStart":134.80000019073486,"fetchStart":134.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":134.80000019073486,"responseEnd":240.59999990463257,"responseStart":240.59999990463257,"secureConnectionStart":134.80000019073486}],"threshold":1000,"fetchStart":0,"domainLookupStart":3,"domainLookupEnd":3,"connectStart":3,"connectEnd":53,"secureConnectionStart":28,"requestStart":53,"responseStart":100,"responseEnd":156,"domLoading":112,"domInteractive":683,"domContentLoadedEventStart":683,"domContentLoadedEventEnd":726,"domComplete":1014,"loadEventStart":1014,"loadEventEnd":1017,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"35bac9d91f4fc5","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":78,"dbReadsTimeInMs":10,"dbConnsTimeInMs":13,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}
It seems like it should allow either Node Type of capability type.
I have been looking at similar things and have come across situations where I'd like to intermix Requirement \ Capability Type with Node Types in the source and target. Why does the spec say that you can't do that?