@openfn/language-maximo 0.3.2 → 0.3.4
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.
- package/README.md +6 -9
- package/configuration-schema.json +28 -38
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,17 +4,14 @@ Language Pack for building expressions and operations to access IBM Maximo EAM.
|
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Configuration
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
View all the required and optional properties for `state.configuration` in the
|
|
10
|
+
official
|
|
11
|
+
[configuration-schema](https://docs.openfn.org/adaptors/packages/maximo-configuration-schema/)
|
|
12
|
+
definition.
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
"username": "taylor",
|
|
14
|
-
"password": "supersecret",
|
|
15
|
-
"baseUrl": "https://maximo-demo76.mro.com"
|
|
16
|
-
}
|
|
17
|
-
```
|
|
14
|
+
### Fetch
|
|
18
15
|
|
|
19
16
|
#### sample 'fetch' expression
|
|
20
17
|
|
|
@@ -1,41 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"https://maximo-demo76.mro.com"
|
|
12
|
-
]
|
|
13
|
-
},
|
|
14
|
-
"username": {
|
|
15
|
-
"title": "Username",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Maximo instance username",
|
|
18
|
-
"minLength": 1,
|
|
19
|
-
"examples": [
|
|
20
|
-
"test@openfn.org"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"password": {
|
|
24
|
-
"title": "Password",
|
|
25
|
-
"type": "string",
|
|
26
|
-
"description": "Maximo instance password",
|
|
27
|
-
"writeOnly": true,
|
|
28
|
-
"minLength": 1,
|
|
29
|
-
"examples": [
|
|
30
|
-
"@some(!)passowrd"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"properties": {
|
|
4
|
+
"baseUrl": {
|
|
5
|
+
"title": "Base URL",
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "Maximo instance base URL",
|
|
8
|
+
"format": "uri",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"examples": ["https://maximo-demo76.mro.com"]
|
|
33
11
|
},
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
12
|
+
"username": {
|
|
13
|
+
"title": "Username",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Maximo instance username",
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"examples": ["test@openfn.org"]
|
|
18
|
+
},
|
|
19
|
+
"password": {
|
|
20
|
+
"title": "Password",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Maximo instance password",
|
|
23
|
+
"writeOnly": true,
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"examples": ["@some(!)passowrd"]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"type": "object",
|
|
29
|
+
"additionalProperties": true,
|
|
30
|
+
"required": ["baseUrl", "username", "password"]
|
|
41
31
|
}
|