投稿時間:2023-02-08 23:24:04 RSSフィード2023-02-08 23:00 分まとめ(27件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS lambdaタグが付けられた新着投稿 - Qiita Amplifyを使用してReact(Figma)とLambdaアプリケーションを爆速で作る https://qiita.com/ryome/items/e70f7d192efa67524df9 amplify 2023-02-08 22:54:51
python Pythonタグが付けられた新着投稿 - Qiita ffmpegの処理中にtkinterのプログレスバーを表示させる(その2: 出力表示の改良) https://qiita.com/ytakeda-paleo/items/c93ef9e1776414a0b263 ffmpeg 2023-02-08 22:54:21
python Pythonタグが付けられた新着投稿 - Qiita Db2 Warehouse on CloudのREST APIを使用したデータロード (python & curl) https://qiita.com/nishikyon/items/3cf88857245a6d084b63 ampcurldbwarehouseoncloud 2023-02-08 22:31:20
python Pythonタグが付けられた新着投稿 - Qiita YouTubeAPIのレスポンス値を新規ファイルに書き込んで保存する https://qiita.com/wooooo/items/bc60e6e69b670e0a7791 print 2023-02-08 22:16:32
Linux Ubuntuタグが付けられた新着投稿 - Qiita 最小構成 Java JDK の導入 https://qiita.com/hiroxpepe/items/8650664e466906a57996 gtwslversionwsl 2023-02-08 22:03:19
AWS AWSタグが付けられた新着投稿 - Qiita Amplifyを使用してReact(Figma)とLambdaアプリケーションを爆速で作る https://qiita.com/ryome/items/e70f7d192efa67524df9 amplify 2023-02-08 22:54:51
AWS AWSタグが付けられた新着投稿 - Qiita AWS AppFlow 「エラー処理」の設定について https://qiita.com/miriwo/items/911a341840334541ac7e appflow 2023-02-08 22:13:32
golang Goタグが付けられた新着投稿 - Qiita DDDとは?GOとは?って状態からAPIのユニットテストをつくってみた https://qiita.com/tauemo/items/740bae6e63a6f8ba0bec 状態 2023-02-08 22:22:11
海外TECH MakeUseOf 6 Ways Technology Can Help You Avoid Cancer Risk Factors https://www.makeuseof.com/technology-reduce-cancer-risk-factors/ factors 2023-02-08 13:45:17
海外TECH MakeUseOf The Best Smart Dehumidifiers https://www.makeuseof.com/best-smart-dehumidifiers/ dehumidifier 2023-02-08 13:45:17
海外TECH MakeUseOf Should Freelancers Outsource Their Work? https://www.makeuseof.com/should-freelancers-outsource-work/ freelancers 2023-02-08 13:30:16
海外TECH MakeUseOf How to Make a Simple Job Tracker on Google Sheets https://www.makeuseof.com/job-tracker-google-sheets/ sheets 2023-02-08 13:15:16
海外TECH DEV Community Chaining API Tests to Handle Complex Distributed System Testing https://dev.to/kubeshop/chaining-api-tests-to-handle-complex-distributed-system-testing-1i5a Chaining API Tests to Handle Complex Distributed System Testing​Distributed system testing is complicated ​In this blog post you ll learn how to create tests to validate complex user processes that require multiple API endpoints to be called in a particular sequence ​With traditional testing you need to configure multiple dependencies and manually create scripts to glue these API calls into a test suite ​With Tracetest you can build integration tests that assert against your distributed traces Tracetest Transactions simplify creating transactions with multiple tests that can validate a complex user process with observability traces ​​I implemented these transactions in the Tracetest repo here so you can use a real example for your own implementation ​ Multistep Tests are Hard to Build​To verify the outcome of a complex user process through a backend test you need to run multiple API calls in sequence This is complex to set up because you need to configure dependencies for each API in the sequence These tests end up being expensive in terms of time and resources ​Imagine you are developing a Web Store and you need to test the process of a user buying products To complete the entire process the user chooses a product in the store and adds it to a shopping cart perhaps multiple times with different products The user then goes to a checkout screen and adds payment info to complete the purchase ​To simulate this process you need to use two use cases together ​Add a product to a shopping cart ​Use case Add product to shopping cart ​As a consumerI want to choose a product from the catalogAnd add it to my shopping cartSo I can continue to explore the catalog to fulfill my shopping list ​Complete the checkout ​Use case Checkout order ​As a consumer after choosing productsI want to pay for all products in my shopping cartSo I can ship them to my address and use them ​Initially it seems simple First create a test that calls the API that implements the first use case Then validate the second use case and check if the outcome is correct The outcome you want is to have a paid order with the correct products and the shipping data filled like this ​def user purchase user data product id cart id add product to cart api user data product id return checkout order api user data cart id ​def test user purchase user data setup cart api setup checkout api ​ order id user purchase user data product id ​ assert has product on order order id product id assert is order paid order id assert is shipping data filled order id user data ​However as you are building the test you discover two problems ​Each API is written in a different language The APIs have dependencies to set up Since you have access to the source code of these services there are two options available for your tests ​To mock the API calls and assume that the APIs will reply with the expected response and test only if the user purchase process chains both use cases correctly Try to containerize both APIs with Docker Compose or even inside the code with a test container lib and set the data and dependencies for each API ​The first approach guarantees that your process is working at a high level and is faster to build and maintain but due to the mocks this test needs to capture any underlying change that could be made on each API The second approach improves this test by effectively testing the APIs together which guarantees more reliability to the test but at the cost of knowing or learning some internals of each API and spending more time to set them up ​It is a difficult trade off where either option has its advantages and disadvantages You want to run these tests as fast and effectively as possible So you wonder Is there an easier way to do these tests ​After examining the options you discover that both your API that handles the user process and the Cart and Checkout API have one thing in common Observability tools are enabled and you can observe the entire process through tracing tools like Jaeger What if we test these integrations by tapping into this infrastructure ​ Testing Using your Observability Infrastructure​By having an observability infrastructure gather information about a set of API microservices we can have a concise view of the operation of these services and start thinking in an observability driven way to test your software ​Tracetest can help When given an API endpoint Tracetest checks observability traces to see if this API is behaving as intended ​For example let s try to test an OpenTelemetry Astronomy Store which has the exact same use cases that we want to check ​To test the Add product to the shopping cart task we can create a test define a URL and payload in the trigger section that we send to the Cart API and use the specs to define our assertions checking if the API was called with the correct Product ID and if this product was persisted correctly ​type Testspec id RPQ okog name Add product to the cart description Add a selected product to user shopping cart trigger type http httpRequest url http otel store demo frontend api cart method POST headers key Content Type value application json body item productId OLJCESPCZ quantity userId f f ddaf specs selector span tracetest span type http name hipstershop CartService AddItem checking if the correct ProductID was sent assertions attr app product id OLJCESPCZ selector span tracetest span type database name HMSET db system redis db redis database index checking if the product was persisted correctly on the shopping cart assertions attr tracetest selected spans count gt ​We can run this test in Tracetest s Web UI or with the CLI with this command ​tracetest test run d path of test yml wait for result​The result will look like this ​​A similar test is used for checking out the product cart creating another test for the Checkout API similar to this ​type Testspec id PGinTg name Checking out shopping cart description Checking out shopping cart trigger type http httpRequest url http otel store demo frontend api checkout method POST headers key Content Type value application json body userId f f ddaf email someone example com address streetAddress Amphitheatre Parkway state CA country United States city Mountain View zipCode userCurrency USD creditCard creditCardCvv creditCardExpirationMonth creditCardExpirationYear creditCardNumber specs selector span tracetest span type rpc name hipstershop CheckoutService PlaceOrder rpc system grpc rpc method PlaceOrder rpc service hipstershop CheckoutService assertions checking if a order was placed attr app user id f f ddaf attr app order items count selector span tracetest span type rpc name hipstershop PaymentService Charge rpc system grpc rpc method Charge rpc service hipstershop PaymentService assertions checking if the user was charged attr rpc grpc status code attr tracetest selected spans count gt selector span tracetest span type rpc name hipstershop ShippingService ShipOrder rpc system grpc rpc method ShipOrder rpc service hipstershop ShippingService assertions checking if the product was shipped attr rpc grpc status code attr tracetest selected spans count gt selector span tracetest span type rpc name hipstershop CartService EmptyCart rpc system grpc rpc method EmptyCart rpc service hipstershop CartService assertions checking if the cart was set empty attr rpc grpc status code attr tracetest selected spans count gt ​However these tests are not chained into a transaction That s up next ​ Chaining Tests with Transactions​So far you ve only learned how to test each endpoint in a specific condition Can you test the entire process of calling the Cart API and then the Checkout API in sequence like in the Python code above ​With Tracetest the answer is Yes You can use two Tracetest features Transactions which allow you to chain tests and run them as a unique test suite and Environments which allow you to set up variables and use them across the tests With both features you can structure the test as the test user purchase function at the beginning of our article Here s how ​​With a transaction you can chain tests to run in sequence marking it as “successful if all tests are successful or marking it as “failed if any test in the sequence failed In Tracetest you can define this transaction ​type Transactionspec id VUgoVR name User purchasing products description Simulate a process of a user purchasing products on Astronomy store steps RPQ okog Test ID of Add product to the cart PGinTg Test ID of Checking out shopping cart ​After defining a transaction you can refactor the tests to use environment variables and define them to serve as test inputs Test inputs can be changed on test runs The definition can be set like this ​type Environmentspec id user buying products env name User buying Products Env description Environment for the process User buying products values key CART API URL value http otel store demo frontend api cart key CHECKOUT API URL value http otel store demo frontend api checkout key PRODUCT ID value OLJCESPCZ key USER ID value f f ddaf​Or if you re using the Tracetest CLI they can be set as a dotenv file which can be sent to the transaction execution like this ​ contents in env fileCART API URL http otel store demo frontend api cartCHECKOUT API URL http otel demo v frontend api checkoutPRODUCT ID OLJCESPCZUSER ID f f ddaf​ execution on CLItracetest test run e env d path of transaction yml wait for result​At the end of the transaction run we will have a view like this showing how this “Purchase process was structured and tested ​​ Conclusion​By using your observability infrastructure Tracetest allows you to build complex and deep system tests in a simpler way It uses declarative language that helps you create assertions against the behavior of an API more quickly ​With transactions you can chain tests and check how APIs work together to determine if they are working as intended providing valuable feedback to the teams that maintain those APIs ​Recently at Tracetest we started using transactions to test our own engine making a sequence of tests to guarantee that each feature is working effectively You can see more details about our implementation of transactions here ​Ready to build more complex chained tests against your microservice based app Download and install Tracetest into either Docker or Kubernetes select what trace data store you are using to collect and store your distributed traces and get started in just minutes ​The Tracetest team is eager to hear from you reach out to us in our Discord channel or create a GitHub issue for any additional capability you need If you like what we are doing please give us a star at github com kubeshop tracetest 2023-02-08 13:05:41
海外TECH DEV Community Here Are Websites Where You Can Find Your Client https://dev.to/mrdanishsaleem/here-are-websites-where-you-can-find-your-client-31gb Here Are Websites Where You Can Find Your ClientTotal Upwork Design hill PeoplerPerHour Dice Remoteok Freelancer Authentic Jobs X Team Simply Hired UpStack Borderless Mind LinkedIn Top Coder Workana Flex Jobs Nexxt Fiverr Hub Staff Hired Guru Gun NOTE If you found this help Like and share Thanks Happy Learning Let s connect You can follow me on Twitter Instagram LinkedIn amp GitHub Support MeIf you like this post Kindly support me by Buying Me a Coffee 2023-02-08 13:04:50
Apple AppleInsider - Frontpage News Apple-led ARM computer sales resilient, as PC industry declines https://appleinsider.com/articles/23/02/08/apple-led-arm-computer-sales-resilient-as-pc-industry-declines?utm_medium=rss Apple led ARM computer sales resilient as PC industry declinesNew research says that ARM based computers including Apple Silicon are doing fairly well in a collapsing global PC market as the market does a slow shift away from Intel based processors Apple began its move to ARM based M and M processors in abandoning Intel and dramatically improving the Mac Since that launch ARM has seen a buyout offer proposed then abandoned Later an initial public offeringwas proposed and potentially blocked ARM is still working toward that possible IPO in In the meantime Counterpoint Research says that the use of the company s technology is going to increase ーand also be more resilient than the rest of the industry Read more 2023-02-08 13:50:15
Apple AppleInsider - Frontpage News Oukitel Abearl P5000 & P5000 Pro home backup power generators offer power in a light package https://appleinsider.com/articles/23/02/08/oukitel-abearl-p5000-p5000-pro-home-backup-power-generators-offer-power-in-a-light-package?utm_medium=rss Oukitel Abearl P amp P Pro home backup power generators offer power in a light packageThe Oukitel Abearl P Pro and P home backup power generators are great ways to get through a powercut or for off grid vacations and they re launching on Kickstarter Use the Oukitel Abearl P Pro for power when camping Keeping the lights on at home is highly important during an emergency especially if you have devices that you simply don t want to turn off at all Having an alternative power supply is crucial in such cases Read more 2023-02-08 13:38:39
海外TECH Engadget UK competition watchdog says Microsoft’s Activision merger ‘could harm’ gamers https://www.engadget.com/uks-competition-watchdog-says-microsofts-activision-merge-could-harm-uk-gamers-132410352.html?src=rss UK competition watchdog says Microsoft s Activision merger could harm gamersThe UK s competition authority has found that Microsoft s proposed billion acquisition of Activision Blizzard could result in a quot substantial lessening of competition in gaming consoles quot and quot could harm UK gamers quot In a provisional finding the Competition Markets Authority CMA said that Activision may need to be split up into separate businesses for the merger to proceed nbsp The government said it conducted a wide ranging probe over the last five months to determine the deal s potential impact Noting that Microsoft already accounts for percent of global cloud gaming services it said that buying Activision would quot reinforce this strong position quot and substantially reduce Microsoft s competition in cloud gaming That in turn could quot potentially harm UK gamers particularly those who cannot afford or do not want to buy an expensive gaming console or gaming PC quot nbsp The CMA said that the deal may work if Activision Blizzard divested parts of its business Namely it could split out either the Activision and or Blizzard segments or the business that operates its biggest franchise Call of Duty CoD The idea it said would be to leave assets quot capable of competing effectively under separate ownership quot with the new business In response Microsoft said it has already addressed the CMA s concerns over competition quot We are committed to offering effective and easily enforceable solutions that address the CMA s concerns quot Microsoft corporate VP and deputy general counsel Rima Alaily told Engadget in a statement quot Our commitment to grant long term percent equal access to Call of Duty to Sony Nintendo Steam and others preserves the deal s benefits to gamers and developers and increases competition in the market quot First announced last year the merger would allow Microsoft to add titles like Call of Duty to its already impressive suite of games The deal ran afoul of regulators from the get go though over concerns that it would block out Sony s PS and other consoles from key games particularly CoD Rival Sony vehemently opposes the deal having called it a quot game changer that poses a threat to our industry quot nbsp Last September the CMA announced it was launching an anti trust investigation into the deal The US Federal Trade Commission has also sued to block the takeover and the EU is set to make a decision on April th with a statement of objections nbsp Microsoft said at the time that the CMA s concerns were misplaced and that its arguments were based on quot self serving statements by Sony quot In November it confirmed that it would support Call of Duty on PlayStation quot forever quot and promised to bring it to Nintendo s Switch consoles and Steam as well nbsp Microsoft now has until February nd to address the CMA s concerns with a final report from the regulator due April th quot Our job is to make sure that UK gamers are not caught in the crossfire of global deals that over time could damage competition and result in higher prices fewer choices or less innovation We have provisionally found that this may be the case here quot said Martin Coleman who chaired a panel of independent experts conducting the probe nbsp 2023-02-08 13:24:10
Cisco Cisco Blog Transforming IT Modernization https://blogs.cisco.com/government/transforming-it-modernization Transforming IT ModernizationGovernment agencies need modern Information Technology systems and infrastructure to deliver innovative secure and cost effective mission and business outcomes Unfortunately emphasizing modernization with only a small portion of the IT budget artificially restricts governments ability to transform Learn how this new Optimization Modernization approach can become the catalyst for innovation by using technology to shape deliver and continuously enhance future governmental agency capabilities services and mission and business outcomes 2023-02-08 13:00:54
海外TECH CodeProject Latest Articles How to Convert an Instant to LocalDateTime or LocalDate or LocalTime in Java https://www.codeproject.com/Articles/5354046/How-to-Convert-an-Instant-to-LocalDateTime-or-Loca localdate 2023-02-08 13:43:00
ニュース @日本経済新聞 電子版 マクドナルド2期ぶり最高益へ 23年12月期、値上げ課題 https://t.co/xyAqgVDOaK https://twitter.com/nikkei/statuses/1623319426883010561 最高 2023-02-08 13:54:45
ニュース @日本経済新聞 電子版 ウクライナ大統領が訪英 スナク首相、戦闘機訓練を提案 https://t.co/XfDaWW1BS2 https://twitter.com/nikkei/statuses/1623314921575579648 首相 2023-02-08 13:36:51
ニュース @日本経済新聞 電子版 ワクチン年1回へ、卒業式はマスクなし容認 政府調整 https://t.co/2HWzed5kUg https://twitter.com/nikkei/statuses/1623312136410914888 政府 2023-02-08 13:25:47
ニュース @日本経済新聞 電子版 国内コロナ感染、新たに4万1249人 累計3286万5406人 https://t.co/LV5S83G0vU https://twitter.com/nikkei/statuses/1623309801378955264 累計 2023-02-08 13:16:30
ニュース BBC News - Home Putin 'supplied' MH17 missile - investigators https://www.bbc.co.uk/news/world-europe-64566297?at_medium=RSS&at_campaign=KARANGA ukraine 2023-02-08 13:27:06
ニュース BBC News - Home Nicola Bulley: Friend unhappy with search area 'tourists' https://www.bbc.co.uk/news/uk-england-lancashire-64567476?at_medium=RSS&at_campaign=KARANGA media 2023-02-08 13:30:46
ニュース BBC News - Home UK regulator opposes Microsoft deal to buy Activision https://www.bbc.co.uk/news/technology-64570890?at_medium=RSS&at_campaign=KARANGA markets 2023-02-08 13:54:27
ニュース BBC News - Home Freedom will win, Volodymyr Zelensky tells UK Parliament https://www.bbc.co.uk/news/uk-politics-64571526?at_medium=RSS&at_campaign=KARANGA fighter 2023-02-08 13:45:29

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)