Skip to content

Commit 6b3d17f

Browse files
Merge pull request #24 from i2-open/0.6-dev
Revised verison numbers to 0.6.0-Alpha
2 parents 388dafd + d48d799 commit 6b3d17f

File tree

3 files changed

+136
-137
lines changed

3 files changed

+136
-137
lines changed

i2scim-core/src/main/java/com/independentid/scim/protocol/ConfigResponse.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import com.independentid.scim.core.err.ForbiddenException;
2222
import com.independentid.scim.core.err.NotFoundException;
2323
import com.independentid.scim.core.err.ScimException;
24-
import com.independentid.scim.resource.ComplexValue;
2524
import com.independentid.scim.resource.ScimResource;
2625
import com.independentid.scim.schema.ResourceType;
2726
import com.independentid.scim.schema.Schema;
@@ -52,8 +51,8 @@ public class ConfigResponse extends ListResponse {
5251

5352
/**
5453
* Builds a SCIM response based on the internal SCIM operational configuration (rather than pulled from backend)
55-
* @param ctx The {@link RequestCtx} object containing the GET request (either by URL or by POST .search)
56-
* @param configMgr The system {@link ConfigMgr} object containing the operational configuration and schema
54+
* @param ctx The {@link RequestCtx} object containing the GET request (either by URL or by POST .search)
55+
* @param configMgr The system {@link ConfigMgr} object containing the operational configuration and schema
5756
* @param maxResults The maximum number of results that may be returned.
5857
*/
5958
public ConfigResponse(RequestCtx ctx, ConfigMgr configMgr, int maxResults) {
@@ -117,7 +116,7 @@ public ConfigResponse(RequestCtx ctx, ConfigMgr configMgr, int maxResults) {
117116

118117
for (Schema sch : smgr.getSchemas()) {
119118
try {
120-
if(sch.getId().equals(ScimParams.SCHEMA_SCHEMA_Common))
119+
if (sch.getId().equals(ScimParams.SCHEMA_SCHEMA_Common))
121120
continue;
122121
this.entries.add(new ScimResource(smgr, sch.toJsonNode(), ScimParams.PATH_TYPE_SCHEMAS));
123122
} catch (ParseException | ScimException e) {
@@ -237,7 +236,7 @@ public void serializeServiceProviderConfig(RequestCtx ctx, JsonGenerator gen) th
237236
// Identify the server
238237
gen.writeStringField("ProductName", "Independent Identity i2scim Directory");
239238
//gen.writeStringField("ProductId", "BigDirectory");
240-
gen.writeStringField("ProductVersion", "V0.5.0-Alpha");
239+
gen.writeStringField("ProductVersion", "V0.6.0-Alpha");
241240

242241

243242
/* Not defined in standard schema.

pkg-i2scim-prov-memory/4-i2scim-memory-deploy.yml

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
prometheus.io/path: /metrics
1010
labels:
1111
app.kubernetes.io/name: i2scim-mem
12-
app.kubernetes.io/version: 0.5.0-Alpha
12+
app.kubernetes.io/version: 0.6.0-Alpha
1313
name: i2scim-mem
1414
namespace: scim-mem
1515
---
@@ -23,17 +23,17 @@ metadata:
2323
prometheus.io/path: /metrics
2424
labels:
2525
app.kubernetes.io/name: i2scim-mem
26-
app.kubernetes.io/version: 0.5.0-Alpha
26+
app.kubernetes.io/version: 0.6.0-Alpha
2727
name: i2scim-mem
2828
namespace: scim-mem
2929
spec:
3030
ports:
31-
- name: http
32-
port: 8080
33-
targetPort: 8080
31+
- name: http
32+
port: 8080
33+
targetPort: 8080
3434
selector:
3535
app.kubernetes.io/name: i2scim-mem
36-
app.kubernetes.io/version: 0.5.0-Alpha
36+
app.kubernetes.io/version: 0.6.0-Alpha
3737
type: LoadBalancer
3838
---
3939
apiVersion: rbac.authorization.k8s.io/v1
@@ -46,8 +46,8 @@ roleRef:
4646
apiGroup: rbac.authorization.k8s.io
4747
name: view
4848
subjects:
49-
- kind: ServiceAccount
50-
name: i2scim-mem
49+
- kind: ServiceAccount
50+
name: i2scim-mem
5151
---
5252
apiVersion: apps/v1
5353
kind: Deployment
@@ -59,15 +59,15 @@ metadata:
5959
prometheus.io/path: /metrics
6060
labels:
6161
app.kubernetes.io/name: i2scim-mem
62-
app.kubernetes.io/version: 0.5.0-Alpha
62+
app.kubernetes.io/version: 0.6.0-Alpha
6363
name: i2scim-mem
6464
namespace: scim-mem
6565
spec:
6666
replicas: 1
6767
selector:
6868
matchLabels:
6969
app.kubernetes.io/name: i2scim-mem
70-
app.kubernetes.io/version: 0.5.0-Alpha
70+
app.kubernetes.io/version: 0.6.0-Alpha
7171
template:
7272
metadata:
7373
annotations:
@@ -77,66 +77,66 @@ spec:
7777
prometheus.io/path: /metrics
7878
labels:
7979
app.kubernetes.io/name: i2scim-mem
80-
app.kubernetes.io/version: 0.5.0-Alpha
80+
app.kubernetes.io/version: 0.6.0-Alpha
8181
namespace: scim-mem
8282
spec:
8383
containers:
84-
- env:
85-
- name: KUBERNETES_NAMESPACE
86-
valueFrom:
87-
fieldRef:
88-
fieldPath: metadata.namespace
89-
envFrom:
90-
- secretRef:
91-
name: i2scim-root
92-
- configMapRef:
93-
name: i2scim-mem-config
94-
image: independentid/i2scim-mem:0.5.0-Alpha
95-
imagePullPolicy: Always
96-
livenessProbe:
97-
failureThreshold: 3
98-
httpGet:
99-
path: /q/health/live
100-
port: 8080
101-
scheme: HTTP
102-
initialDelaySeconds: 0
103-
periodSeconds: 30
104-
successThreshold: 1
105-
timeoutSeconds: 10
106-
name: i2scim-mem
107-
ports:
108-
- containerPort: 8080
109-
name: http
110-
protocol: TCP
111-
readinessProbe:
112-
failureThreshold: 3
113-
httpGet:
114-
path: /q/health/ready
115-
port: 8080
116-
scheme: HTTP
117-
initialDelaySeconds: 5
118-
periodSeconds: 30
119-
successThreshold: 1
120-
timeoutSeconds: 10
121-
volumeMounts:
122-
- mountPath: /config
123-
name: configschema
124-
readOnly: true
125-
subPath: ""
126-
- mountPath: /scim
127-
name: i2scim-pvc
128-
readOnly: false
129-
subPath: ""
84+
- env:
85+
- name: KUBERNETES_NAMESPACE
86+
valueFrom:
87+
fieldRef:
88+
fieldPath: metadata.namespace
89+
envFrom:
90+
- secretRef:
91+
name: i2scim-root
92+
- configMapRef:
93+
name: i2scim-mem-config
94+
image: independentid/i2scim-mem:0.6.0-Alpha
95+
imagePullPolicy: Always
96+
livenessProbe:
97+
failureThreshold: 3
98+
httpGet:
99+
path: /q/health/live
100+
port: 8080
101+
scheme: HTTP
102+
initialDelaySeconds: 0
103+
periodSeconds: 30
104+
successThreshold: 1
105+
timeoutSeconds: 10
106+
name: i2scim-mem
107+
ports:
108+
- containerPort: 8080
109+
name: http
110+
protocol: TCP
111+
readinessProbe:
112+
failureThreshold: 3
113+
httpGet:
114+
path: /q/health/ready
115+
port: 8080
116+
scheme: HTTP
117+
initialDelaySeconds: 5
118+
periodSeconds: 30
119+
successThreshold: 1
120+
timeoutSeconds: 10
121+
volumeMounts:
122+
- mountPath: /config
123+
name: configschema
124+
readOnly: true
125+
subPath: ""
126+
- mountPath: /scim
127+
name: i2scim-pvc
128+
readOnly: false
129+
subPath: ""
130130
imagePullSecrets:
131-
- name: regcred
131+
- name: regcred
132132
serviceAccount: i2scim-mem
133133
volumes:
134-
- configMap:
135-
defaultMode: 292
136-
name: i2scim-config-schema
137-
optional: false
138-
name: configschema
139-
- name: i2scim-pvc
140-
persistentVolumeClaim:
141-
claimName: i2scim-pvc
142-
readOnly: false
134+
- configMap:
135+
defaultMode: 292
136+
name: i2scim-config-schema
137+
optional: false
138+
name: configschema
139+
- name: i2scim-pvc
140+
persistentVolumeClaim:
141+
claimName: i2scim-pvc
142+
readOnly: false

0 commit comments

Comments
 (0)