@manyos/smileconnect-api 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/.github/workflows/nodejs.yml +26 -0
  2. package/CHANGELOG.md +75 -0
  3. package/Dockerfile +21 -0
  4. package/README.md +1 -0
  5. package/app.js +316 -0
  6. package/conf/clients.json +2491 -0
  7. package/conf/mapping.json +1048 -0
  8. package/conf/scripts/p1.js +11 -0
  9. package/conf/scripts/p2.js +1 -0
  10. package/conf/scripts/p3.js +1 -0
  11. package/conf/scripts/p4.js +2 -0
  12. package/conf/scripts/script1.js +2 -0
  13. package/conf/scripts/script2.js +2 -0
  14. package/conf/scripts/script3.js +2 -0
  15. package/controller/cmdbobjectController.js +291 -0
  16. package/controller/eventLogController.js +78 -0
  17. package/controller/orgdataController.js +440 -0
  18. package/controller/relatedObjectsController.js +194 -0
  19. package/controller/scriptController.js +213 -0
  20. package/controller/taskController.js +368 -0
  21. package/controller/templateController.js +97 -0
  22. package/controller/ticketCIRelationController.js +522 -0
  23. package/controller/ticketController.js +329 -0
  24. package/controller/ticketWorkLogController.js +195 -0
  25. package/docs/.gitattributes +48 -0
  26. package/docs/404.html +13 -0
  27. package/docs/CNAME +1 -0
  28. package/docs/Gemfile +7 -0
  29. package/docs/Gemfile.lock +249 -0
  30. package/docs/_config.yml +257 -0
  31. package/docs/_data/SocialNetworks.yml +92 -0
  32. package/docs/_data/ui-text.yml +494 -0
  33. package/docs/_includes/disqus.html +17 -0
  34. package/docs/_includes/ext-css.html +7 -0
  35. package/docs/_includes/ext-js.html +7 -0
  36. package/docs/_includes/fb-comment.html +14 -0
  37. package/docs/_includes/footer-minimal.html +16 -0
  38. package/docs/_includes/footer-scripts.html +32 -0
  39. package/docs/_includes/footer.html +51 -0
  40. package/docs/_includes/google_analytics.html +14 -0
  41. package/docs/_includes/gtag.html +11 -0
  42. package/docs/_includes/gtm_body.html +6 -0
  43. package/docs/_includes/gtm_head.html +9 -0
  44. package/docs/_includes/head.html +131 -0
  45. package/docs/_includes/header.html +76 -0
  46. package/docs/_includes/just_comments.html +4 -0
  47. package/docs/_includes/matomo.html +17 -0
  48. package/docs/_includes/nav.html +57 -0
  49. package/docs/_includes/social-share.html +42 -0
  50. package/docs/_includes/staticman-comment.html +22 -0
  51. package/docs/_includes/staticman-comments.html +81 -0
  52. package/docs/_layouts/base.html +35 -0
  53. package/docs/_layouts/default.html +9 -0
  54. package/docs/_layouts/minimal.html +26 -0
  55. package/docs/_layouts/page.html +26 -0
  56. package/docs/_layouts/post.html +82 -0
  57. package/docs/_posts/2015-02-28-test-markdown.md +77 -0
  58. package/docs/aboutme.md +18 -0
  59. package/docs/css/bootstrap-social.css +147 -0
  60. package/docs/css/bootstrap-theme.css +476 -0
  61. package/docs/css/bootstrap-theme.css.map +1 -0
  62. package/docs/css/bootstrap-theme.min.css +5 -0
  63. package/docs/css/bootstrap.css +6566 -0
  64. package/docs/css/bootstrap.css.map +1 -0
  65. package/docs/css/bootstrap.min.css +5 -0
  66. package/docs/css/main-minimal.css +13 -0
  67. package/docs/css/main.css +788 -0
  68. package/docs/css/normalize.css +427 -0
  69. package/docs/css/pygment_highlights.css +61 -0
  70. package/docs/css/staticman.css +180 -0
  71. package/docs/eventlog/events.md +65 -0
  72. package/docs/feed.xml +24 -0
  73. package/docs/general/architecture.md +10 -0
  74. package/docs/general/config.md +192 -0
  75. package/docs/general/field-management.md +119 -0
  76. package/docs/general/release-notes.md +9 -0
  77. package/docs/getting-started.md +19 -0
  78. package/docs/howto/cmdbobjects.md +339 -0
  79. package/docs/howto/incident-worklogs.md +186 -0
  80. package/docs/howto/incidents.md +244 -0
  81. package/docs/howto/sample-config.md +518 -0
  82. package/docs/howto/token.md +71 -0
  83. package/docs/howto/worklog-attachment.md +113 -0
  84. package/docs/img/404-southpark.jpg +0 -0
  85. package/docs/img/architecture.jpeg +0 -0
  86. package/docs/img/attachment-upload.png +0 -0
  87. package/docs/img/avatar-icon.png +0 -0
  88. package/docs/img/bgimage.png +0 -0
  89. package/docs/img/gb-isapi.jpg +0 -0
  90. package/docs/img/install-steps.gif +0 -0
  91. package/docs/img/workflow.png +0 -0
  92. package/docs/index.md +41 -0
  93. package/docs/installation.md +123 -0
  94. package/docs/js/bootstrap.js +2306 -0
  95. package/docs/js/bootstrap.min.js +7 -0
  96. package/docs/js/jquery-1.11.2.min.js +4 -0
  97. package/docs/js/main.js +140 -0
  98. package/docs/js/staticman.js +54 -0
  99. package/docs/openapi.json +15097 -0
  100. package/docs/postinstall.md +169 -0
  101. package/docs/preinstall.md +19 -0
  102. package/docs/spec/index.html +24 -0
  103. package/docs/staticman.yml +110 -0
  104. package/docs/tags.html +34 -0
  105. package/docs/workflow.md +127 -0
  106. package/nodemon.json +3 -0
  107. package/package.json +46 -0
  108. package/routes/appConfigRoutes.js +352 -0
  109. package/routes/ciRelationRoutes.js +38 -0
  110. package/routes/cmdbObjectRoutes.js +154 -0
  111. package/routes/organisationRoutes.js +121 -0
  112. package/routes/peopleRelationRoutes.js +38 -0
  113. package/routes/personRoutes.js +131 -0
  114. package/routes/supportgroupRoutes.js +122 -0
  115. package/routes/taskRoutes.js +306 -0
  116. package/routes/templateRoutes.js +67 -0
  117. package/routes/ticketRoutes.js +181 -0
  118. package/routes/ticketWorkLogRoutes.js +185 -0
  119. package/screwdriver.yaml +52 -0
  120. package/test/appTest.js +3 -0
  121. package/test/changeTest.js +541 -0
  122. package/test/cmdbobjectTest.js +167 -0
  123. package/test/files/logo.png +0 -0
  124. package/test/incidentTest.js +539 -0
  125. package/test/orgdataTest.js +156 -0
  126. package/test/problemTest.js +512 -0
  127. package/test/templateTest.js +80 -0
  128. package/test/testUtils.js +21 -0
  129. package/test/workorderTest.js +544 -0
  130. package/util/arquery.js +416 -0
  131. package/util/auth.js +37 -0
  132. package/util/cache.service.js +52 -0
  133. package/util/config.js +361 -0
  134. package/util/constants.js +73 -0
  135. package/util/mappingUtil.js +96 -0
  136. package/util/paramHelper.js +43 -0
  137. package/util/relationUtil.js +63 -0
  138. package/util/responsehandler.js +92 -0
  139. package/util/schemas/clientConfigSchema.js +180 -0
  140. package/util/schemas/fieldMappingSchema.js +211 -0
  141. package/util/searchUtil.js +148 -0
@@ -0,0 +1,169 @@
1
+ # Post installation configuration
2
+
3
+ ## Configure SmartIT
4
+
5
+ ### Display Vendor Fields
6
+ It is good practice to display the vendor fields
7
+
8
+ Vendor
9
+ Vendor Ticket Number
10
+
11
+ for the modules you are using SMILEconnect.
12
+
13
+ To display them follow those steps:
14
+
15
+ 1. Login to SmartIT as an Administrator
16
+ 2. Open Screen Configuration page
17
+ 3. Open the module and add the fields
18
+
19
+ For more information about this, check BMC documentation at https://docs.bmc.com
20
+
21
+ ### Add Actions
22
+
23
+ If you want to be able to send "de-registration" events to your partner systems, you need to create a new
24
+ Provider Action for each module.
25
+
26
+ 1. Login as Administrator to Midtier
27
+ 2. Open Form "SMT:SmartIT_Provider Action Template Configuration"
28
+ 3. Click new
29
+ 4. Set name to SMILEconnect_<Module>_Unregister for example: SMILEconnect_INC_Unregister
30
+ 5. Select your Source Form (HPD:Help Desk, CHG:Infrastructure Change, WOI:WorkOrder, TMS:Task)
31
+ 6. Select the Data Source for your Source Form: (incident, change, workorder, task)
32
+ 7. Set Status to Online
33
+ 8. Click "New Mapping"
34
+ 9. Set Mapping Type to "Input"
35
+ 10. Select z1D Action as Source Field
36
+ 11. Click Save
37
+ 12. Click "New Mapping"
38
+ 13. Set Mapping Type to "Input"
39
+ 14. Select the Ticket Number (Incident Number, Infrastructure Change ID, Work Order ID) as Source Field
40
+ 15. Click Save
41
+
42
+ 16. Login to Smart IT as Administrator
43
+ 17. Open Screen Configuration page
44
+ 18. Click Add / Remove Actions for the module
45
+ 19. Click Add Action
46
+ 20. Set Template Name to the previous created name SMILEconnect_<Module>_Unregister
47
+ 21. For z1D Action set "Default Value" "UnregisterSMILEconnect"
48
+ 22. For Ticket Number set "From Ticket" "id"
49
+
50
+
51
+ Optional:
52
+
53
+ Associate with Vendor Fields
54
+ Open Field Configuration select Associate Action, and select the action you created before.
55
+
56
+
57
+ For more information about provider actions visit https://docs.bmc.com
58
+
59
+
60
+
61
+
62
+
63
+ ##Configure SMILEconnect
64
+
65
+ To Configure SMILEconnect we provide SMILEconnect GUI.
66
+ This GUI will use the SMILEconnect REST API to configure clients and mappings.
67
+
68
+ It will provide the following functions:
69
+
70
+ - copy a client
71
+ - remove a client
72
+ - configure mapping (add mapping, edit mapping and remove mapping)
73
+ - configure a client (add fields & constants, edit fields & constants, remove fields & constants)
74
+ - export settings
75
+ - import settings
76
+
77
+
78
+ ### Configure mapping
79
+
80
+ To Configure Field mapping you need to open "Field Mapping" from the Navigation Menu on the left hand side.
81
+
82
+ On the top menu you can choose for which module you want to configure the mapping.
83
+
84
+
85
+ #### Configure mapping for ITSM modules
86
+
87
+ If you select the modules Incident, Change, Problem , WorkOrder, Task a sub top menu will open, and you can select the action for which you want to configure the mapping.
88
+
89
+ For example: Incident, New Incident, Worklog
90
+
91
+ 1. To add a new mapping click the "+" button in the right upper corner.
92
+ 2. Speficy the Remedy Field Name as "Form Name" and the Mapping Name of your choice as "API Name"
93
+ 3. Select ok to save the mapping.
94
+
95
+ #### Configure mapping for CMDB classes
96
+
97
+ If you need to specify a mapping for any class other than BaseElement you can use the "Add Class +" and add the Class of your choice.
98
+ You just need to Enter the Name without prefix. For example "ComputerSystem"
99
+ Then specify the fields the same way as above.
100
+
101
+ To remove a class, just hide the trash icon next to the class name.
102
+
103
+
104
+ ### Configure clients
105
+
106
+ You find a list of clients the navigation menu on the left hand side.
107
+ you can copy a client to a new one, delete a client directly in the menu by using the buttons next to the name.
108
+
109
+ #### Configure permissions for ITSM modules
110
+
111
+ On the top navigation bar you can select the menu you need to configure. In the sub navigation bar you see the available sections.
112
+ You can add new fields or constants using the "+" button on the upper right corner of the table, or edit and remove fields and constants using the pencil or trash buttons.
113
+
114
+
115
+ #### Configure permissions for CMDB classes
116
+ If you need to specify a fields for any class other than BaseElement you can use the "Add Class +" and add the Class of your choice.
117
+ You just need to Enter the Name without prefix. For example "ComputerSystem"
118
+ Then specify the fields the same way as above.
119
+
120
+ To remove a class, just hide the trash icon next to the class name.
121
+
122
+ ### Configure client using ITSM Wizard
123
+ If you need to send tickets to this client use the ITSM Wizard to configure this client in itsm and smartit.
124
+
125
+ Select the ITSM Wizard in the left hand navigation to open the ITSM Wizard.
126
+ Specify the
127
+
128
+ Vendor
129
+ Vendor Organization
130
+ Vendor Group
131
+ for the ITSM Suite and choose for which modules you want to enable this client.
132
+
133
+ ### Export / Import Mapping and Clients
134
+
135
+ Open Export / Import Section on the left and use the download button to save the config to your local drive.
136
+ Use the upload button to upload a local file to smileconnect.
137
+
138
+ ## Use Custom AI Job Templates
139
+
140
+ We provide custom AI Job templates for outbound communication for
141
+ incident
142
+ change
143
+ worklog
144
+ problem
145
+
146
+ those templates include error handling. For each module we provide two transformation.
147
+ One for Ticket Modify Event, one for the Worklog Event
148
+
149
+ This section will explain the usage of the template using change as example.
150
+
151
+ 1. Save the template with a different name before you use it
152
+ 2. open Get CHG_Modified Events and speficy the VendorID in the Qualification
153
+ 3. open Set URLs and change Url to your SSO URL and UrlCHG to your Endpoint
154
+ 4. Open Change Lookup step and provide all Fields in the return from lookup table section you need
155
+ 5. Implement your mapping if needed. Use Map Status and Map Prio as samples.
156
+ 6. If you are using OAUTH2 you can use the HTTP Post Step to get the token.
157
+ 7. Open the "Create Ouput" to create the output you need (json sample is included)
158
+ 8. "Rest Client" Step is a sample for the output, change it to the step you need. Rest, Soap, etc.
159
+ 9. There is a dummy step, for the update, if the ticket has already been send.
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
@@ -0,0 +1,19 @@
1
+ # Prepare your environment for the SMILEconnect installation
2
+
3
+ # SSO environment
4
+
5
+ 1. If you are already running an OIDC System create a new realm for SMILEconnect. if not you can setup for example Keykloak.
6
+ 2. For each of your interfaces create a client with credential
7
+ 3. Create a client with credentials for the SMILEconnect-Eventmanager
8
+ 4. Create a client with implicit flow for SMILEconnectGUI and set the web-origin URL to your SMILEconnectGUI URL
9
+ 5. Get the public certificate from your SSO Realm
10
+
11
+
12
+ # Docker
13
+ 1. Setup docker and docker-compose on your liunx server
14
+ 2. Setup your server to access https://\*.docker.io/\* and https://\*.docker.com/\*
15
+ 3. Login to the docker-environment with the docker-hub user we provided to you.
16
+
17
+ docker login <username>
18
+
19
+
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>SMILEconnect API Specification</title>
5
+ <!-- needed for adaptive design -->
6
+ <meta charset="utf-8"/>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
9
+
10
+ <!--
11
+ ReDoc doesn't change outer page styles
12
+ -->
13
+ <style>
14
+ body {
15
+ margin: 0;
16
+ padding: 0;
17
+ }
18
+ </style>
19
+ </head>
20
+ <body>
21
+ <redoc spec-url='https://smileconnect.manyosdocs.de/openapi.json'></redoc>
22
+ <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
23
+ </body>
24
+ </html>
@@ -0,0 +1,110 @@
1
+ # Name of the property. You can have multiple properties with completely
2
+ # different config blocks for different sections of your site.
3
+ # For example, you can have one property to handle comment submission and
4
+ # another one to handle posts.
5
+ # To encrypt strings use the following endpoint:
6
+ # https://{STATICMAN API INSTANCE}/v3/encrypt/{TEXT TO BE ENCRYPTED}
7
+ # {STATICMAN API INSTANCE} should match the `endpoint` in the theme config
8
+ # file. It defaults to "staticman3.herokuapp.com".
9
+
10
+ comments:
11
+ # (*) REQUIRED
12
+ #
13
+ # Names of the fields the form is allowed to submit. If a field that is
14
+ # not here is part of the request, an error will be thrown.
15
+ allowedFields: ["name", "email", "url", "message"]
16
+
17
+ # (*) REQUIRED WHEN USING NOTIFICATIONS
18
+ #
19
+ # When allowedOrigins is defined, only requests sent from one of the domains
20
+ # listed will be accepted. The origin is sent as part as the `options` object
21
+ # (e.g. <input name="options[origin]" value="http://yourdomain.com/post1")
22
+ # allowedOrigins: ["https://example.com"]
23
+
24
+ # (*) REQUIRED
25
+ #
26
+ # Name of the branch being used. Must match the `branch` in the theme config
27
+ # file.
28
+ branch: "master" # use "master" for user page or "gh-pages" for project pages
29
+
30
+ commitMessage: "New comment by {fields.name}"
31
+
32
+ # (*) REQUIRED
33
+ #
34
+ # Destination path (filename) for the data files. Accepts placeholders.
35
+ filename: "comment-{@timestamp}"
36
+
37
+ # The format of the generated data files. Accepted values are "json", "yaml"
38
+ # or "frontmatter"
39
+ format: "yaml"
40
+
41
+ # List of fields to be populated automatically by Staticman and included in
42
+ # the data file. Keys are the name of the field. The value can be an object
43
+ # with a `type` property, which configures the generated field, or any value
44
+ # to be used directly (e.g. a string, number or array)
45
+ generatedFields:
46
+ date:
47
+ type: "date"
48
+ options:
49
+ format: "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
50
+
51
+ # Whether entries need to be approved before they are published to the main
52
+ # branch. If set to `true`, a pull request will be created for your approval.
53
+ # Otherwise, entries will be published to the main branch automatically.
54
+ moderation: false
55
+
56
+ # Akismet spam detection.
57
+ # akismet:
58
+ # enabled: true
59
+ # author: "name"
60
+ # authorEmail: "email"
61
+ # authorUrl: "url"
62
+ # content: "message"
63
+ # type: "comment"
64
+
65
+ # Name of the site. Used in notification emails.
66
+ # name: "Your Site"
67
+
68
+ # Notification settings. When enabled, users can choose to receive notifications
69
+ # via email when someone adds a reply or a new comment. This requires an account
70
+ # with Mailgun, which you can get for free at http://mailgun.com.
71
+ # notifications:
72
+ # Enable notifications
73
+ # enabled: true
74
+
75
+ # (!) ENCRYPTED
76
+ #
77
+ # Mailgun API key
78
+ # apiKey: ""
79
+
80
+ # (!) ENCRYPTED
81
+ #
82
+ # Mailgun domain (encrypted)
83
+ # domain: ""
84
+
85
+ # (*) REQUIRED
86
+ #
87
+ # Destination path (directory) for the data files. Accepts placeholders.
88
+ path: "_data/comments/{options.slug}" # (default)
89
+
90
+ # Names of required files. If any of these isn't in the request or is empty,
91
+ # an error will be thrown.
92
+ requiredFields: ["name", "email", "message"]
93
+
94
+ # List of transformations to apply to any of the fields supplied. Keys are
95
+ # the name of the field and values are possible transformation types.
96
+ transforms:
97
+ email: md5
98
+
99
+ # reCAPTCHA (OPTIONAL)
100
+ # To enable reCAPTCHA:
101
+ # 1. Set `enabled` to `true`
102
+ # 2. Register your domain at https://www.google.com/recaptcha/ and choose reCAPTCHA V2
103
+ # 3. Uncomment `siteKey` and `secret` and fill them in with your values
104
+ reCaptcha:
105
+ enabled: false
106
+ #siteKey: ""
107
+ # ENCRYPT reCaptcha secret key using Staticman /encrypt endpoint
108
+ # i.e. https://{STATICMAN API INSTANCE}/v3/encrypt/{your-site-secret}
109
+ # For more information, visit https://staticman.net/docs/encryption
110
+ #secret: ""
package/docs/tags.html ADDED
@@ -0,0 +1,34 @@
1
+ ---
2
+ layout: page
3
+ title: 'Tag Index'
4
+ ---
5
+
6
+ {%- capture site_tags -%}
7
+ {%- for tag in site.tags -%}
8
+ {{- tag | first -}}{%- unless forloop.last -%},{%- endunless -%}
9
+ {%- endfor -%}
10
+ {%- endcapture -%}
11
+ {%- assign tags_list = site_tags | split:',' | sort -%}
12
+
13
+ {%- for tag in tags_list -%}
14
+ <a href="#{{- tag -}}" class="btn btn-primary tag-btn"><i class="fa fa-tag" aria-hidden="true"></i>&nbsp;{{- tag -}}&nbsp;({{site.tags[tag].size}})</a>
15
+ {%- endfor -%}
16
+
17
+ <div id="full-tags-list">
18
+ {%- for tag in tags_list -%}
19
+ <h2 id="{{- tag -}}" class="linked-section">
20
+ <i class="fa fa-tag" aria-hidden="true"></i>
21
+ &nbsp;{{- tag -}}&nbsp;({{site.tags[tag].size}})
22
+ </h2>
23
+ <div class="post-list">
24
+ {%- for post in site.tags[tag] -%}
25
+ <div class="tag-entry">
26
+ <a href="{{ post.url | relative_url }}">{{- post.title -}}</a>
27
+ <div class="entry-date">
28
+ <time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: "%B %d, %Y" -}}</time>
29
+ </div>
30
+ </div>
31
+ {%- endfor -%}
32
+ </div>
33
+ {%- endfor -%}
34
+ </div>
@@ -0,0 +1,127 @@
1
+
2
+ # SMILEconnect Workflow
3
+
4
+
5
+
6
+ ## Onboarding Wizard
7
+ The SMILEconnect onboarding wizard handels everything you need for a new Vendor.
8
+
9
+ The Activelinks running on the Form: MYS:SMILEconnect_NewVendor
10
+
11
+ Create Entries in the following Forms:
12
+
13
+ COM:Company
14
+ SPG:Support Group
15
+ MYS:SMILEconnect_Vendors
16
+ SMT:SmartIT_ProviderAction_Template
17
+ SMT:SmartIT_ProviderAction_TemplateMapping
18
+ SMT:SmartIT_ProviderAction_Definition
19
+ SMT:SmartIT_ProviderAction_Definition_Properties
20
+
21
+
22
+ For the modules **Change, Workorder, Incident** you just need to refresh the SmartIT metadata.
23
+
24
+ For the module **Problem** you need to create an provider action in smart-it with the action name: SentToSMILEconnect_< Vendorname >
25
+
26
+
27
+ ## Workflow for Tickets
28
+ The following illustration will show the Workflow for Tickets and Worklogs:
29
+
30
+ ![Workflow Illustration](img/workflow.png)
31
+
32
+
33
+ ## Workflow for Ticketregistration
34
+
35
+ The following filters will register the ticket for SMILEconnect, and will send it to the vendor:
36
+
37
+ **Incident:**
38
+
39
+ MYS:SMILEconnect_MarkasSMILEconnect_INC
40
+ MYS:SMILEconnect_MarkasSMILEconnect_INC_Error
41
+ MYS:SMILEconnect_MarkasSMILEconnect_INC_CheckVendors
42
+
43
+
44
+ **Workorder:**
45
+
46
+ MYS:SMILEconnect_MarkasSMILEconnect_WOI
47
+ MYS:SMILEconnect_MarkasSMILEconnect_WOI_Error
48
+ MYS:SMILEconnect_MarkasSMILEconnect_WOI_CheckVendors
49
+
50
+ **Change:**
51
+
52
+ MYS:SMILEconnect_MarkasSMILEconnect_CM
53
+ MYS:SMILEconnect_MarkasSMILEconnect_CM_CheckVendors
54
+ MYS:SMILEconnect_MarkasSMILEconnect_CM_Error
55
+
56
+ **Problem:**
57
+
58
+ MYS:SMILEconnect_PBM_SetError
59
+ MYS:SMILEconnect_PBM_Actions
60
+ MYS:SMILEconnect_PBM_SetVendor
61
+ MYS:SMILEconnect_PBM_CheckVendor
62
+
63
+ After the ticket is registert for SMILEconnect the following filters will monitor Modifications on the tickets and Worklogs:
64
+
65
+ **Incident:**
66
+
67
+ MYS:SMILEconnect_Queue_INC_Modifed_Incident
68
+ MYS:SMILEconnect_Queue_INC_Modifed_WorkInfo
69
+
70
+ **Workorder:**
71
+
72
+ MYS:SMILEconnect_Queue_WO_Modifed_WorkOrder
73
+ MYS:SMILEconnect_Queue_WO_Modifed_WorkInfo
74
+
75
+ **Change:**
76
+
77
+ MYS:SMILEconnect_Queue_CHG_Modifed_Change
78
+ MYS:SMILEconnect_Queue_CHG_Modifed_WorkInfo
79
+
80
+ **Problem:**
81
+
82
+ MYS:SMILEconnect_Queue_PBM_Modifed_Problem
83
+ MYS:SMILEconnect_Queue_PBM_Modifed_WorkInfo
84
+
85
+ Additional there is the form "MYS:SMILEconnect_WorkInfo_Checker" which will check if the ticket is registered and the worklog type is correct.
86
+
87
+ **Incident:**
88
+
89
+ MYS:SMILEconnect_WorkInfo_Checker_Check_Incident
90
+ MYS:SMILEconnect_WorkInfo_Checker_Check_Incident2
91
+
92
+ **Workorder:**
93
+
94
+ MYS:SMILEconnect_WorkInfo_Checker_Check_WorkOrder
95
+ MYS:SMILEconnect_WorkInfo_Checker_Check_WorkOrder2
96
+
97
+ **Change:**
98
+
99
+ MYS:SMILEconnect_WorkInfo_Checker_Check_Change
100
+ MYS:SMILEconnect_WorkInfo_Checker_Check_Change2
101
+
102
+ **Problem:**
103
+
104
+ MYS:SMILEconnect_WorkInfo_Checker_Check_Problem
105
+ MYS:SMILEconnect_WorkInfo_Checker_Check_Problem2
106
+
107
+
108
+
109
+ Workflow for ticket unregistration
110
+
111
+ The unregistration will be handled by the following filters:
112
+
113
+ **Incident:**
114
+
115
+ MYS:SMILEconnect_INC_UnregisterSMILEconnect
116
+
117
+ **Workorder:**
118
+
119
+ MYS:SMILEconnect_WOI_UnregisterSMILEconnect
120
+
121
+ **Change:**
122
+
123
+ MYS:SMILEconnect_CM_UnregisterSMILEconnect
124
+
125
+ **Problem:**
126
+
127
+ MYS:SMILEconnect_PBM_UnregisterSMILEconnect
package/nodemon.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "ignore": ["conf/*.json", "Config"]
3
+ }
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@manyos/smileconnect-api",
3
+ "version": "1.28.0",
4
+ "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
+ "main": "app.js",
6
+ "scripts": {
7
+ "test-bak": "mocha --exit || true",
8
+ "start": "version=$npm_package_version node app.js",
9
+ "test": "jenkins-mocha --exit || true"
10
+ },
11
+ "author": "Robert Hannemann",
12
+ "license": "ISC",
13
+ "dependencies": {
14
+ "@manyos/logger": "^1.3.0",
15
+ "bunyan": "^1.8.15",
16
+ "bunyan-express-serializer": "^1.0.0",
17
+ "compression": "^1.7.4",
18
+ "cors": "^2.8.4",
19
+ "dotenv": "^4.0.0",
20
+ "express": "^4.17.1",
21
+ "express-fileupload": "^1.2.1",
22
+ "express-rate-limit": "^5.2.6",
23
+ "express-request-id": "^1.4.1",
24
+ "express-validator": "^5.3.1",
25
+ "moment": "^2.29.1",
26
+ "mongoose": "^5.12.1",
27
+ "node-cache": "^4.2.1",
28
+ "only": "0.0.2",
29
+ "p-limit": "^2.3.0",
30
+ "passport": "^0.4.1",
31
+ "passport-http-bearer": "^1.0.1",
32
+ "passport-jwt": "^4.0.0",
33
+ "request": "^2.88.2",
34
+ "request-promise": "^4.2.6",
35
+ "request-promise-native": "^1.0.9",
36
+ "socket.io": "^2.4.1",
37
+ "uuid": "^3.4.0",
38
+ "vm2": "^3.9.2"
39
+ },
40
+ "devDependencies": {
41
+ "chai": "^4.3.4",
42
+ "chai-http": "^4.3.0",
43
+ "jenkins-mocha": "^8.0.0",
44
+ "mocha": "^5.2.0"
45
+ }
46
+ }