|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart 1`] = `"{\\"nodejsapp\\":{\\"xmlns\\":\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\",\\"name\\":\\"NodeName\\",\\"startscript\\":\\"Artefact1\\",\\"profile\\":\\"nodejsapps/NodeName.profile\\",\\"lerunopts\\":\\"DFHSJNRO\\"}}"`; |
| 4 | + |
| 5 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart 2`] = ` |
| 6 | +"<nodejsapp xmlns=\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\" name=\\"NodeName\\" startscript=\\"Artefact1\\" profile=\\"nodejsapps/NodeName.profile\\" lerunopts=\\"DFHSJNRO\\"></nodejsapp> |
| 7 | +" |
| 8 | +`; |
| 9 | +
|
| 10 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart 3`] = ` |
| 11 | +"# This is a profile for a CICS NODEJSAPP resource |
| 12 | +
|
| 13 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 14 | +# this file must be created before this Bundle can be installed in CICS |
| 15 | +INCLUDE=&USSCONFIG;/nodejsapps/NodeName.included.profile |
| 16 | +
|
| 17 | +# Set the PORT envionment variable, application code should reference this |
| 18 | +# value in preference to a hard-coded port number, the value references an |
| 19 | +# environment variable that will be configured within the provisioned configuration file. |
| 20 | +PORT=1000 |
| 21 | +" |
| 22 | +`; |
| 23 | +
|
| 24 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart 4`] = ` |
| 25 | +"# This is a profile for a CICS NODEJSAPP resource |
| 26 | +
|
| 27 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 28 | +# this file must be created before this Bundle can be installed in CICS |
| 29 | +INCLUDE=&USSCONFIG;/nodejsapps/NodeName.included.profile |
| 30 | +
|
| 31 | +# Set the PORT envionment variable, application code should reference this |
| 32 | +# value in preference to a hard-coded port number, the value references an |
| 33 | +# environment variable that will be configured within the provisioned configuration file. |
| 34 | +PORT=1000 |
| 35 | +" |
| 36 | +`; |
| 37 | +
|
| 38 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with bad chars 1`] = `"{\\"nodejsapp\\":{\\"xmlns\\":\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\",\\"name\\":\\"NodeNameXisXinvalidXXX\\",\\"startscript\\":\\"Artefact1\\",\\"profile\\":\\"nodejsapps/NodeNameXisXinvalidXXX.profile\\",\\"lerunopts\\":\\"DFHSJNRO\\"}}"`; |
| 39 | +
|
| 40 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with bad chars 2`] = ` |
| 41 | +"<nodejsapp xmlns=\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\" name=\\"NodeNameXisXinvalidXXX\\" startscript=\\"Artefact1\\" profile=\\"nodejsapps/NodeNameXisXinvalidXXX.profile\\" lerunopts=\\"DFHSJNRO\\"></nodejsapp> |
| 42 | +" |
| 43 | +`; |
| 44 | +
|
| 45 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with bad chars 3`] = ` |
| 46 | +"# This is a profile for a CICS NODEJSAPP resource |
| 47 | +
|
| 48 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 49 | +# this file must be created before this Bundle can be installed in CICS |
| 50 | +INCLUDE=&USSCONFIG;/nodejsapps/NodeNameXisXinvalidXXX.included.profile |
| 51 | +
|
| 52 | +# Set the PORT envionment variable, application code should reference this |
| 53 | +# value in preference to a hard-coded port number, the value references an |
| 54 | +# environment variable that will be configured within the provisioned configuration file. |
| 55 | +PORT=1000 |
| 56 | +" |
| 57 | +`; |
| 58 | +
|
| 59 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with bad chars 4`] = ` |
| 60 | +"# This is a profile for a CICS NODEJSAPP resource |
| 61 | +
|
| 62 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 63 | +# this file must be created before this Bundle can be installed in CICS |
| 64 | +INCLUDE=&USSCONFIG;/nodejsapps/NodeNameXisXinvalidXXX.included.profile |
| 65 | +
|
| 66 | +# Set the PORT envionment variable, application code should reference this |
| 67 | +# value in preference to a hard-coded port number, the value references an |
| 68 | +# environment variable that will be configured within the provisioned configuration file. |
| 69 | +PORT=1000 |
| 70 | +" |
| 71 | +`; |
| 72 | +
|
| 73 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with long name 1`] = `"{\\"nodejsapp\\":{\\"xmlns\\":\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\",\\"name\\":\\"12345678901234567890123456789012\\",\\"startscript\\":\\"Artefact1\\",\\"profile\\":\\"nodejsapps/12345678901234567890123456789012.profile\\",\\"lerunopts\\":\\"DFHSJNRO\\"}}"`; |
| 74 | +
|
| 75 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with long name 2`] = ` |
| 76 | +"<nodejsapp xmlns=\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\" name=\\"12345678901234567890123456789012\\" startscript=\\"Artefact1\\" profile=\\"nodejsapps/12345678901234567890123456789012.profile\\" lerunopts=\\"DFHSJNRO\\"></nodejsapp> |
| 77 | +" |
| 78 | +`; |
| 79 | +
|
| 80 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with long name 3`] = ` |
| 81 | +"# This is a profile for a CICS NODEJSAPP resource |
| 82 | +
|
| 83 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 84 | +# this file must be created before this Bundle can be installed in CICS |
| 85 | +INCLUDE=&USSCONFIG;/nodejsapps/12345678901234567890123456789012.included.profile |
| 86 | +
|
| 87 | +# Set the PORT envionment variable, application code should reference this |
| 88 | +# value in preference to a hard-coded port number, the value references an |
| 89 | +# environment variable that will be configured within the provisioned configuration file. |
| 90 | +PORT=1000 |
| 91 | +" |
| 92 | +`; |
| 93 | +
|
| 94 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with long name 4`] = ` |
| 95 | +"# This is a profile for a CICS NODEJSAPP resource |
| 96 | +
|
| 97 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 98 | +# this file must be created before this Bundle can be installed in CICS |
| 99 | +INCLUDE=&USSCONFIG;/nodejsapps/12345678901234567890123456789012.included.profile |
| 100 | +
|
| 101 | +# Set the PORT envionment variable, application code should reference this |
| 102 | +# value in preference to a hard-coded port number, the value references an |
| 103 | +# environment variable that will be configured within the provisioned configuration file. |
| 104 | +PORT=1000 |
| 105 | +" |
| 106 | +`; |
| 107 | +
|
| 108 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with missing port number 1`] = `"{\\"nodejsapp\\":{\\"xmlns\\":\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\",\\"name\\":\\"NodeName\\",\\"startscript\\":\\"Artefact1\\",\\"profile\\":\\"nodejsapps/NodeName.profile\\",\\"lerunopts\\":\\"DFHSJNRO\\"}}"`; |
| 109 | +
|
| 110 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with missing port number 2`] = ` |
| 111 | +"<nodejsapp xmlns=\\"http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP\\" name=\\"NodeName\\" startscript=\\"Artefact1\\" profile=\\"nodejsapps/NodeName.profile\\" lerunopts=\\"DFHSJNRO\\"></nodejsapp> |
| 112 | +" |
| 113 | +`; |
| 114 | +
|
| 115 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with missing port number 3`] = ` |
| 116 | +"# This is a profile for a CICS NODEJSAPP resource |
| 117 | +
|
| 118 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 119 | +# this file must be created before this Bundle can be installed in CICS |
| 120 | +INCLUDE=&USSCONFIG;/nodejsapps/NodeName.included.profile |
| 121 | +
|
| 122 | +# Set the PORT envionment variable, application code should reference this |
| 123 | +# value in preference to a hard-coded port number, the value references an |
| 124 | +# environment variable that will be configured within the provisioned configuration file. |
| 125 | +PORT=&HTTP_PORT; |
| 126 | +" |
| 127 | +`; |
| 128 | +
|
| 129 | +exports[`NodejsappBundlePart01 Create a NodejsappBundlePart with missing port number 4`] = ` |
| 130 | +"# This is a profile for a CICS NODEJSAPP resource |
| 131 | +
|
| 132 | +# Import the provisioned configuration file for this NODEJSAPP, |
| 133 | +# this file must be created before this Bundle can be installed in CICS |
| 134 | +INCLUDE=&USSCONFIG;/nodejsapps/NodeName.included.profile |
| 135 | +
|
| 136 | +# Set the PORT envionment variable, application code should reference this |
| 137 | +# value in preference to a hard-coded port number, the value references an |
| 138 | +# environment variable that will be configured within the provisioned configuration file. |
| 139 | +PORT=&HTTP_PORT; |
| 140 | +" |
| 141 | +`; |
0 commit comments