Skip to content

Commit 7d0c24d

Browse files
reggeenrqu1queee
authored andcommitted
Updated the readme
1 parent e8a94f1 commit 7d0c24d

File tree

2 files changed

+6
-32
lines changed

2 files changed

+6
-32
lines changed

README.md

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,6 @@ is demonstrating.
111111
- [auth](auth)<br>
112112
This shows how to setup an nginx proxy in-front of a private application
113113
to ensure that only authorized people can access it.
114-
- [bash](bash)<br>
115-
This shows how you can create an application from a bash script without
116-
the need to write your own HTTP server.
117114
- [bind-app](bind-app)<br>
118115
This will create an instance of Event Streams in the IBM Cloud and then ask
119116
Code Engine to bind it to an Application so we can access it from the App.
@@ -122,9 +119,6 @@ is demonstrating.
122119
Show how to invoke the Code Engine CLI from within an App. This can be used
123120
to then start additional Code Engine resources (Apps/Jobs) dynamically.
124121
Same logic could be used in Batch Jobs.
125-
- [private](private)<br>
126-
Show how to create a "private" application that is only accessible from
127-
within the project (no external/internet access).
128122
- [sessions](sessions)<br>
129123
Starts a stateful application that scales based on load. The state is kept
130124
in an instance of Redis, also running within Code Engine. Demonstrates the
@@ -133,20 +127,13 @@ is demonstrating.
133127
Shows how to interact with an Application via WebSockets.
134128

135129
#### Batch Jobs
136-
- [job](job)<br>
137-
This will create a Batch Job that will print basic debugging information to
138-
the logs, and then show those logs. It'll create the Batch Job with and
139-
without a Job definition to show both options.
140-
- [testjob](testjob)<br>
130+
- [helloworld](helloworld)<br>
141131
This is another simple Batch Job sample, similar to the previous one, but
142132
shows how to use environment variables to modify the behavior of the runtime
143133
of the job.
144134
- [cronjob](cronjob)<br>
145135
This will create a Batch Job that will be invoked based on a cron
146136
event. Meaning, it'll be executed based on a timer.
147-
- [app-n-job](app-n-job)<br>
148-
This will use the same image for both an Application and a Batch Job.
149-
Just to show that it's possible.
150137
- [app2job](app2job)<br>
151138
This will show how to submit a Job from an Application based on an incoming
152139
HTTP request to the Application.
@@ -181,16 +168,6 @@ is demonstrating.
181168
- [function-http-python](helloworld-samples/function-http-python)
182169
This example shows how to create Python functions which can perfome a http request without additional modules
183170

184-
#### Source-to-Image
185-
- [s2i-buildpacks](s2i-buildpacks)<br>
186-
This will show how to use the source-to-image feature of Code Engine to
187-
build an Application from a git repo (using a Buildpack), push it to a
188-
private registry, and then deploy an Application using that image.
189-
- [s2i-dockerfile](s2i-dockerfile)<br>
190-
This will show how to use the source-to-image feature of Code Engine to
191-
build an Application from a git repo (using a Dockerfile), push it to a
192-
private registry, and then deploy an app using that image.
193-
194171
#### Eventing
195172
- [cron](cron)<br>
196173
This will show how to setup a simple Cron Event Source and send
@@ -201,18 +178,15 @@ is demonstrating.
201178
- [cos-event](cos-event)<br>
202179
This will show how to setup a COS Event Source and send its events to
203180
an Application.
204-
- [cos2cos](cos2cos)<br>
205-
This will show how you can use eventing to monitor changes in a Cloud
206-
Object Storage bucket, and then act on those changes by processing any
207-
new files in the bucket and then uploading a new object into a secondary
208-
bucket. It can also get Cron events to periodically check for missed
209-
files.
210181
- [github](github)<br>
211182
This sample will show how to get events from Github (via its webhooks)
212183
delivered to a Code Engine Application.
213184
- [kafka](kafka)<br>
214185
This sample shows how to create a Kafka subscription to automatically have
215186
messages in a Kafka instances delivered to an application.
187+
- [kafka-observer](kafka)<br>
188+
This provides a sample implementation of the observer pattern,
189+
which is a native approach to consume Kafka messages in IBM Cloud Code Engine.
216190
- [cloudant-change-listener](cloudant-change-listener)<br>
217191
This is a sample of a Cloudant Databases changes listener that continously
218192
listen on all changes in a database. For each change a Code Engine function
@@ -259,7 +233,7 @@ followed is:
259233

260234
## Additional Resources
261235

262-
- [IBM Cloud Code Engine](https://ibm.com/cloud/code-engine)
236+
- [IBM Cloud Code Engine](https://www.ibm.com/products/code-engine)
263237
- For questions/comments join us on Slack:<br>
264238
[Register](https://cloud.ibm.com/kubernetes/slack) |
265239
[Login](https://ibm-cloud-success.slack.com/) and join us on the

thumbnail/v2/Dockerfile.job

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ RUN CGO_ENABLED=0 go build -o /go/bin/job job.go
66

77
# Copy the exe into a smaller base image
88
FROM gcr.io/distroless/static-debian12
9-
COPY --from=build-env /go/bin/app /
9+
COPY --from=build-env /go/bin/job /
1010
ENTRYPOINT ["/job"]

0 commit comments

Comments
 (0)