Hi, David,
I wonder if the problem is that there is a specific version hardcoded in Dockerfile:
FROM node:8.17.0-alpine3.9 as node
I am not familiar with node. Should the FROM line be updated? What is a good replacement?
- Log in to post comments
Hi, David,
I wonder if the problem is that there is a specific version hardcoded in Dockerfile:
FROM node:8.17.0-alpine3.9 as node
I am not familiar with node. Should the FROM line be updated? What is a good replacement?
I am trying docker pull node and will use that image it retrieves
I also used nginx latest image. The build for web image failed again
Hi, Michael,
I am interested to see how this can be solved in a good way. First thing came to my mind was to have a more generic table than teapot so multiple categories can be in one table. Then category can be one of the parameters to query on. I like to develop an example we can improve upon.
Are you willing to share your configuration / definition / code?
I looked for an example of API first and I found this app on OpenExchange:
https://github.com/drechema/iris-explorer
It did not build in my AWS environment ...
I started my own version of it and imported phoneapp which can be found here:
Thank you, David, for your responses. I wonder why it did not build in my AWS environment. Maybe I will try it again with your repo and see if it still fails if I can capture any errors.
Hello, David, it looks like you get a nice small image.
I use a AWS free tier account. My screen seems to get stuck and all I can see is this:
Step 5/10 : RUN npm install
---> Running in 58ae96e0c62a
> node-sass@4.10.0 install /usr/src/app/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.10.0/linux_musl-…
Download complete
Binary saved to /usr/src/app/node_modules/node-sass/vendor/linux_musl-x64-57/binding.node
Caching binary to /root/.npm/node-sass/4.10.0/linux_musl-x64-57_binding.node
> circular-json@0.5.7 postinstall /usr/src/app/node_modules/circular-json
> echo ''; echo "\x1B[1mCircularJSON\x1B[0m is in \x1B[4mmaintenance only\x1B[0m, \x1B[1mflatted\x1B[0m is its successor."; echo ''
\x1B[1mCircularJSON\x1B[0m is in \x1B[4mmaintenance only\x1B[0m, \x1B[1mflatted\x1B[0m is its successor.
> node-sass@4.10.0 postinstall /usr/src/app/node_modules/node-sass
> node scripts/build.js
Binary found at /usr/src/app/node_modules/node-sass/vendor/linux_musl-x64-57/binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1474 packages from 1384 contributors and audited 1611 packages in 53.388s
found 407 vulnerabilities (15 low, 122 moderate, 200 high, 70 critical)
run `npm audit fix` to fix them, or `npm audit` for details
Removing intermediate container 58ae96e0c62a
---> 4b0022ce43ef
Step 6/10 : COPY . .
---> ede198788bb5
Step 7/10 : RUN npm run build
---> Running in 7007e62b7eb2
> iris-explorer@1.1.0 build /usr/src/app
> ng build --prod
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
It appears to me that User.Person class does NOT have Age property
I think you got the methods reversed. To connect using the key pair you should use this method:
set sc = ssh.AuthenticateWithKeyPair("sftpuser","/path/to/id_rsa.pub","/path/to/p_id_rsa","")
I have tested this and it works
Is the private key file "id_rsa" or "p_id_rsa"?
Are the key files in "/path/to/" directory?
I claim YouTube Video bonus for interoperability-test. I have added the link in GitHub ReadMe. Does that automatically update on Open Exchange or do I need to make a new release?
I wonder how some apps have a link on Open Exchange to vote in the contest?
Hello, Craig.
Have you seen my app production-monitor? You can find it on InterSystems Open Exchange
If you find it useful, consider voting in the Interoperability contest.
Thanks,
Oliver
Probably look at GetHostInfo in class User.ProductionMonitor:
https://github.com/oliverwilms/production-monitor/blob/main/src/User/Pr…
I just published an article about interoperability-soap here:
https://community.intersystems.com/post/background-story-around-interop…
I was not able to edit the app on Open Exchange to put the Article link there :-(
How did you define your test method?
Hello, Thembelani,
I have implemented a similar case in this app:
https://github.com/oliverwilms/irisrest/blob/master/src/App/REST.cls#:~…
Important helper method is this:
/// Helper method
ClassMethod GetJSONFromRequest(Output obj As %DynamicObject) As %Boolean
{
Set ok = 1
Try {
Set obj = ##class(%DynamicObject).%FromJSON(%request.Content)
} Catch ex {
Set ok = 0
}
Quit ok
}
Best regards,
Oliver
I think you get a WRITE error, because it is not really connecting. Does the external REST API receive your request?
From Production Configuration page in Management Portal, you can click any service, process, or operation. Look for Actions tab in right side of the screen, and click on Change Class.
I would like to help you. Can you provide a production configuration to reproduce?
Hi, Robert, you show DC members in your listing. Are there InterSystems employees in the list who do not qualify to win prize money? Just wondering how high I would have to climb to earn a prize ...
I don't think you will lose your routines. You can export them if you want to be double covered.
That would be okay in my mind if that were specified somewhere I see it. I was unhappy when I realized my input cube had been cut up differently from the example shown.
Sometimes the IKO wants to scale down our compute stateful set while the Interoperability productions are processing messages. A compute will shut down before it empties its queues and we do not see in Message Bank all messages that were processed before the shutdown. I wonder if anybody wrote code to prevent accepting more messages (stop incoming services) and process what is in queues including Message Bank operation queue which could be called before the actual shutdown (preStop hook)?
I would not create record mapper unless you want to make sure the data is in correct format. If you already have record maps defined I see no issue using them.
I created a BPL and read one line at a time. I tried updating data line in code without DTL. I get an error instead of seeing output file. Please take a look in git repo here (just start the production and look for messages from File Passthrough Service):
https://github.com/oliverwilms/interoperability-update-datafile
Hard to help without seeing the actual calculation code
I am pretty sure that the task needs to completely finish before the next iteration can start. Task manager will not run the same task twice in parallel. The running task will not be stopped just because another iteration is scheduled.
I believe there is a default length for the Read. If you pass in a number large enough or larger, it will read up to the length you specify. I see no harm in having a very large number.
When I click on Docs, it does not work.
Thanks, Eduard. I do not need to close the file with file.close()?