@itentialopensource/adapter-bitbucket 0.3.5 → 0.3.6

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/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 0.3.6 [03-12-2022]
3
+
4
+ * Updated sample properties
5
+
6
+ See merge request itentialopensource/adapters/devops-netops/adapter-bitbucket!7
7
+
8
+ ---
9
+
2
10
  ## 0.3.5 [03-12-2022]
3
11
 
4
12
  * Patch/adapt 1925
package/README.md CHANGED
@@ -102,10 +102,10 @@ This section defines **all** the properties that are available for the adapter,
102
102
  {
103
103
  "id": "ALL ADAPTER PROPERTIES!!!",
104
104
  "properties": {
105
- "host": "system.access.resolved",
105
+ "host": "api.bitbucket.org",
106
106
  "port": 443,
107
- "base_path": "/",
108
- "version": "v1",
107
+ "base_path": "",
108
+ "version": "2.0",
109
109
  "cache_location": "local",
110
110
  "encode_pathvars": true,
111
111
  "save_metric": true,
@@ -115,12 +115,12 @@ This section defines **all** the properties that are available for the adapter,
115
115
  "auth_method": "basic user_password",
116
116
  "username": "username",
117
117
  "password": "password",
118
- "token": "token",
118
+ "token": "",
119
119
  "invalid_token_error": 401,
120
120
  "token_timeout": 0,
121
121
  "token_cache": "local",
122
- "auth_field": "header.headers.X-AUTH-TOKEN",
123
- "auth_field_format": "{token}",
122
+ "auth_field": "header.headers.Authorization",
123
+ "auth_field_format": "Basic {b64}{username}:{password}{/b64}",
124
124
  "auth_logging": false
125
125
  },
126
126
  "healthcheck": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-bitbucket",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "This adapter integrates with system described as: bitbucket.",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
Binary file
@@ -3,24 +3,24 @@
3
3
  "type": "Bitbucket",
4
4
  "properties": {
5
5
  "host": "api.bitbucket.org",
6
- "port": 80,
7
- "base_path": "/api",
8
- "version": "v2.0",
6
+ "port": 443,
7
+ "base_path": "",
8
+ "version": "2.0",
9
9
  "cache_location": "none",
10
10
  "encode_pathvars": true,
11
11
  "save_metric": true,
12
12
  "stub": true,
13
13
  "protocol": "https",
14
14
  "authentication": {
15
- "auth_method": "no_authentication",
15
+ "auth_method": "basic user_password",
16
16
  "username": "username",
17
17
  "password": "password",
18
18
  "token": "",
19
19
  "token_timeout": 180000,
20
20
  "token_cache": "local",
21
21
  "invalid_token_error": 401,
22
- "auth_field": "header.headers.Cookie",
23
- "auth_field_format": "Token {token}",
22
+ "auth_field": "header.headers.Authorization",
23
+ "auth_field_format": "Basic {b64}{username}:{password}{/b64}",
24
24
  "auth_logging": false,
25
25
  "client_id": "",
26
26
  "client_secret": "",